Skip to main content

A collection of simple machine learning algorithms

Project description

basicMLpy

basicMLpy is a package that implements simple machine learning algorithms. It currently contains eight 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.

Installation

To install basicMLpy run the following command:
pip install basicMLpy

Package's site and documentation

https://henrysilvacs.github.io/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

On Pypi

https://pypi.org/project/basicMLpy/

Some thoughts

This is a work in progress project, so more functionalities will be added with time.

Author

Henrique Soares Assumpção e Silva

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

basicMLpy-1.0.9.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

basicMLpy-1.0.9.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file basicMLpy-1.0.9.1.tar.gz.

File metadata

  • Download URL: basicMLpy-1.0.9.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for basicMLpy-1.0.9.1.tar.gz
Algorithm Hash digest
SHA256 37d4126ce7a698c5763033bcc99fa23f48835042f0c532aa67b22b0538885473
MD5 bf7fd70a6c38389dbf1d3bb01ad4b06e
BLAKE2b-256 115b59abb6139fdd4af3897d63a585c9a276263b6923f7ab3aaa21293ee126d3

See more details on using hashes here.

File details

Details for the file basicMLpy-1.0.9.1-py3-none-any.whl.

File metadata

  • Download URL: basicMLpy-1.0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for basicMLpy-1.0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b24c73332e9ac983c0d0275c9589c5f74d62892028fb390f328f40a2a8ed7b7b
MD5 f9ceb44184bacd0db9a463e184d81b4d
BLAKE2b-256 c8b4753fea206a29ce0d16db11c9c34d647536b62da5e34a7903c4364d64f2b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page