- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 naive bayes with python
#!/usr/bin/python from numpy import * import re from os import listdir def loadDataSet(): postingList = [['my' , 'dog' , 'has' , 'fea' , \ 'problems' , 'help', 'please' ], ['maybe' , 'not' , 't
2013-01-22 16:37:00
434
原创 decision_tree (ID3) with python
#!/usr/bin/python from math import log from numpy import * import operator import copy import pickle def createDataSet(): dataSet =[[1, 1, 'yes'], [1, 1, 'yes'], [1, 0, 'no'], [0, 1, 'no'],
2013-01-22 16:35:54
534
原创 KNN with python
#!/usr/bin/python """ Created on Jan 13 , 2013 Filename: kNN.py @author : libo """ from numpy import * from sys import argv from os import listdir #scritp , filename = argv def importData(): grou
2013-01-22 16:30:10
451
转载 聚类问题
http://blog.pluskid.org/?tag=clustering漫谈clustering 系列。 谱聚类综述:“A tutorial on spectral clustering"
2012-11-15 15:30:48
797
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人