Skip to main content

Blocktorch is a library that builds, optimizes, and evaluates machine learning pipelines

Project description

Blocktorch

GitHub Actions Codecov.io PyPI PyPI Stats

blocktorch is an AutoML library which builds, optimizes, and evaluates machine learning pipelines using domain-specific objective functions.

Key Functionality

  • Automation - Makes machine learning easier. Avoid training and tuning models by hand. Includes data quality checks, cross-validation and more.
  • Data Checks - Catches and warns of problems with your data and problem setup before modeling.
  • End-to-end - Constructs and optimizes pipelines that include state-of-the-art preprocessing, feature engineering, feature selection, and a variety of modeling techniques.
  • Model Understanding - Provides tools to understand and introspect on models, to learn how they'll behave in your problem domain.
  • Domain-specific - Includes repository of domain-specific objective functions and an interface to define your own.

Install from PyPI

pip install blocktorch

Add-ons

Update checker

Receive automatic notifications of new blocktorch releases

pip install blocktorch[update_checker]

Start

Load and split example data

import blocktorch
X, y = blocktorch.demos.load_breast_cancer()
X_train, X_test, y_train, y_test = blocktorch.preprocessing.split_data(X, y, problem_type='binary')

Run AutoML

from blocktorch.automl import AutoMLSearch
automl = AutoMLSearch(X_train=X_train, y_train=y_train, problem_type='binary')
automl.search()

View pipeline rankings

automl.rankings

Get best pipeline and predict on new data

pipeline = automl.best_pipeline
pipeline.predict(X_test)

Next Steps

Read more about blocktorch on our documentation page:

Built by Blocktorch

Blocktorch

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

blocktorch-1.33.2-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file blocktorch-1.33.2-py3-none-any.whl.

File metadata

  • Download URL: blocktorch-1.33.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for blocktorch-1.33.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5ace175189423ec2691912b115aedb336e9e79e4410e4c38652c46f5cb7ad9b
MD5 430f6c78e487725ab19759d05553cdbc
BLAKE2b-256 b9316cbb467dfa0b67b72aa892e15fe3c237a2658d87f30bf29e796b8a0993e0

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