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
- Linear models
- Linear Regression
- Logistic Regression
- Trees
- Regression Tree
- Decision Tree
- Random Forest
- Boosting
- Adaboost
- Gradient boosting
- Extreme Gradient Boosting
- SVM
- SVM primal bez jądra
- SVM dual z jądrem
- Naive Bayes
- 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
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 machine_learning_models-0.0.1.tar.gz
.
File metadata
- Download URL: machine_learning_models-0.0.1.tar.gz
- Upload date:
- Size: 60.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e27c2494c9c67129008dfba1b329c6bdaa40456bd7b2193ae8120482fbfe3665 |
|
MD5 | 50f511c66edb86c787414e674090dae9 |
|
BLAKE2b-256 | 4d939009f9361e5bd9df3e6a9e1d6177ce7dd5eb42047e561641f67469bc0d2f |
File details
Details for the file machine_learning_models-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: machine_learning_models-0.0.1-py3-none-any.whl
- Upload date:
- Size: 75.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2915e9fa8371e7a652d8ca90b7f07eec1d1c8f9ffb452b22948044bae9dbdb16 |
|
MD5 | bf060825b2201ccf6e9581233b23958f |
|
BLAKE2b-256 | f110598087cab741192b93f161a2be34fe71d83878ad4e28c4423c0545968902 |