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 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.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


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.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

basicMLpy-1.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: basicMLpy-1.0.1.tar.gz
  • Upload date:
  • Size: 12.2 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

Hashes for basicMLpy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b63cd7da2e27eb38760d701a50e84e1f6a845328f55e42f07f22fda682170bc3
MD5 0aa6efc45dc7ff1427f4ce5c52108a0a
BLAKE2b-256 4172099d3dcb23369af79eb1fda31191225913ce0a7e62442f63e846f9e58e77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: basicMLpy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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

Hashes for basicMLpy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 155e7ea3db3f1c7f85746f0c2968a603abe4c68ffcd415f3ad06f42093f5b7ff
MD5 415984f2465b8e8553e6ed813200895e
BLAKE2b-256 910e74abd9021bcf5241939cdd226912bdda1306d91286d00c9f2e101cb38dee

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