Skip to main content

Automatic ML pipeline builder

Project description

mlaunch

About the Project

mlaunch is a Python package that automatically generates a complete machine learning model from a CSV file. It handles data preprocessing, encoding, model selection, and evaluation.

Functions

AutoML

this function will preprocess the data and create the model for you

from mlaunch import AutoML
model = AutoML(path,y_column,model_name,type = "pipeline")

parameteres

  • path: the path for your csv file
  • y_column: the target column in your dataset
  • model_name: the name of your model out of these current model:
    • Linear Regression
    • Logistic Regression
    • Random Forest Regression
    • Hist Gradient Boosting Regression
    • Random Forest classifier
    • Hist Gradient Boosting classifier
    • Auto Select : it will select the best model for your data more will be added in the future
  • type: how will the output be:
    • pipeline: it will output the model as a pipeline
    • python file: it will export the model to model.pkl file and run a python file to input the data

preprocessing

this function will handle the outliers and encode your data and output it as a ColumnTransformer

from mlaunch import preprocessing
preprocessor = preprocessing(model,df,y_column)
model = Pipeline([
    ("preprocessor",preprocessor)
])

parameteres

  • model: put your model here
  • df: put the dataframe here
  • y_column: the target column in your dataset

dataset_info

this function returns a dictionary of the size, cat_columns and num_columns

from mlaunch import dataset_info
info = dataset_info(df,y_column)

parameteres

  • df: put the dataframe here
  • y_column: the target column in your dataset

column_statistics

this function returns a bunch of stats for every column in the dataframe

from automl import column_statistics
stats = column_statistics(df,y_column)

parameteres

  • df: put the dataframe here
  • y_column: the target column in your dataset

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlaunch-0.2.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlaunch-0.2.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file mlaunch-0.2.1.tar.gz.

File metadata

  • Download URL: mlaunch-0.2.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mlaunch-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3e52c3091343cc1d5a5c42d5fb83067a9bca69122410d2dd03f22d625d485759
MD5 bc1380bdeed5500550d27f33682147ed
BLAKE2b-256 52c8e8cfd18a2b7fe859c35fce8af84edbcc87ababc46b10a290e6485c2c256b

See more details on using hashes here.

File details

Details for the file mlaunch-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: mlaunch-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mlaunch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4c86d4da92647c7b8519582d371b63ff07e979c335b6ae664c7bd3f0a0cb7ba
MD5 06bef20257ed26ac3fc06a7d7903d5c8
BLAKE2b-256 dcfcf28d548f53e4691d91f5b7aba9b98d952fbeed2f6784ab4e221cfc2ccb0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page