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.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.2.tar.gz (7.9 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.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: NLP AutoML-0.2.tar.gz
  • Upload date:
  • Size: 7.9 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.8.7

File hashes

Hashes for NLP AutoML-0.2.tar.gz
Algorithm Hash digest
SHA256 8121b2addb0d638c90d801bba2cb3ed2b6e5cedbd3f71aa7dc52aeaa45ada2cc
MD5 9bcd15beb74320a756eeb3c20f9570fb
BLAKE2b-256 3d377e104081350c9629f9939ab1e2d88121dfde0767053d9a06fb31e5903f1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: NLP_AutoML-0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.8.7

File hashes

Hashes for NLP_AutoML-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28da4330915ace65d4dc4b3f161017f3e4cf240637ff18fb31c6121f0f54354b
MD5 da67bf3bd8ee1218728c3143f69cbf34
BLAKE2b-256 2ec9939dba4d65ec4f9289ff06039aa99065550ed03a8027a04f9bb38450854d

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