A Python package of Machine Learning Algorithms implemented from scratch
Project description
ShowML
Show the ML Code!
A Python package of Machine Learning Algorithms implemented from scratch.
The aim of this package is to present the working behind fundamental Machine Learning algorithms in a transparent and modular way.
NOTE: The implementations of these algorithms are not thoroughly optimized for high computational efficiency.
Usage
Check out: showml/examples/.
Installation
Install the package:
$ pip install showml
To clone the repository and view the source files:
$ git clone https://github.com/hasnainroopawalla/ShowML.git
$ cd ShowML
$ pip install -r requirements.txt
Contents
Models
Linear
- Linear Regression (
showml.linear_model.regression.LinearRegression) - Logistic Regression (
showml.linear_model.regression.LogisticRegression)
Non-Linear
- Sequential (
showml.deep_learning.model.Sequential)
Deep Learning
Layers
- Dense (
showml.deep_learning.layers.Dense)
Activations
- Sigmoid (
showml.deep_learning.activations.Sigmoid) - ReLu (
showml.deep_learning.activations.Relu) - Softmax (
showml.deep_learning.activations.Softmax)
Optimizers
- Stochastic/Batch/Mini-Batch Gradient Descent (
showml.optimizers.SGD) - Adaptive Gradient (
showml.optimizers.AdaGrad) - Root Mean Squared Propagation (
showml.optimizers.RMSProp)
Loss Functions
- Mean Squared Error (
showml.losses.MeanSquaredError) - Binary Cross Entropy (
showml.losses.BinaryCrossEntropy) - Categorical Cross Entropy (
showml.losses.CrossEntropy)
Simulations
- Conway's Game of Life (
showml.simulations.conways_game_of_life.GameOfLife)
Contributing
- Fork the repository.
- Install the necessary dependencies:
$ pip install pre-commit mypy pytest
- Commit and push your changes to your own branch.
- Before submitting a Pull Request, run these housekeeping checks locally:-
- Run pre-commit:
$ pre-commit run -a
- Run mypy:
$ mypy .
- Run pytest:
$ pytest
- Once everything succeeds, create a Pull Request (CI will be triggered)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file showml-1.4.1.tar.gz.
File metadata
- Download URL: showml-1.4.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53bb03858317d7020c95220cc740ae07b90c1cac060b2384c6563ca209cfb43
|
|
| MD5 |
efde3041cfc1fc8debb45a8ea24e8066
|
|
| BLAKE2b-256 |
ec5910e5d36159d4640d782f5b6fba06cf53fb7090c2d1c495a0c4837fb5eb14
|
File details
Details for the file showml-1.4.1-py3-none-any.whl.
File metadata
- Download URL: showml-1.4.1-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7da4f6cbcb064a6305136aa9bfe3923f95a60a6de2c6bbda24d60463159452c4
|
|
| MD5 |
eabe91a655bb85bbc2002a0a44d1692b
|
|
| BLAKE2b-256 |
05d517f1eefa1e11b57c7eec26f567230a0658e4e0bd59d5a06b0539262bba3d
|