MCPcopy Create free account

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

Functions414 in github.com/aimi-cn/AILearners

↓ 1 callersFunctionridgeRegres
(xMat,yMat,lam=0.2)
data/ml/jqxxsz/sourceData/Ch08/regression.py:62
↓ 1 callersFunctionridgeRegres
(xMat, yMat, lam = 0.2)
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:44
↓ 1 callersFunctionridgeRegres
(xMat, yMat, lam = 0.2)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:145
↓ 1 callersFunctionridgeTest
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:71
↓ 1 callersFunctionridgeTest
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/regression.py:71
↓ 1 callersFunctionridgeTest
(xArr, yArr)
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:59
↓ 1 callersFunctionrssError
(yArr,yHatArr)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:60
↓ 1 callersFunctionrssError
(yArr,yHatArr)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:105
↓ 1 callersFunctionrulesFromConseq
(freqSet, H, supportData, brl, minConf=0.7)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:85
↓ 1 callersFunctionselectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:109
↓ 1 callersFunctionselectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:83
↓ 1 callersFunctionselectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:131
↓ 1 callersFunctionselectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:94
↓ 1 callersFunctionselectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:68
↓ 1 callersFunctionselectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:116
↓ 1 callersFunctionselectJrand
(i, m)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:65
↓ 1 callersFunctionsetDataCollect
(retX, retY)
src/py2.x/ml/jqxxsz/8.Regression/lego/Sklearn_lego.py:73
↓ 1 callersFunctionshowClassifer
分类结果可视化 Parameters: dataMat - 数据矩阵 w - 直线法向量 b - 直线解决 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:233
↓ 1 callersFunctionshowClassifer
(dataMat, w, b)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:163
↓ 1 callersFunctionsmoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:222
↓ 1 callersFunctionsmoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:196
↓ 1 callersFunctionsmoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:243
↓ 1 callersFunctionsmoSimple
(dataMatIn, classLabels, C, toler, maxIter)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:95
↓ 1 callersFunctionstageWise
(xArr, yArr, eps = 0.01, numIt = 100)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:71
↓ 1 callersFunctionstandRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/abalone.py:84
↓ 1 callersFunctionstandRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/regression.py:61
↓ 1 callersFunctionstandRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:114
↓ 1 callersFunctionstocGradAscent1
(dataMatrix, classLabels, numIter=150)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:65
↓ 1 callersFunctionstocGradAscent1
(dataMatrix, classLabels)
data/ml/jqxxsz/sourceData/Ch05/EXTRAS/plotSDerror.py:25
↓ 1 callersFunctionstocGradAscent1
(dataMatrix, classLabels, numIter=150)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo01.py:62
↓ 1 callersFunctionstocGradAscent2
(dataMatrix, classLabels, numIter=150)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:209
↓ 1 callersFunctionstumpClassify
(dataMatrix,dimen,threshVal,threshIneq)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:17
↓ 1 callersFunctiontest1
()
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:36
↓ 1 callersFunctiontestDigits
测试函数 Parameters: kTup - 包含核函数信息的元组 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:299
↓ 1 callersFunctiontestRbf
测试函数 Parameters: k1 - 使用高斯核函数的时候表示到达率 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:280
↓ 1 callersFunctiontestingNB
()
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:158
↓ 1 callersFunctiontextParse
(bigString)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:123
↓ 1 callersFunctiontrainNB1
训练数据优化版本 :param trainMatrix: 文件单词矩阵 :param trainCategory: 文件对应的类别 :return:
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:93
↓ 1 callersFunctiontreeForeCast
(tree, inData, modelEval=regTreeEval)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:122
↓ 1 callersFunctionupdateHeader
(nodeToTest, targetNode)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:67
↓ 1 callersFunctionupdateTree
(items, inTree, headerTable, count)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:55
↓ 1 callersFunctionusesklearn
()
src/py2.x/ml/jqxxsz/8.Regression/lego/Sklearn_lego.py:86
FunctionBinary_Search
(lst, num)
src/py2.x/algorithm/algo3.py:4
FunctionFibonacci
(n)
src/py2.x/algorithm/algo4_1.py:4
FunctionFindFirstCommonNode
(self, pHead1, pHead2)
src/py2.x/algorithm/algo8.py:4
MethodGetUglyNumber_Solution
(self, index)
src/py2.x/algorithm/algo5_2.py:5
MethodGetUglyNumber_Solution
(self, index)
src/py2.x/algorithm/algo5_1.py:5
FunctionGradient_Ascent_test
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:22
FunctionReverseList
(self, pHead)
src/py2.x/algorithm/algo9.py:4
Method__init__
(self, *args, **kwargs)
data/ml/jqxxsz/sourceData/Ch15/wc.py:7
Method__init__
(self, *args, **kwargs)
data/ml/jqxxsz/sourceData/Ch15/mrMean.py:9
Method__init__
(self, *args, **kwargs)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:15
Method__init__
(self,dataMatIn, classLabels, C, toler, kTup)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:86
Method__init__
(self,dataMatIn, classLabels, C, toler)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:263
Method__init__
(self, nameValue, numOccur, parentNode)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:14
Method__init__
(self, x)
src/py2.x/algorithm/algo10_1.py:9
Method__init__
(self, dataMatIn, classLabels, C, toler, kTup)
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:30
Method__init__
(self, dataMatIn, classLabels, C, toler)
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:28
Method__init__
(self, dataMatIn, classLabels, C, toler, kTup)
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:69
Method__init__
(self)
src/py3.x/others/fm/19.05.25/kaggle.py:34
Method__init__
init 类似于构造函数 param[in]:blogname:博客名
src/py3.x/others/fm/19.08.26/csdn.py:27
FunctionadaBoostTrain
(dataArr,classLabels,numIt=40)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:51
FunctionadaBoostTrainDS
(dataArr,classLabels,numIt=40)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:64
FunctionadaClassify
(datToClass,classifierArr)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:88
Functionapriori
(dataSet, minSupport = 0.5)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:50
Functionbubble_sort
(lst)
src/py2.x/algorithm/algo1.py:4
FunctioncalcEkK
(oS, k)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:273
FunctioncalcWs
(alphas,dataArr,classLabels)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:175
Functionclassify
(inputTree,featLabels,testVec)
data/ml/jqxxsz/sourceData/Ch03/trees.py:84
Functionclassify0
inX: 用于分类的输入向量 输入的测试数据 dataSet:输入的训练样本 lables:标签向量 k:选择最近邻居的数目 通常小于20 注意:labels元素数目和dataSet行数相同;程序使用欧式距离公式. 预测数据所在分类可在输入下列命令
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:51
FunctionclusterClubs
(numClust=5)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:118
Methodconfigure_options
(self)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:25
FunctioncosSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:38
FunctioncreateDataSet
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:32
FunctioncreateDataSet
()
data/ml/jqxxsz/sourceData/Ch03/trees.py:9
FunctioncreateForeCast
(tree, testData, modelEval=regTreeEval)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:131
FunctioncreateForeCast
Desc: 调用 treeForeCast ,对特定模型的树进行预测,可以是 回归树 也可以是 模型树 Args: tree -- 已经训练好的树的模型 testData -- 输入的测试数据 modelEval --
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:242
FunctioncreatePlot
(inTree)
data/ml/jqxxsz/sourceData/Ch03/treePlotter.py:62
FunctioncreatePlot
(inTree)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:102
FunctioncreateTree
(dataSet, leafType=regLeaf, errType=regErr, ops=(1,4))
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:75
FunctioncreateTree
(dataSet,labels)
data/ml/jqxxsz/sourceData/Ch03/trees.py:67
FunctioncrossValidation
(xArr,yArr,numVal=10)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:155
FunctioncrossValidation
(xArr,yArr,numVal=10)
data/ml/jqxxsz/sourceData/Ch08/regression.py:178
FunctioncrossValidation
(xArr, yArr, numVal = 10)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:161
FunctiondatingClassTest
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:62
FunctiondatingClassTest
()
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo01.py:163
Methoddisp
(self, ind=1)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:24
FunctiondistEclud
(vecA, vecB)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:17
FunctiondistSLC
(vecA, vecB)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:110
FunctiondrawNewTree
()
data/ml/jqxxsz/sourceData/Ch09/treeExplore.py:42
FunctionecludSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:31
Functionfib
(n)
src/py2.x/algorithm/algo4_2.py:4
Methodforward
(self, x)
src/py3.x/others/fm/19.05.25/kaggle.py:54
FunctiongenerateRules
(L, supportData, minConf=0.7)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:64
FunctiongetActionIds
()
data/ml/jqxxsz/sourceData/Ch11/apriori.py:108
FunctiongetLotsOfTweets
(searchStr)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:128
FunctiongetTopWords
(ny,sf)
data/ml/jqxxsz/sourceData/Ch04/bayes.py:157
FunctiongetTransList
(actionIdList, billTitleList)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:127
Functionget_tree_height
Desc: 递归获得决策树的高度 Args: tree Returns: 树高
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:288
FunctiongrabTree
(filename)
data/ml/jqxxsz/sourceData/Ch03/trees.py:101
← previousnext →201–300 of 414, ranked by callers