Mini-Scikit-Learn
Mini-Scikit-Learn is a lightweight machine learning library inspired by Scikit-Learn. This project aims to implement essential machine learning algorithms, preprocessing techniques, model evaluation methods, and utilities to provide a basic yet functional machine learning toolkit.
Project Structure
The project is organized into several directories, each containing Python modules and Jupyter notebooks for different aspects of machine learning:
- ensemble: Contains implementations of various ensemble methods including Random Forest.
- metrics: Includes modules for evaluating model performance such as accuracy, precision, recall, F1 score, and confusion matrix.
- model_selection: Features tools for model selection and hyperparameter tuning, including train-test split and GridSearchCV.
- neural_networks: Dedicated to basic neural network architectures.
- preprocessing: Holds preprocessing utilities like data scaling and encoding.
- supervised_learning: Contains implementations of supervised learning algorithms like Logistic Regression, KNN, Decision Trees, etc.
- utilities: Utility functions and classes used across the project.
Each directory contains Jupyter notebooks that demonstrate the testing of the respective modules implemented in the project.
Notebooks
- ClassificationMetricsTest.ipynb: Tests and comparisons of classification metrics.
- DecisionTreeClassifier.ipynb: Demonstrations of the Decision Tree classifier.
- DecisionTreeRegressor.ipynb: Demonstrations of the Decision Tree regressor.
- GridSearchCVTest.ipynb: Usage examples for GridSearchCV.
- Other notebooks follow a similar naming convention, each focusing on different components of the library.
Installation
To use Mini-Scikit-Learn, clone this repository to your local machine. Ensure that you have Python installed, along with the necessary libraries.
git clone https://github.com/Basma-Arnaoui/Mini-Scikit-Learn.git
cd Mini-Scikit-Learn
Usage
To use the components of Mini-Scikit-Learn, you can import the required modules into your Python scripts or Jupyter notebooks. For example:
from supervised_learning.classification import LogisticRegression
from model_selection import GridSearchCV
# Your code to use these components goes here
Release files for cs-mini-scikit-learn 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs_mini_scikit_learn-0.1.2.tar.gz | 23.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cs_mini_scikit_learn-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:70.6 kB
Release files / cs_mini_scikit_learn-0.1.2.tar.gz
| Download URL | cs_mini_scikit_learn-0.1.2.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc4cda51573a5ec8eb2fe0186788defa8c6174c3ddf5cf5321b78fc9aea60944
|
|
BLAKE2b-256 checksum How to use checksums |
6c30f6ff9bbe21d4d80fafce1bdc5a47a45b70815de8255dc7017c787e3e863c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.7
|
Release files / cs_mini_scikit_learn-0.1.2-py3-none-any.whl
| Download URL | cs_mini_scikit_learn-0.1.2-py3-none-any.whl |
|---|---|
| Size | 46.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8091bcea43e0c0f841e906c7b13b56195230ced2604669f26173428295eeb0c
|
|
BLAKE2b-256 checksum How to use checksums |
5512db4b8624230e0c81e0902ba012cc75e745f5d8eb8a88dce1cc07e8b03eca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.7
|