This is just a project of ML demos. Most demos are from here :
/~https://github.com/apachecn/AiLearning
/~https://github.com/Madhu009/Deep-math-machine-learning.ai
- least square
- locally weighted linear regression
- ridge regression
- isotonic regression
- kernel ridge regression
- support vector regression
- gradient descent
- linear unit
- model tree
- regression tree
- adaboost
- decision tree
- k nearest neighbors
- logistic regression
- naive bayes
- random forest
- support vector machines
- k-means
- bisecting k-means
- apriori
- frequent patten growth
- principal component analysis
- singular value decomposition
- dynamic programming
- monte carlo
- temporal difference
- deep q-learning
- ann
- cnn
- rnn
- lstm
- pytorch
-
install python 3.6+
-
install packages
pip install gym
pip install gym[atari] (linux is better)
pip install keras
pip install matplotlib
pip install numpy
pip install pydotplus
pip install scikit-image
pip install sklearn
pip install tensorflow
- install packages to get data
pip install bs4
pip install feedparser
pip install jieba
pip install python-votesmart (do not support python3.6)
- install pytorch
# windows python3.6
# 工具下载 http://download.pytorch.org/whl/cu90/torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torch-0.4.1-cp36-cp36m-win_amd64.whl
pip3 install torchvision
-
install GraphViz
-
use IDE like pycharm to open the project