Skip to main content

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

Metadata

Release files for blocktorch 1.33.2

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

Built distribution (wheel)

Table of built distributions (wheels) for blocktorch 1.33.2
File Interpreter ABI Platform Actions
blocktorch-1.33.2-py3-none-any.whl Python 3 none any Details for blocktorch-1.33.2-py3-none-any.whl

Release files / blocktorch-1.33.2-py3-none-any.whl

Download URL blocktorch-1.33.2-py3-none-any.whl
Size 6.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d5ace175189423ec2691912b115aedb336e9e79e4410e4c38652c46f5cb7ad9b
BLAKE2b-256 checksum
How to use checksums
b9316cbb467dfa0b67b72aa892e15fe3c237a2658d87f30bf29e796b8a0993e0
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for blocktorch 1.33.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.33.2 This release

1 release file No provenance

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