Skip to main content

A low-code library for machine learning pipelines

Project description

blitzml

Automate machine learning piplines rapidly

How to install

pip install blitzml

Usage

from blitzml.tabular import Classification
import pandas as pd

# prepare your dataframes
train_df = pd.read_csv("auxiliary/data/train.csv")
test_df = pd.read_csv("auxiliary/data/test.csv")
ground_truth_df = pd.read_csv("auxiliary/ground_truth.csv")

# create the pipeline with a certain classifier
auto = Classification(train_df, test_df, ground_truth_df, classifier = 'RF', n_estimators = 50)

# first perform data preprocessing
auto.preprocess()
# second train the model
auto.train_the_model()


# After training the model we can generate the following:
auto.gen_pred_df()
auto.gen_metrics_dict()

# Then you can get their values using:
pred_df = auto.pred_df
metrics_dict = auto.metrics_dict

print(pred_df.head())
print(metrics_dict)

Available Classifiers

  • Random Forest 'RF'
  • LinearDiscriminantAnalysis 'LDA'
  • Support Vector Classifier 'SVC' When using RF you can also provide the number of estimators

via n_estimators = 100 (default)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

blitzml-0.4.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file blitzml-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: blitzml-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for blitzml-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cf38a286770cd5f4410f8ebe27c5877ee614134b90a5a3a2eca47f33203f107
MD5 bae284ddee7141241fe4fdb83ffda9d1
BLAKE2b-256 c223b0dbfefd64bdf9f87ec3191ef984aa877b3ecba599d7a3a00bab1238886b

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page