Skip to main content

Automated Machine Learning for Supervised tasks

Project description

mljar-supervised

Build Status PyPI version PyPI pyversions

Automated Machine Learning

mljar-supervised is Automated Machine Learning package. It can train ML models for:

  • binary classification,
  • multi-class classification,
  • regression.

Quick example

There is simple interface available with fit and predict methods.

import pandas as pd
from supervised.automl import AutoML

df = pd.read_csv("https://raw.githubusercontent.com/pplonski/datasets-for-start/master/adult/data.csv", skipinitialspace=True)

X = df[df.columns[:-1]]
y = df["income"]

automl = AutoML()
automl.fit(X, y)

predictions = automl.predict(X)

For details please check AutoML API Docs.

Installation

From source code:

git clone https://github.com/mljar/mljar-supervised.git
cd mljar-supervised
python setup.py install

From PyPi repository (PyPi can be not updated, it is better to install from source):

pip install mljar-supervised

Installation for development

git clone https://github.com/mljar/mljar-supervised.git
virtualenv venv --python=python3.6
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements_dev.txt

Project details


Release history Release notifications | RSS feed

This version

0.3.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mljar-supervised-0.3.1.tar.gz (43.3 kB view details)

Uploaded Source

File details

Details for the file mljar-supervised-0.3.1.tar.gz.

File metadata

  • Download URL: mljar-supervised-0.3.1.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for mljar-supervised-0.3.1.tar.gz
Algorithm Hash digest
SHA256 937cce5bab66b327858a9d27f445089edf0457c9380546b029358d0b74075ef5
MD5 21cc3833baae414992a98230c0fcf683
BLAKE2b-256 fd81495f79ce0f6e51a6dd1c5f35755e1074c20f999615158e887dbdd8e3863e

See more details on using hashes here.

Supported by

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