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 modellab-ml-toolkit

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.1

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.1
File Size Uploaded Provenance Actions
modellab_ml_toolkit-1.0.1.tar.gz 3.1 kB Without provenance Details for modellab_ml_toolkit-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.3 kB

Release files / modellab_ml_toolkit-1.0.1.tar.gz

Download URL modellab_ml_toolkit-1.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d83e93c2a59c0be704314dc0aa962725da7e777bd1ab1bdbce1e6a0735ee32d1
BLAKE2b-256 checksum
How to use checksums
9109cae99a8840bbcfa517f74f504204986f4ecaed7dde3609b5e8f7b768da72
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.1-py3-none-any.whl

Download URL modellab_ml_toolkit-1.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1287453043cf1df92df1e0f9fef241ab2db2757840e19fc5f116cfc4ac4cf92d
BLAKE2b-256 checksum
How to use checksums
73731aec9b20c4e069f90a985530d8f36c9e33a599f63715e9b0a3f649cc7a8f
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.1

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.1 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