lazy-learn is a high-level Python interface for automated machine learning (AutoML). While there are many AutoML libraries available each typically solves a niche area of the overall ML pipeline without providing a covering and approachable end-to-end system.
The aim of lazy-learn is exactly that. Given a dataset, lazy-learn will analyse types and distributions of attributes, preprocess, feature-engineer and ultimately train models to be used for further evaluation or inference.
Upcoming features
Current stable version is 0.0.3. The upcoming updates will support:
- Abstract construction of model architectures
- XGBoost, LightGBM, Adaboost and Catboost architectures
- Time partitioning of datasets (Added in 0.0.4)
- Automated Hyperparameter Optimisation (HPO) (Added in 0.0.4)
- Text features
- An interface to AutoGluon
- Outlier detection and handling
- Automated suggestions of performance metrics
Usage
Using lazy-learn revolves around the LazyLearner class. You can think of it as a kind of project, and it is the wrapper for any experiment within lazy-learn. You can consider a simple example with the California Housing dataset:
from lazylearn import LazyLearner
from sklearn.datasets import fetch_california_housing
# get some data
data = fetch_california_housing(as_frame=True)
df = data["data"]
df["MedHouseVal"] = data["target"]
# instantiate and run the LazyLearner
learner = LazyLearner()
learner.create_project(data=df, target="MedHouseVal")
learner.run_autopilot()
# evaluate results
print(learner.leaderboard())
Installation
Dependencies
lazy-learn requires:
- pandas
- scikit-learn
- xgboost
User Installation
pip install lazy-learn
Help and Support
Documentation
Citation
Metadata
Release files for lazylearn 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lazylearn-0.0.4.tar.gz | 263.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lazylearn-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 284.4 kB
Release files / lazylearn-0.0.4.tar.gz
| Download URL | lazylearn-0.0.4.tar.gz |
|---|---|
| Size | 263.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c850ac2ef89e82985969a733bde7b64c42bfc39cff45d82506eb1606656fecaf
|
|
BLAKE2b-256 checksum How to use checksums |
eca512d1bcef817e0d37d37c2833a276f8efd0d753d67fa7438ab3884ed149cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / lazylearn-0.0.4-py3-none-any.whl
| Download URL | lazylearn-0.0.4-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4345b1cacf8cece1a2679749106733d91d2c6ea1bc8478e180232e5b7ec917e1
|
|
BLAKE2b-256 checksum How to use checksums |
9d1053a71d2fa73b608ff8447c839103a957ab836df2ffc37cce6ea074986c2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|