ATOM-Automated Tool for Optimized Modelling
GitHub - tvdboom/ATOM: Automated Tool for Optimized Modelling
A Python package for fast exploration of machine learning pipelines
During the exploration phase of a machine learning project, a data scientist tries to find the optimal pipeline for his specific use case. This usually involves applying standard data cleaning steps, creating or selecting useful features, trying out different models, etc. Testing multiple pipelines requires many lines of code, and writing it all in the same notebook often makes it long and cluttered. On the other hand, using multiple notebooks makes it harder to compare the results and to keep an overview. On top of that, refactoring the code for every test can be quite time-consuming. How many times have you conducted the same action to pre-process a raw dataset? How many times have you copy-and-pasted code from an old repository to re-use it in a new use case?
ATOM is here to help solve these common issues. The package acts as a wrapper of the whole machine learning pipeline, helping the data scientist to rapidly find a good model for his problem. Avoid endless imports and documentation lookups. Avoid rewriting the same code over and over again. With just a few lines of code, it's now possible to perform basic data cleaning steps, select relevant features and compare the performance of multiple models on a given dataset, providing quick insights on which pipeline performs best for the task at hand.
Example steps taken by ATOM's pipeline:
- Data Cleaning
- Handle missing values
- Encode categorical features
- Detect and remove outliers
- Balance the training set
- Feature engineering
- Create new non-linear features
- Remove multi-collinear features
- Remove features with too low variance
- Select the most promising features
- Train and validate multiple models
- Select hyperparameters using a Bayesian Optimization approach
- Train and test the models on the provided data
- Assess the robustness of the output using a bootstrap algorithm
- Analyze the results
- Get the model scores on various metrics
- Make plots to compare the model performances