Skip to main content

A lightweight automl library

Project description

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

A lightweight automl library.

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.2)

ctc = CutoClassifier(k_folds=3, n_jobs=-1, verbose=1)
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.2)

ctr = CutoRegressor(k_folds=3, n_jobs=-1, verbose=1)
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.9.post12.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file cutoml-0.0.9.post12.tar.gz.

File metadata

  • Download URL: cutoml-0.0.9.post12.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.7

File hashes

Hashes for cutoml-0.0.9.post12.tar.gz
Algorithm Hash digest
SHA256 cbd3a1013fc46c083dd075b45f28530ffac7b46ee63f2ed6e29e308a0f44f302
MD5 81f6c0b719216e7ecf2a4dd4a917cab4
BLAKE2b-256 7f43a8404036db286972c1b4b01098f66267c9b91a9bff19f6d7d3b05f7a0504

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