Metadata-Version: 2.1
Name: NLP-AutoML
Version: 0.3
Summary: AutoML library for solving text -> label task
Home-page: UNKNOWN
Author: salaxieb
Author-email: salaxieb.ildar@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: fasttext (==0.9.2)
Requires-Dist: numpy (==1.21.4)
Requires-Dist: pymystem3 (==0.2.0)
Requires-Dist: charset-normalizer (==2.0.7) ; python_full_version >= "3.6.0" and python_version >= "3"
Requires-Dist: pandas (==1.3.4) ; python_full_version >= "3.7.1"
Requires-Dist: python-dateutil (==2.8.2) ; python_full_version >= "3.7.1"
Requires-Dist: pytz (==2021.3) ; python_full_version >= "3.7.1"
Requires-Dist: six (==1.16.0) ; python_full_version >= "3.7.1"
Requires-Dist: typing-extensions (==3.10.0.2) ; python_version < "3.8" and python_version >= "3.6"
Requires-Dist: importlib-metadata (==4.8.1) ; python_version < "3.8" and python_version >= "3.6" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.6.0" and python_version >= "3.6" and python_version < "3.8")
Requires-Dist: importlib-resources (==5.4.0) ; python_version < "3.9" and python_version >= "3.6"
Requires-Dist: zipp (==3.6.0) ; python_version < "3.9" and python_version >= "3.6"
Requires-Dist: certifi (==2021.10.8) ; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0"
Requires-Dist: requests (==2.26.0) ; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0"
Requires-Dist: urllib3 (==1.26.7) ; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version < "4"
Requires-Dist: pybind11 (==2.8.1) ; python_version >= "2.7" and python_version < "3.0" or python_version > "3.0" and python_version < "3.1" or python_version > "3.1" and python_version < "3.2" or python_version > "3.2" and python_version < "3.3" or python_version > "3.3" and python_version < "3.4" or python_version > "3.4"
Requires-Dist: greenlet (==1.1.2) ; python_version >= "3" and python_full_version < "3.0.0" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") or python_version >= "3" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") and python_full_version >= "3.5.0"
Requires-Dist: idna (==3.3) ; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5"
Requires-Dist: alembic (==1.7.4) ; python_version >= "3.6"
Requires-Dist: autopage (==0.4.0) ; python_version >= "3.6"
Requires-Dist: click (==8.0.3) ; python_version >= "3.6"
Requires-Dist: cliff (==3.9.0) ; python_version >= "3.6"
Requires-Dist: cmaes (==0.8.2) ; python_version >= "3.6"
Requires-Dist: cmd2 (==2.2.0) ; python_version >= "3.6"
Requires-Dist: colorlog (==6.5.0) ; python_version >= "3.6"
Requires-Dist: nltk (==3.6.5) ; python_version >= "3.6"
Requires-Dist: optuna (==2.10.0) ; python_version >= "3.6"
Requires-Dist: packaging (==21.2) ; python_version >= "3.6"
Requires-Dist: pbr (==5.7.0) ; python_version >= "3.6"
Requires-Dist: prettytable (==2.4.0) ; python_version >= "3.6"
Requires-Dist: pyperclip (==1.8.2) ; python_version >= "3.6"
Requires-Dist: pyyaml (==6.0) ; python_version >= "3.6"
Requires-Dist: regex (==2021.11.2) ; python_version >= "3.6"
Requires-Dist: stevedore (==3.5.0) ; python_version >= "3.6"
Requires-Dist: wcwidth (==0.2.5) ; python_version >= "3.6"
Requires-Dist: colorama (==0.4.4) ; python_version >= "3.6" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" or sys_platform == "win32" and python_version >= "3.6" and python_full_version >= "3.5.0" and platform_system == "Windows"
Requires-Dist: pyparsing (==2.4.7) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6"
Requires-Dist: mako (==1.1.5) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
Requires-Dist: markupsafe (==2.0.1) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
Requires-Dist: tqdm (==4.62.3) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
Requires-Dist: attrs (==21.2.0) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
Requires-Dist: sqlalchemy (==1.4.26) ; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
Requires-Dist: joblib (==1.1.0) ; python_version >= "3.7"
Requires-Dist: scikit-learn (==1.0.1) ; python_version >= "3.7"
Requires-Dist: threadpoolctl (==3.0.0) ; python_version >= "3.7"
Requires-Dist: scipy (==1.7.2) ; python_version >= "3.7" and python_version < "3.11"
Requires-Dist: pyreadline (==2.1) ; sys_platform == "win32" and python_version < "3.8" and python_version >= "3.6"
Requires-Dist: pyreadline3 (==3.3) ; sys_platform == "win32" and python_version >= "3.8"
Provides-Extra: dev
Requires-Dist: fasttext (==0.9.2) ; extra == 'dev'
Requires-Dist: numpy (==1.21.4) ; extra == 'dev'
Requires-Dist: pymystem3 (==0.2.0) ; extra == 'dev'
Requires-Dist: tox (==3.24.4) ; ((python_version >= "2.7" and python_full_version < "3.0.0") or python_full_version >= "3.5.0") and extra == 'dev'
Requires-Dist: charset-normalizer (==2.0.7) ; (python_full_version >= "3.6.0" and python_version >= "3") and extra == 'dev'
Requires-Dist: isort (==5.10.0) ; (python_full_version >= "3.6.1" and python_version < "4.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: black (==21.10b0) ; (python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: pathspec (==0.9.0) ; (python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: pandas (==1.3.4) ; (python_full_version >= "3.7.1") and extra == 'dev'
Requires-Dist: python-dateutil (==2.8.2) ; (python_full_version >= "3.7.1") and extra == 'dev'
Requires-Dist: pytz (==2021.3) ; (python_full_version >= "3.7.1") and extra == 'dev'
Requires-Dist: six (==1.16.0) ; (python_full_version >= "3.7.1") and extra == 'dev'
Requires-Dist: typed-ast (==1.4.3) ; (python_version < "3.8" and python_version >= "3.6" and python_full_version >= "3.6.2" and implementation_name == "cpython") and extra == 'dev'
Requires-Dist: importlib-resources (==5.4.0) ; (python_version < "3.9" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: distlib (==0.3.3) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") and extra == 'dev'
Requires-Dist: virtualenv (==20.10.0) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") and extra == 'dev'
Requires-Dist: backports.entry-points-selectable (==1.1.0) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "2.7") and extra == 'dev'
Requires-Dist: certifi (==2021.10.8) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0") and extra == 'dev'
Requires-Dist: requests (==2.26.0) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0") and extra == 'dev'
Requires-Dist: urllib3 (==1.26.7) ; (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version < "4") and extra == 'dev'
Requires-Dist: pybind11 (==2.8.1) ; (python_version >= "2.7" and python_version < "3.0" or python_version > "3.0" and python_version < "3.1" or python_version > "3.1" and python_version < "3.2" or python_version > "3.2" and python_version < "3.3" or python_version > "3.3" and python_version < "3.4" or python_version > "3.4") and extra == 'dev'
Requires-Dist: greenlet (==1.1.2) ; (python_version >= "3" and python_full_version < "3.0.0" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") or python_version >= "3" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") and python_full_version >= "3.5.0") and extra == 'dev'
Requires-Dist: mypy (==0.910) ; (python_version >= "3.5") and extra == 'dev'
Requires-Dist: idna (==3.3) ; (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5") and extra == 'dev'
Requires-Dist: mypy-extensions (==0.4.3) ; (python_version >= "3.5" and python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: alembic (==1.7.4) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: autopage (==0.4.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: cliff (==3.9.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: cmaes (==0.8.2) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: cmd2 (==2.2.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: colorlog (==6.5.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: iniconfig (==1.1.1) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: nltk (==3.6.5) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: optuna (==2.10.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: pbr (==5.7.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: prettytable (==2.4.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: pyperclip (==1.8.2) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: pytest (==6.2.5) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: pyyaml (==6.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: stevedore (==3.5.0) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: wcwidth (==0.2.5) ; (python_version >= "3.6") and extra == 'dev'
Requires-Dist: colorama (==0.4.4) ; (python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" and python_version < "4.0" and sys_platform == "win32" or python_full_version >= "3.5.0" and platform_system == "Windows" and python_version >= "3.6" and python_version < "4.0" and sys_platform == "win32") and extra == 'dev'
Requires-Dist: zipp (==3.6.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: importlib-metadata (==4.8.1) ; (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.6.0" and python_version < "3.8" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: toml (==0.10.2) ; (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version >= "3.6" and python_version < "4.0") and extra == 'dev'
Requires-Dist: wrapt (==1.13.3) ; (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.5.0") and extra == 'dev'
Requires-Dist: lazy-object-proxy (==1.6.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.0") and extra == 'dev'
Requires-Dist: atomicwrites (==1.4.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.6" and python_full_version >= "3.4.0") and extra == 'dev'
Requires-Dist: pyparsing (==2.4.7) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: mako (==1.1.5) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: markupsafe (==2.0.1) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: tqdm (==4.62.3) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: attrs (==21.2.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: filelock (==3.3.2) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: packaging (==21.2) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: pluggy (==1.0.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: py (==1.11.0) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: sqlalchemy (==1.4.26) ; (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: click (==8.0.3) ; (python_version >= "3.6" and python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: regex (==2021.11.2) ; (python_version >= "3.6" and python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: tomli (==1.2.2) ; (python_version >= "3.6" and python_full_version >= "3.6.2") and extra == 'dev'
Requires-Dist: typing-extensions (==3.10.0.2) ; (python_version >= "3.6" and python_version < "3.8" and python_full_version >= "3.6.2" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "3.8" or python_full_version >= "3.5.0" and python_version < "3.8" and python_version >= "3.6")) and extra == 'dev'
Requires-Dist: astroid (==2.8.4) ; (python_version >= "3.6" and python_version < "4.0") and extra == 'dev'
Requires-Dist: mccabe (==0.6.1) ; (python_version >= "3.6" and python_version < "4.0") and extra == 'dev'
Requires-Dist: pylint (==2.11.1) ; (python_version >= "3.6" and python_version < "4.0") and extra == 'dev'
Requires-Dist: platformdirs (==2.4.0) ; (python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.2" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6")) and extra == 'dev'
Requires-Dist: joblib (==1.1.0) ; (python_version >= "3.7") and extra == 'dev'
Requires-Dist: scikit-learn (==1.0.1) ; (python_version >= "3.7") and extra == 'dev'
Requires-Dist: threadpoolctl (==3.0.0) ; (python_version >= "3.7") and extra == 'dev'
Requires-Dist: scipy (==1.7.2) ; (python_version >= "3.7" and python_version < "3.11") and extra == 'dev'
Requires-Dist: pyreadline (==2.1) ; (sys_platform == "win32" and python_version < "3.8" and python_version >= "3.6") and extra == 'dev'
Requires-Dist: pyreadline3 (==3.3) ; (sys_platform == "win32" and python_version >= "3.8") and extra == 'dev'

## AutoML NLP library
use to find baseline in text to label task

[Source code](https://github.com/salaxieb/NLP_AutoML)


#### Usage
```python
from sklearn.metrics import accuracy_score

from nlp_automl import AutoMLPipeline

task = {
    'text_column': 'description',  # required
    'target_column': 'user_type',  # required
    'dataset': dataset,  # required
    'use_label_encoder': True,  # Optional, default: True
    'evaluator': accuracy_score,  # required
    'fit_pipeline': True, # Optional, default: True
}
automl = AutoMLPipeline()
best_params, pipeline = automl.find_solution(task=task, timeout=200)
preprocessor, vectorizer, model = pipeline
```
More detailed usage example [./examples/intent_prediction.py](https://github.com/salaxieb/NLP_AutoML/blob/master/examples/intent_predictition.py)


