Skip to main content

Implementations of most popular machine learning algorithms

Project description

About this repo

This repository contains my own implementations of the most popular machine learning models. It also has scripts for data preproccessing (datasets titanic and GaltonFamilies). For classification, I implemented my own class for nested cross validation. There are functions to evaluate model using confusion matrix (calculating accurancy, sensitivity, specificity, precision etc.) as well as to draw ROC curve.

Note

All of the models and validation were implemented by myslef, without using sklearn library. They were done for learning purposes. There is a seperate file named sklearn.py, in which I focused on exploring sklearn library

Models in this repo

  1. Linear models
  • Linear Regression
  • Logistic Regression
  1. Trees
  • Regression Tree
  • Decision Tree
  • Random Forest
  1. Boosting
  • Adaboost
  • Gradient boosting
  • Extreme Gradient Boosting
  1. SVM
  • SVM primal bez jądra
  • SVM dual z jądrem
  1. Naive Bayes
  2. K-nearest-neighbours

Python package

This repo can be installed as a package via command

pip install not_existing_still_in_progress_;o

Author

Małgorzata Grzanka

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

machine_learning_models-0.0.1.tar.gz (60.7 kB view details)

Uploaded Source

Built Distribution

machine_learning_models-0.0.1-py3-none-any.whl (75.3 kB view details)

Uploaded Python 3

File details

Details for the file machine_learning_models-0.0.1.tar.gz.

File metadata

File hashes

Hashes for machine_learning_models-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e27c2494c9c67129008dfba1b329c6bdaa40456bd7b2193ae8120482fbfe3665
MD5 50f511c66edb86c787414e674090dae9
BLAKE2b-256 4d939009f9361e5bd9df3e6a9e1d6177ce7dd5eb42047e561641f67469bc0d2f

See more details on using hashes here.

File details

Details for the file machine_learning_models-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for machine_learning_models-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2915e9fa8371e7a652d8ca90b7f07eec1d1c8f9ffb452b22948044bae9dbdb16
MD5 bf060825b2201ccf6e9581233b23958f
BLAKE2b-256 f110598087cab741192b93f161a2be34fe71d83878ad4e28c4423c0545968902

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