SkillAgentSearch skills...

LightAutoML

Fast and customizable framework for automatic ML model creation (AutoML)

Install / Use

/learn @sb-ai-lab/LightAutoML

README

<img src=imgs/lightautoml_logo_color.png />

PyPI - Python Version PyPI - Version pypi - Downloads GitHub Workflow Status (with event) Read the Docs

Documentation | Installation | Examples | Telegram chat | Telegram channel

LightAutoML (LAMA) allows you create machine learning models using just a few lines of code, or build your own custom pipeline using ready blocks. It supports tabular, time series, image and text data.

Authors: Alexander Ryzhkov, Anton Vakhrushev, Dmitry Simakov, Rinchin Damdinov, Vasilii Bunakov, Alexander Kirilin, Pavel Shvets.

<a name="quicktour"></a>

Quick tour

There are two ways to solve machine learning problems using LightAutoML:

  • Ready-to-use preset:

    from lightautoml.automl.presets.tabular_presets import TabularAutoML
    from lightautoml.tasks import Task
    
    automl = TabularAutoML(task = Task(name = 'binary', metric = 'auc'))
    oof_preds = automl.fit_predict(train_df, roles = {'target': 'my_target', 'drop': ['column_to_drop']}).data
    test_preds = automl.predict(test_df).data
    
  • As a framework:</br> LightAutoML framework has a lot of ready-to-use parts and extensive customization options, to learn more check out the resources section.

<a name="resources"></a>

Resources

Kaggle kernel examples of LightAutoML usage:

Google Colab tutorials and other examples:

Note 1: for production you have no need to use profiler (which increase work time and memory consomption), so please do not turn it on - it is in off state by default

Note 2: to take a look at this report after the run, please comment last line of demo with report deletion command.

Courses, videos

<a name="installation"></a>

Installation

To install LAMA framework on your machine from PyPI:

# Base functionality:
pip install -U lightautoml

# For partial installation use corresponding option
# Extra dependencies: [nlp, cv, report] or use 'all' to install all dependencies
pip install -U lightautoml[nlp]
# Or extra dependencies with specific version
pip install 'lightautoml[all]==0.4.0'

Additionally, run following commands to enable pdf report generation:

# MacOS
brew install cairo pango gdk-pixbuf libffi

# Debian / Ubuntu
sudo apt-get install build-essential libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info

# Fedora
sudo yum install redhat-rpm-config libffi-devel cairo pango gdk-pixbuf2

# Windows
# follow this tutorial https://weasyprint.readthedocs.io/en/stable/install.html#windows

<a name="advancedfeatures"></a>

Advanced features

GPU and Spark pipelines

Full GPU and Spark pipelines for LightAutoML currently available for developers testing (still in progress). The code and tutorials for:

<a name="contributing"></a>

Contributing to LightAutoML

If you are interested in contributing to LightAutoML, please read the Contributing Guide to get started.

<a name="support"></a>

Support and feature requests

<a name="citation"></a>

Citation

If you mention LightAutoML in your publications, please cite our paper: Vakhrushev, et al. ["LightAutoML: AutoML Solution for a Large Financial Services Ecosystem"](https://a

Related Skills

View on GitHub
GitHub Stars1.5k
CategoryData
Updated6h ago
Forks65

Languages

Python

Security Score

100/100

Audited on Mar 31, 2026

No findings