Skip to main content

Automl_tools: automl binary classification

Github License Updates Python 3 Code coverage

Automl_tools is a Python library that implements Gradient Boosting

Installation

The code is packaged for PyPI, so that the installation consists in running:

pip install automl-tools

Colab

Open In Colab

Usage

Probabilistic binary example on the Boston housing dataset:

import pandas as pd
from automl_tools import automl_run

train = pd.read_csv("https://raw.githubusercontent.com/jonaqp/automl_tools/main/automl_tools/examples/train.csv?token=AAN2ZBDWF77QITK4ARSFIFDABUGAU")
test = pd.read_csv("https://raw.githubusercontent.com/jonaqp/automl_tools/main/automl_tools/examples/test.csv?token=AAN2ZBD6TMUC5XSGRTJNVPDABUGCO")

automl_run(train=train,
           test=test,
           id_col=None, 
           target_col="Survived",
           imp_num="knn",
           imp_cat="knn",
           processing="binding",
           mutual_information=False,
           correlation_drop=False,
           model_feature_selection=None,
           model_run="LR",
           augmentation=True,
           Stratified=True,
           cv=5)

Parameter

imp_num : "gaussian", "arbitrary", "median", "mean", "random", "knn"
imp_cat : "frequent", "constant", "rare", "knn"
processing:  "woe", "binding" 

Support Binary

model_feature_selection: 
    default: ["LR", "RF", "LGB"]
        LR  : LogisticRegression
        RF  : RandomForestClassifier
        SVM : SVC
        LS  : LASSO
        RD  : RIDGE
        NET : Elasticnet
        DT  : DecisionTreeClassifier
        ET  : ExtraTreesClassifier
        GB  : GradientBoostingClassifier
        AB  : AdaBoostClassifier
        XGB  : XGBClassifier
        LGB  : LGBMClassifier
        CTB  : CatBoostClassifier
        NGB  : NGBClassifier

model_run:
    default: "LR"
        LR  : LogisticRegression
        RF  : RandomForestClassifier
        SVM : SVC
        LS  : LASSO
        RD  : RIDGE
        NET : Elasticnet
        DT  : DecisionTreeClassifier
        ET  : ExtraTreesClassifier
        GB  : GradientBoostingClassifier
        AB  : AdaBoostClassifier
        XGB  : XGBClassifier
        LGB  : LGBMClassifier
        CTB  : CatBoostClassifier
        NGB  : NGBClassifier

License

Apache License 2.0.

New features v1.0

  • multi_class
  • regression
  • integrations GCP deploy model CI/CD
  • integrations AWS deploy model CI/CD

BugFix

  • 0.1.5

    • fix imputer
    • fix space hyperparameter
    • update catboost test
  • 0.1.4

    • add parameter cv
    • add confusion Matrix
    • add comments readme.txt
  • 0.1.3

    • add parameter id_col
    • add comments readme.txt

Reference

Metadata

Release files for automl-tools 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for automl-tools 0.2.5
File Size Uploaded
automl_tools-0.2.5.tar.gz 19.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for automl-tools 0.2.5
File Interpreter ABI Platform
automl_tools-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / automl_tools-0.2.5.tar.gz

Download URL automl_tools-0.2.5.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f54645012520deee3be53f9bd288976e672916d9403877b557fb5946fafeb6c
BLAKE2b-256 checksum
How to use checksums
deb6c61ae704b8318452f5d97c2d39ae38af7835d63c53699f94695ef6835372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.1

Release files / automl_tools-0.2.5-py3-none-any.whl

Download URL automl_tools-0.2.5-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7a548cf927ffff7705e7b2d359d2597b108f0ee88aac6bd01a02211be54687f
BLAKE2b-256 checksum
How to use checksums
6db879d97b0787334f5c32932fae3a9003235b6dd296d308522995dc3eeadb6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page