AutoML library for solving text -> label task
Project description
AutoML NLP library
use to find baseline in text to label task
Usage
from sklearn.metrics import accuracy_score
from nlp_automl.auto_ml_pipeline import AutoMLPipeline
config = {
'text_column': 'message',
'target_column': 'intent',
'dataset': dataset,
'evaluator': accuracy_score,
}
automl = AutoMLPipeline(config=config)
best_params, pipeline = automl.find_solution(timeout=200)
preprocessor, vectorizer, model = pipeline
More detailed usage example ./examples/intent_prediction.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
NLP AutoML-0.0.tar.gz
(5.4 kB
view details)
File details
Details for the file NLP AutoML-0.0.tar.gz.
File metadata
- Download URL: NLP AutoML-0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c542800255482bcad870e2c7668bc5d62d7d3b45da3b30134dfcce6e1ee590fa
|
|
| MD5 |
d06b9c48174f653f1affcd4b96730d16
|
|
| BLAKE2b-256 |
2bde4ffe877c1d44fdbb5e7c7f4456cfce05e5f1ab52af30ee3612980b8d309e
|