Skip to main content

AutoML library for solving text -> label task

Project description

AutoML NLP library

use to find baseline in text to label task

Source code

Usage

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

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.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

NLP_AutoML-0.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file NLP AutoML-0.3.tar.gz.

File metadata

  • Download URL: NLP AutoML-0.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 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

Hashes for NLP AutoML-0.3.tar.gz
Algorithm Hash digest
SHA256 97a85762aa849aaf36ef42c34a9a9f59f2893520f0ff4985162f427e2e7238d5
MD5 c13113ee908cf3261d4b4ef9751d0cae
BLAKE2b-256 43360fd4f1dcd5bd844ac9efe95d4af0957b3cd5a2245448fbccb51b1e454cc3

See more details on using hashes here.

File details

Details for the file NLP_AutoML-0.3-py3-none-any.whl.

File metadata

  • Download URL: NLP_AutoML-0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 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

Hashes for NLP_AutoML-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd49fb458b8b67b7a107380963e1f40e225202bb3585b1941843a22fc859fdb0
MD5 2df503e95861bc310dd5df2f72e20e8e
BLAKE2b-256 ac6f7dbe4a88f768b87c402dfc2ec33ffc7880a86324233c4a660771b8892d9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page