Skip to main content

ModelLab

A modular machine learning toolkit for training and comparing classification and regression models.

ModelLab is a Python-based machine learning project designed to simplify the process of loading datasets, preparing data, training multiple machine learning models, and evaluating their performance.

It supports both classification and regression tasks through a modular architecture built with Scikit-learn.

Features

  • Load datasets from CSV files.
  • Separate features and target variables.
  • Validate datasets and detect common data issues.
  • Handle missing values through data cleaning and imputation.
  • Split datasets into training and testing sets.
  • Train multiple machine learning models.
  • Evaluate model performance using task-specific metrics.
  • Compare different models using their evaluation results.

Supported Models

Classification

  • Logistic Regression
  • Decision Tree Classifier
  • Random Forest Classifier

Regression

  • Linear Regression
  • Decision Tree Regressor
  • Random Forest Regressor

Evaluation Metrics

Classification

  • Accuracy
  • Precision
  • Recall
  • F1 Score

Regression

  • Mean Absolute Error (MAE)
  • Mean Squared Error (MSE)
  • Root Mean Squared Error (RMSE)
  • R² Score

Installation

Install ModelLab using pip:

pip install model-lab

Install dependencies manually if needed:

pip install pandas numpy scikit-learn

Usage

ModelLab accepts a CSV dataset and allows you to specify:

  1. The dataset file path.
  2. The CSV separator.
  3. The target column.
  4. The machine learning task type:
    • classification
    • regression

The application then processes the dataset, trains the selected models, and evaluates their performance.

Project Architecture

ModelLab follows a modular structure, separating different responsibilities into individual Python modules.

Module Responsibility
main.py Main application workflow
data_loader.py Dataset loading and feature-target separation
data_cleaner.py Data cleaning and missing-value handling
data_splitter.py Training and testing data splitting
model.py Model selection and training
evaluator.py Model evaluation

Dependencies

  • Python
  • Pandas
  • NumPy
  • Scikit-learn

Project Status

ModelLab currently supports basic classification and regression workflows.

The project is under active development, and additional functionality may be introduced in future releases.

License

See the LICENSE file for licensing information (MIT License).


Developed as a modular machine learning project using Python and Scikit-learn.

Metadata

Release files for modellab-ml-toolkit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modellab-ml-toolkit 1.0.0
File Size Uploaded Provenance Actions
modellab_ml_toolkit-1.0.0.tar.gz 3.1 kB Without provenance Details for modellab_ml_toolkit-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modellab-ml-toolkit 1.0.0
File Interpreter ABI Platform Actions
modellab_ml_toolkit-1.0.0-py3-none-any.whl Python 3 none any Details for modellab_ml_toolkit-1.0.0-py3-none-any.whl

Total release size: 6.3 kB

Release files / modellab_ml_toolkit-1.0.0.tar.gz

Download URL modellab_ml_toolkit-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
748ba8f778080a20b01aebb0c3c422dca60e1e0e0d79552cbaadc8c7111d9195
BLAKE2b-256 checksum
How to use checksums
e0b6ce53bfdb11a07b7106ef90d5e747a6b5a8efeaae98528570c3afa97a8e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / modellab_ml_toolkit-1.0.0-py3-none-any.whl

Download URL modellab_ml_toolkit-1.0.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b45575371fc43e2fbde637e10dc7bb424a8a3b8dacdf43cb2b7464d515543756
BLAKE2b-256 checksum
How to use checksums
adf8f1a964d1c6166e207f5dc2bd07c5687798b6dc76ca75c62f28f609b33df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for modellab-ml-toolkit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page