Skip to main content

Toothpick is a mini "library" which contains some implementation of machine learning algorithms in Python3.6. These algorithm
are built on NumPy. **This "library" is just a toy**, the reason why I create it is to share my ideas and codes.
All algorithms have `fit` and `predict` interface like `scikit-learn`. When I implemented these algorithms, I referenced
some books as follows: _Machine Learning_ writen by ZhiHua Zhou, _Statistical Learning Method_ writen by Hang Li and
_Machine Learning in Action_ writen by Peter Harrington.

By the way, I am a novice in python and machine learning field, so you can put forward issues if you find some bugs or questions.

## Why named toothpick?

A toothpick is a small stick of wood, plastic, bamboo, or other substance used to remove detritus from the teeth, usually
after a meal(from wikipedia). This library is similarly small and you can "take" it after meal :P.

## How to guarantee the correctness?

I compared my implementation with scikit-learn's when I was implementing these algorithms, which you can find in every single python file
and these performance were approximate on some very simple data set.

## Algorithms implemented

- Logistic Regression
- Naive Bayes
- K Nearest Neighbours
- KMeans
- Learning Vector Quantization
- Ensemble Learning Algorithms
- AdaBoost(only support binary classification)
- Bagging
- Stacking

## Todo List

- Decision Tree
- SVM
- Regression
- Linear Regressiong
- Ridge Regression
- Lasso Regression
- Neural Network
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Python: ~=3.6

Release files for toothpick-learn 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toothpick-learn 0.0.1
File Size Uploaded
toothpick-learn-0.0.1.tar.gz 2.1 kB Details

Release files / toothpick-learn-0.0.1.tar.gz

Download URL toothpick-learn-0.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8766709b7d64164df0aae8ee5178ef9ad892c097b6d98f724204b68967d97223
BLAKE2b-256 checksum
How to use checksums
9230a613b1b261d44dcb508d9ba3e4834b4b0e15156dedf7b401a22d25475244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page