1 Star 4 Fork 0

kael / Machine Learning Algorithm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 4.92 KB
一键复制 编辑 原始数据 按行查看 历史
Kang Cai 提交于 2019-10-31 21:38 . self

Machine-Learning-Algorithm

注意: 每个文件只有开始的 class 是模型本身,其它代码都是用来测试的,每个模型的实现都在 100 行以内

Note: Only the class at the beginning of each file is the model itself, the rest of the code is for testing, and the implementation of each model is within 100 lines


1. Logistic Regression

File - logistic_regression.py

Cost Function -

Optimization Algorithm - Gradient descent method


2. Support Vector Machine

File - support_vector_machine.py

Example -

Cost Function -

Optimization Algorithm - Sequential minimal optimization (SMO)


3. Perception

File - perception.py

Example -


4. Naive Bayes

File - naive_bayes.py

Example -


5. K-Nearest Neighbor

File - k_nearest_neighbor.py | util_kd_tree.py

Example -


6. Decision Tree

File - decision_tree.py

Optimization Algorithm - Generalized Iterative Scaling (GIS)

Example -


7. Random Forest

File - random_forest.py | | decision_tree.py

Example -


8. Gradient Boosting Decision Tree

File - gradient_boosting_decision_tree.py | decision_tree.py


9. Linear Discriminant Analysis

File - linear_discriminant_analysis.py


10. Maximum Entropy

File - maximum_entropy.py

Example -


11. Gaussian Discriminant Analysis

File - gaussian_discriminant_analysis.py


12. Principal Component Analysis

File - principal_component_analysis.py

Example -


13. K-means

File - kmeans.py | util_kd_tree.py

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ThreeAutumns/MachineLearningAlgorithm.git
git@gitee.com:ThreeAutumns/MachineLearningAlgorithm.git
ThreeAutumns
MachineLearningAlgorithm
Machine Learning Algorithm
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891