Timothy2015 / ML_algorithms

The code and data of my personal learning notes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learning_notes of ML Algorithms

The codes and datas of my personal learning notes.

1 - SVM

1.1 SVM算法的理解

参考博客:支持向量机—SVM原理代码实现

1.2 SVM算法的实现

代码实现也是引用的博客中的代码,环境使用的py2.7,需要安装numpymatplotlib库。
在运行调试过程中,只修改了一行代码:

 #分割
 #lineArr = line.strip().split('\t')
        lineArr = line.strip('\t')
        lineArr = lineArr.split()

About

The code and data of my personal learning notes.

License:MIT License


Languages

Language:Python 100.0%