MCPcopy Create free account

hub / github.com/aimi-cn/AILearners / functions

Functions414 in github.com/aimi-cn/AILearners

FunctiongradAscent
(dataMatIn, classLabels)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:20
FunctiongradAscent
(dataMatIn, classLabels)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:111
FunctionhandwritingClassTest
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:85
FunctionimgCompress
(numSV=3, thresh=0.8)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:94
FunctioninnerLK
(i, oS)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:299
FunctionlengthOfLIS
(lst)
src/py2.x/algorithm/algo7.py:4
FunctionloadDataSet
()
data/ml/jqxxsz/sourceData/Ch11/apriori.py:8
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:8
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:17
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:8
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:8
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:8
FunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch08/regression.py:8
FunctionloadDataSet
读取数据 Parameters: fileName - 文件名 Returns: dataMat - 数据矩阵 labelMat - 数据标签
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:64
FunctionloadExData
()
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:9
FunctionloadExData2
()
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:18
FunctionloadSimpDat
()
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:104
FunctionloadSimpData
()
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:8
FunctionlwlrTest
(testArr,xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:44
FunctionlwlrTest
(testArr,xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/regression.py:44
FunctionlwlrTestPlot
(xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:51
FunctionlwlrTestPlot
(xArr,yArr,k=1.0)
data/ml/jqxxsz/sourceData/Ch08/regression.py:51
Methodmap
(self, mapperId, inVals)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:14
Methodmap
(self, key, val)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:15
Methodmap
(self, mapperId, inVals)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:34
Methodmap_fin
(self)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:44
Methodmap_final
(self)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:22
Methodmapper
(self, _, line)
data/ml/jqxxsz/sourceData/Ch15/wc.py:13
Methodmapper_final
(self)
data/ml/jqxxsz/sourceData/Ch15/wc.py:21
FunctionmassPlaceFind
(fileName)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:95
Functionmid_order
(root)
src/py2.x/algorithm/algo10_2.py:8
FunctionmineTweets
(tweetArr, minSup=5)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:145
FunctionmodelErr
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:43
FunctionmodelErr
Desc: 在给定数据集上计算误差。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回 yHat 和 Y 之间的平方误差。
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:275
FunctionmodelErr
Desc: 在给定数据集上计算误差。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回 yHat 和 Y 之间的平方误差。
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:197
FunctionmodelLeaf
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:39
FunctionmodelLeaf
Desc: 当数据不再需要切分的时候,生成叶节点的模型。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回得到的 回归系数ws
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:261
FunctionmodelLeaf
Desc: 当数据不再需要切分的时候,生成叶节点的模型。 Args: dataSet -- 输入数据集 Returns: 调用 linearSolve 函数,返回得到的 回归系数ws
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:183
FunctionmodelTreeEval
(model, inDat)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:116
FunctionmodelTreeEval
Desc: 对 模型树 进行预测 Args: model -- 输入模型,可选值为 回归树模型 或者 模型树模型,这里为模型树模型,实则为 回归系数 inDat -- 输入的测试数据 Returns: floa
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:338
FunctionmodelTreeEval
Desc: 对 模型树 进行预测 Args: model -- 输入模型,可选值为 回归树模型 或者 模型树模型,这里为模型树模型,实则为 回归系数 inDat -- 输入的测试数据 Returns: floa
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:267
FunctionmultiTest
()
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:108
Functionpca
(dataMat, topNfeat=9999999)
data/ml/jqxxsz/sourceData/Ch13/pca.py:14
FunctionpearsSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:34
FunctionplotBestFit
(weights)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:33
FunctionplotBestFit
(weights)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:134
FunctionplotDataSet
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:70
FunctionplotDataSet
()
src/py2.x/ml/jqxxsz/8.Regression/regression.py:42
FunctionplotDataSet
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:49
FunctionplotDataSet
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:50
FunctionplotDataSet1
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:155
FunctionplotDataSet1
(filename)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:156
FunctionplotROC
(predStrengths, classLabels)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:100
FunctionplotRegression
()
src/py2.x/ml/jqxxsz/8.Regression/regression.py:71
FunctionpntRules
(ruleList, itemMeaning)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:93
Functionprune
(tree, testData)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:94
Functionprune
Desc: 从上而下找到叶节点,用测试数据集来判断将这些叶节点合并是否能降低测试误差 Args: tree -- 待剪枝的树 testData -- 剪枝所需要的测试数据 testData Returns:
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:211
Functionquick_sort
(lst)
src/py2.x/algorithm/algo2_2.py:5
Functionquick_sort
(lst, left, right)
src/py2.x/algorithm/algo2_1.py:16
FunctionrandCent
(dataSet, k)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:20
Functionrecommend
(dataMat, user, N=3, simMeas=cosSim, estMethod=standEst)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:77
Methodreduce
(self, _, packedVals)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:18
Methodreduce
(self, key, packedValues)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:27
Methodreduce
(self, _, packedVals)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:54
Methodreducer
(self, key, values)
data/ml/jqxxsz/sourceData/Ch15/wc.py:26
FunctionregErr
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:25
FunctionregErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:57
FunctionregErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:75
FunctionregErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:78
FunctionregErr
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:76
FunctionregLeaf
(dataSet)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:22
FunctionregLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:49
FunctionregLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:67
FunctionregLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:72
FunctionregLeaf
(dataSet)
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:68
FunctionregTreeEval
(model, inDat)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:113
FunctionregTreeEval
Desc: 对 回归树 进行预测 Args: model -- 指定模型,可选值为 回归树模型 或者 模型树模型,这里为回归树 inDat -- 输入的测试数据 Returns: float(model) --
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:322
FunctionregTreeEval
Desc: 对 回归树 进行预测 Args: model -- 指定模型,可选值为 回归树模型 或者 模型树模型,这里为回归树 inDat -- 输入的测试数据 Returns: float(model) --
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:171
Functionregularize
(xMat, yMat)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:86
FunctionreplaceNanWithMean
()
data/ml/jqxxsz/sourceData/Ch13/pca.py:26
FunctionretrieveTree
(i)
data/ml/jqxxsz/sourceData/Ch03/treePlotter.py:82
FunctionretrieveTree
(i)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:136
FunctionselectJK
(i, oS, Ei)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:278
FunctionseqPegasos
(dataSet, labels, lam, T)
data/ml/jqxxsz/sourceData/Ch15/pegasos.py:19
FunctionsetDataCollect
()
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:147
FunctionsetDataCollect
(retX, retY)
data/ml/jqxxsz/sourceData/Ch08/regression.py:170
FunctionshowDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:38
FunctionshowDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:40
FunctionshowDataSet
(dataMat,labelMat)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:40
Functionshowdatas
(datingDataMat, datingLabels)
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo01.py:67
FunctionsmoPK
(dataMatIn, classLabels, C, toler, maxIter)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:327
FunctionsmoSimple
(dataMatIn, classLabels, C, toler, maxIter)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:31
Functionsort
(data)
src/py2.x/algorithm/algo6.py:18
FunctionspamTest
()
data/ml/jqxxsz/sourceData/Ch04/bayes.py:83
FunctionstageWise
(xArr,yArr,eps=0.01,numIt=100)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:93
FunctionstageWise
(xArr,yArr,eps=0.01,numIt=100)
data/ml/jqxxsz/sourceData/Ch08/regression.py:93
FunctionstandEst
(dataMat, user, simMeas, item)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:43
FunctionstandRegres
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:21
FunctionstandRegres
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/regression.py:21
Methodsteps
(self)
data/ml/jqxxsz/sourceData/Ch15/py27dbg.py:21
← previousnext →301–400 of 414, ranked by callers