All Projects → tvdboom → ATOM

tvdboom / ATOM

Licence: MIT license
Automated Tool for Optimized Modelling

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ATOM

dc-sdk-js
一个基于浏览器环境的数据采集SDK
Stars: ✭ 52 (-38.82%)
Mutual labels:  data-pipeline
machine-learning-data-pipeline
Pipeline module for parallel real-time data processing for machine learning models development and production purposes.
Stars: ✭ 22 (-74.12%)
Mutual labels:  data-pipeline
rmpk
Mixed Integer Linear and Quadratic Programming in R
Stars: ✭ 37 (-56.47%)
Mutual labels:  modelling
EMMO
Elementary Multiperspective Material Ontology (EMMO)
Stars: ✭ 44 (-48.24%)
Mutual labels:  modelling
ob bulkstash
Bulk Stash is a docker rclone service to sync, or copy, files between different storage services. For example, you can copy files either to or from a remote storage services like Amazon S3 to Google Cloud Storage, or locally from your laptop to a remote storage.
Stars: ✭ 113 (+32.94%)
Mutual labels:  data-pipeline
Data-pipeline-project
Data pipeline project
Stars: ✭ 18 (-78.82%)
Mutual labels:  data-pipeline
AirflowETL
Blog post on ETL pipelines with Airflow
Stars: ✭ 20 (-76.47%)
Mutual labels:  data-pipeline
fdtd3d
fdtd3d is an open source 1D, 2D, 3D FDTD electromagnetics solver with MPI, OpenMP and CUDA support for x86, arm, arm64 architectures
Stars: ✭ 77 (-9.41%)
Mutual labels:  modelling
CutAndDisplace
Boundary Element MATLAB code. Modelling faults and deformation
Stars: ✭ 40 (-52.94%)
Mutual labels:  modelling
practical-data-engineering
Real estate dagster pipeline
Stars: ✭ 110 (+29.41%)
Mutual labels:  data-pipeline
saisoku
Saisoku is a Python module that helps you build complex pipelines of batch file/directory transfer/sync jobs.
Stars: ✭ 40 (-52.94%)
Mutual labels:  data-pipeline
radCAD
A framework for generalised dynamical systems modelling & simulation (inspired by and compatible with cadCAD.org)
Stars: ✭ 59 (-30.59%)
Mutual labels:  modelling
covid19 scenarios data
Data preprocessing scripts and preprocessed data storage for COVID-19 Scenarios project
Stars: ✭ 43 (-49.41%)
Mutual labels:  modelling
conjure
Conjure: The Automated Constraint Modelling Tool
Stars: ✭ 84 (-1.18%)
Mutual labels:  modelling
opentrials-airflow
Configuration and definitions of Airflow for OpenTrials
Stars: ✭ 18 (-78.82%)
Mutual labels:  data-pipeline
datajob
Build and deploy a serverless data pipeline on AWS with no effort.
Stars: ✭ 101 (+18.82%)
Mutual labels:  data-pipeline
MITK-Diffusion
MITK Diffusion - Official part of the Medical Imaging Interaction Toolkit
Stars: ✭ 47 (-44.71%)
Mutual labels:  modelling
treegen
Vegetation Generation Tool for Houdini
Stars: ✭ 72 (-15.29%)
Mutual labels:  modelling
IoT-Modelling-Tool
IoT Modelling Tool is a platform which allows users to have their own devices and components modeled in order to represent and manage a physical environment.
Stars: ✭ 16 (-81.18%)
Mutual labels:  modelling
datalake-etl-pipeline
Simplified ETL process in Hadoop using Apache Spark. Has complete ETL pipeline for datalake. SparkSession extensions, DataFrame validation, Column extensions, SQL functions, and DataFrame transformations
Stars: ✭ 39 (-54.12%)
Mutual labels:  data-pipeline

ATOM

Automated Tool for Optimized Modelling

A Python package for fast exploration of machine learning pipelines



📜 Overview

Author Mavs      Email [email protected]      Documentation Documentation      Slack Slack


General Information
Repository Project Status: Active Conda Recipe License: MIT Downloads
Release PyPI version Conda Version DOI
Compatibility Python 3.7|3.8|3.9|3.10 Conda Platforms
Build status Build Status Azure Pipelines codecov
Code analysis PEP8 Imports: isort Language grade: Python Total alerts



💡 Introduction

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:

  1. Data Cleaning
    • Handle missing values
    • Encode categorical features
    • Detect and remove outliers
    • Balance the training set
  2. Feature engineering
    • Create new non-linear features
    • Remove multi-collinear features
    • Remove features with too low variance
    • Select the most promising features
  3. 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
  4. Analyze the results
    • Get the model scores on various metrics
    • Make plots to compare the model performances



diagram_pipeline



🛠️ Installation

Install ATOM's newest release easily via pip:

$ pip install -U atom-ml

or via conda:

$ conda install -c conda-forge atom-ml



Usage

Colab Binder

ATOM contains a variety of classes and functions to perform data cleaning, feature engineering, model training, plotting and much more. The easiest way to use everything ATOM has to offer is through one of the main classes:

Let's walk you through an example. Click on the Google Colab badge on top of this section to run this example yourself.

Make the necessary imports and load the data.

import pandas as pd
from atom import ATOMClassifier

# Load the Australian Weather dataset
X = pd.read_csv("https://raw.githubusercontent.com/tvdboom/ATOM/master/examples/datasets/weatherAUS.csv")
X.head()

Initialize the ATOMClassifier or ATOMRegressor class. These two classes are convenient wrappers for the whole machine learning pipeline. Contrary to sklearn's API, they are initialized providing the data you want to manipulate.

atom = ATOMClassifier(X, y="RainTomorrow", test_size=0.3, verbose=2)

Data transformations are applied through atom's methods. For example, calling the impute method will initialize an Imputer instance, fit it on the training set and transform the whole dataset. The transformations are applied immediately after calling the method (no fit and transform commands necessary).

atom.impute(strat_num="median", strat_cat="most_frequent")  
atom.encode(strategy="LeaveOneOut", max_onehot=8)

Similarly, models are trained and evaluated using the run method. Here, we fit both a Random Forest and AdaBoost model, and apply hyperparameter tuning.

atom.run(models=["RF", "AdaB"], metric="auc", n_calls=10, n_initial_points=4)

Lastly, visualize the result using the integrated plots.

atom.plot_roc()
atom.rf.plot_confusion_matrix(normalize=True)



Documentation Documentation

Relevant links
About Learn more about the package.
🚀 Getting started New to ATOM? Here's how to get you started!
📢 Release history What are the new features of the latest release?
👨‍💻 User guide How to use ATOM and its features.
🎛️ API Reference The detailed reference for ATOM's API.
📋 Examples Example notebooks show you what can be done and how.
FAQ Get answers to frequently asked questions.
🔧 Contributing Do you wan to contribute to the project? Read this before creating a PR.
🌳 Dependencies Which other packages does ATOM depend on?
📃 License Copyright and permissions under the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].