Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aimi-cn/AILearners
/ functions
Functions
414 in github.com/aimi-cn/AILearners
⨍
Functions
414
◇
Types & classes
15
Function
gradAscent
(dataMatIn, classLabels)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:20
Function
gradAscent
(dataMatIn, classLabels)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:111
Function
handwritingClassTest
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:85
Function
imgCompress
(numSV=3, thresh=0.8)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:94
Function
innerLK
(i, oS)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:299
Function
lengthOfLIS
(lst)
src/py2.x/algorithm/algo7.py:4
Function
loadDataSet
()
data/ml/jqxxsz/sourceData/Ch11/apriori.py:8
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:8
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:17
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:8
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:8
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:8
Function
loadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch08/regression.py:8
Function
loadDataSet
读取数据 Parameters: fileName - 文件名 Returns: dataMat - 数据矩阵 labelMat - 数据标签
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:64
Function
loadExData
()
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:9
Function
loadExData2
()
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:18
Function
loadSimpDat
()
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:104
Function
loadSimpData
()
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:8
Function
lwlrTest
(testArr,xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:44
Function
lwlrTest
(testArr,xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/regression.py:44
Function
lwlrTestPlot
(xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:51
Function
lwlrTestPlot
(xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/regression.py:51
Method
map
(self, mapperId, inVals)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:14
Method
map
(self, key, val)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:15
Method
map
(self, mapperId, inVals)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:34
Method
map_fin
(self)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:44
Method
map_final
(self)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:22
Method
mapper
(self, _, line)
data/ml/jqxxsz/sourceData/Ch15/wc.py:13
Method
mapper_final
(self)
data/ml/jqxxsz/sourceData/Ch15/wc.py:21
Function
massPlaceFind
(fileName)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:95
Function
mid_order
(root)
src/py2.x/algorithm/algo10_2.py:8
Function
mineTweets
(tweetArr, minSup=5)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:145
Function
modelErr
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:43
Function
modelErr
Desc: 在给定数据集上计算误差。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回 yHat 和 Y 之间的平方误差。
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:275
Function
modelErr
Desc: 在给定数据集上计算误差。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回 yHat 和 Y 之间的平方误差。
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:197
Function
modelLeaf
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:39
Function
modelLeaf
Desc: 当数据不再需要切分的时候,生成叶节点的模型。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回得到的 回归系数ws
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:261
Function
modelLeaf
Desc: 当数据不再需要切分的时候,生成叶节点的模型。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回得到的 回归系数ws
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:183
Function
modelTreeEval
(model, inDat)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:116
Function
modelTreeEval
Desc: 对 模型树 进行预测 Args: model -- 输入模型,可选值为 回归树模型 或者 模型树模型,这里为模型树模型,实则为 回归系数 inDat -- 输入的测试数据 Returns: floa
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:338
Function
modelTreeEval
Desc: 对 模型树 进行预测 Args: model -- 输入模型,可选值为 回归树模型 或者 模型树模型,这里为模型树模型,实则为 回归系数 inDat -- 输入的测试数据 Returns: floa
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:267
Function
multiTest
()
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:108
Function
pca
(dataMat, topNfeat=9999999)
data/ml/jqxxsz/sourceData/Ch13/pca.py:14
Function
pearsSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:34
Function
plotBestFit
(weights)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:33
Function
plotBestFit
(weights)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:134
Function
plotDataSet
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:70
Function
plotDataSet
()
src/py2.x/ml/jqxxsz/8.Regression/regression.py:42
Function
plotDataSet
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:49
Function
plotDataSet
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:50
Function
plotDataSet1
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:155
Function
plotDataSet1
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:156
Function
plotROC
(predStrengths, classLabels)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:100
Function
plotRegression
()
src/py2.x/ml/jqxxsz/8.Regression/regression.py:71
Function
pntRules
(ruleList, itemMeaning)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:93
Function
prune
(tree, testData)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:94
Function
prune
Desc: 从上而下找到叶节点,用测试数据集来判断将这些叶节点合并是否能降低测试误差 Args: tree -- 待剪枝的树 testData -- 剪枝所需要的测试数据 testData Returns:
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:211
Function
quick_sort
(lst)
src/py2.x/algorithm/algo2_2.py:5
Function
quick_sort
(lst, left, right)
src/py2.x/algorithm/algo2_1.py:16
Function
randCent
(dataSet, k)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:20
Function
recommend
(dataMat, user, N=3, simMeas=cosSim, estMethod=standEst)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:77
Method
reduce
(self, _, packedVals)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:18
Method
reduce
(self, key, packedValues)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:27
Method
reduce
(self, _, packedVals)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:54
Method
reducer
(self, key, values)
data/ml/jqxxsz/sourceData/Ch15/wc.py:26
Function
regErr
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:25
Function
regErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:57
Function
regErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:75
Function
regErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:78
Function
regErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:76
Function
regLeaf
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:22
Function
regLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:49
Function
regLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:67
Function
regLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:72
Function
regLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:68
Function
regTreeEval
(model, inDat)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:113
Function
regTreeEval
Desc: 对 回归树 进行预测 Args: model -- 指定模型,可选值为 回归树模型 或者 模型树模型,这里为回归树 inDat -- 输入的测试数据 Returns: float(model) --
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:322
Function
regTreeEval
Desc: 对 回归树 进行预测 Args: model -- 指定模型,可选值为 回归树模型 或者 模型树模型,这里为回归树 inDat -- 输入的测试数据 Returns: float(model) --
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:171
Function
regularize
(xMat, yMat)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:86
Function
replaceNanWithMean
()
data/ml/jqxxsz/sourceData/Ch13/pca.py:26
Function
retrieveTree
(i)
data/ml/jqxxsz/sourceData/Ch03/treePlotter.py:82
Function
retrieveTree
(i)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:136
Function
selectJK
(i, oS, Ei)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:278
Function
seqPegasos
(dataSet, labels, lam, T)
data/ml/jqxxsz/sourceData/Ch15/pegasos.py:19
Function
setDataCollect
()
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:147
Function
setDataCollect
(retX, retY)
data/ml/jqxxsz/sourceData/Ch08/regression.py:170
Function
showDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:38
Function
showDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:40
Function
showDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:40
Function
showdatas
(datingDataMat, datingLabels)
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo01.py:67
Function
smoPK
(dataMatIn, classLabels, C, toler, maxIter)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:327
Function
smoSimple
(dataMatIn, classLabels, C, toler, maxIter)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:31
Function
sort
(data)
src/py2.x/algorithm/algo6.py:18
Function
spamTest
()
data/ml/jqxxsz/sourceData/Ch04/bayes.py:83
Function
stageWise
(xArr,yArr,eps=0.01,numIt=100)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:93
Function
stageWise
(xArr,yArr,eps=0.01,numIt=100)
data/ml/jqxxsz/sourceData/Ch08/regression.py:93
Function
standEst
(dataMat, user, simMeas, item)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:43
Function
standRegres
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:21
Function
standRegres
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/regression.py:21
Method
steps
(self)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:21
← previous
next →
301–400 of 414, ranked by callers