A collection of simple machine learning algorithms
Project description
basicMLpy
basicMLpy is a package that implements simple machine learning algorithms. It currently contains seven modules that implement multiple machine learning techniques for supervised learning.
The basicMLpy.regression module contains the following functionalities:
- Linear Regression
- Ridge Regression
The basicMLpy.classification module contains the following functionalities:
- Multiclass classification through the IRLS(Iteratively Reweighted Least Squares) algorithm
The basicMLpy.nearest_neighbors module contains the following functionalities:
- An implementation of the K-Nearest Neighbors algorithm, that can fit both classification and regression problems
The basicMLpy.model_selection module contains the following functionalities:
- A Cross-Validation algorithm for the functions presented by the basicMLpy package
The basicMLpy.ensemble module contains the following functionalities:
- An implementation of the Random Forests algorithm for regression and classification
- An implementation of the AdaBoost algorithm for classification
- An implementation of the Gradient Boosting algorithm for regression
The basicMLpy.decomposition module contains the following functionalities:
- An implementation of the SVD decomposition algorithm
- An implementation of the PCA algorithm
The basicMLpy.loss_functions module contains the following functionalities:
- Multiple functions for error evaluation, e.g. MSE, MAE, exponential loss, etc.
The basicMLpy.utils module contains the following functionalities:
- Useful functions utilized all throughout the other models.
Documentation
The documentation will be available at a proper site soon. For now it can be found in the main code for each module.
Installation
To install basicMLpy run the following command:
pip install basicMLpy
Dependencies
basicMLpy requires Python >= 3.8, Numpy >= 1.19, Scipy >= 1.5.2, scikit-learn >= 0.23.
On Github
https://github.com/HenrySilvaCS/basicMLpy
Some thoughts
This is a work in progress project, so more functionalities will be added with time. The main feature that will be implemented in the near future is a decomposition module.
Author
Henrique Soares Assumpção e Silva
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
File details
Details for the file basicMLpy-1.0.4.tar.gz
.
File metadata
- Download URL: basicMLpy-1.0.4.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103d760a86f0cca9acaee64fd93deab6486ce538c830a3f7c7a3cc7e41f74472 |
|
MD5 | e5f09e323b8a94ad2e5156f518808c9e |
|
BLAKE2b-256 | 04753cdf7385562e52d7b580f5ca6cd2f0cdab3e50f1ce48e15688ecd4ce2c9f |
File details
Details for the file basicMLpy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: basicMLpy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ace9dfb6980d5200271a81b18c4bdd73df9d36836c53827679194d6e9d27bc8c |
|
MD5 | 9840e80adea3c20cadb7fde178393379 |
|
BLAKE2b-256 | 96a4bac67c4d74e9220249868e0f596d2a0a9b950ceb37e4ee27afd0e2c69341 |