Skip to main content

A lightweight automl library

Project description

PyPI version Downloads License: GPL v3 Python 3.6 PRs Welcome Maintenance

CutoML is a lightweight automl library, highly optimized to give you the best possible model depending on your datasets very quickly.

Installation

pip install -U cutoml

Usage Example

For classification,

from cutoml.cutoml import CutoClassifier
from sklearn.model_selection import train_test_split
from sklearn import datasets

dataset = datasets.load_digits()
X_train, X_test, y_train, y_test = train_test_split(dataset.data,
                                                    dataset.target,
                                                    test_size=0.25)

ctc = CutoClassifier(k_folds=5, n_jobs=2)
ctc.fit(X=X_train, y=y_train)

For regression,

from cutoml.cutoml import CutoRegressor
from sklearn.model_selection import train_test_split
from sklearn import datasets

dataset = datasets.load_boston()
X_train, X_test, y_train, y_test = train_test_split(dataset.data,
                                                    dataset.target,
                                                    test_size=0.25)

ctr = CutoRegressor(k_folds=5, n_jobs=2)
ctr.fit(X=X_train, y=y_train)

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

cutoml-0.0.11.tar.gz (19.3 kB view details)

Uploaded Source

File details

Details for the file cutoml-0.0.11.tar.gz.

File metadata

  • Download URL: cutoml-0.0.11.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for cutoml-0.0.11.tar.gz
Algorithm Hash digest
SHA256 a06dad3598f3255872b6c0b75ae16fe6eb629a299f2ee3421eafa342316e0840
MD5 4cf0381e8fb4c894871c13fb12ab3714
BLAKE2b-256 955b74ea0daa2d475c841a8afceeac4ccb915ac27c2b3dae0da0415d93eb0824

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