Skip to main content

A Machine learning library

Project description

Z-MachineLearningLibrary

Our Personal Machine Learning Library

This is a Machine Learning library that Abderrahmane Baidoune, Imane Rahali I would like to build in order to further our understanding of the algorithms and implement them from scratch with the help of numpy, no more.

Thus, optimization is not a concern to us, nor is documentation or code readability. Having said that, we will, and have tried to devote some effort to it !

Features

  • Machine Learning Algorithms: Implementations of various machine learning algorithms.
  • No Dependencies: Relies solely on numpy, avoiding other external dependencies.
  • Educational Focus: Emphasis on understanding the underlying mechanics of algorithms.

Requirements

  • Python 3.6 or higher
  • numpy

Installation

You can install Z-MachineLearningLibrary via pip:

pip install ZAIScikit

Or clone the repository and install it locally:

git clone https://github.com/yourusername/ZAIScikit.git
cd ZAIScikit
pip install -e .

Future Improvements and additions

All Models' features need to be 2D Arrays even if there is one feature
  • Better OOP Design and Redundancy Omitting
  • To be implemented :
    • DBSCAN and HDBSCAN
    • UMAP
    • Reinforcement Learning
    • AlphaZero
    • Factorization Methods
    • Convolutional Neural Networks
    • RNN + LSTM
    • Transformers
  • Needs Better Implementations :
    • Faster BallTree / KDTree Algorithms for KNN

Performance Comparison

Below are some comparisons of our implementations with scikit-learn's implementations.

Decision Tree Regressor Performance

Decision Tree Comparison

Gaussian NB Performance

Gaussian NB Comparison

KMeans Clustering Performance

KMeans Clustering Comparison

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

zaiscikit-0.1.2.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

ZAIScikit-0.1.2-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file zaiscikit-0.1.2.tar.gz.

File metadata

  • Download URL: zaiscikit-0.1.2.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for zaiscikit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4f2623f532fea29d6a69b5ecad087543ca17b5ca6b3c324aeab54c19ac06b205
MD5 91dd2376ab96e5d95c93bdf060e206e1
BLAKE2b-256 d504df0308e667b6687d4f60fbc9b5fdff255a0c9c7dfa0ca48629d650da48f5

See more details on using hashes here.

File details

Details for the file ZAIScikit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ZAIScikit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for ZAIScikit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff438bd0715dea743d383d4b7d1bdea29f02c10c3248fd492674a52c7820eb3b
MD5 206ede3c01090662965fdd94ca56c290
BLAKE2b-256 4997c0935730e3f038881391418ae16bc86f1c73b931223f909fc11f94988185

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