MCPcopy Create free account

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

Functions414 in github.com/aimi-cn/AILearners

↓ 1 callersMethodGetUglyNumber
(self, array)
src/py2.x/algorithm/algo5_1.py:15
↓ 1 callersFunctionPartition
(lst, left, right)
src/py2.x/algorithm/algo2_1.py:4
↓ 1 callersFunctionadaBoostTrainDS
(dataArr, classLabels, numIt = 40)
src/py2.x/ml/jqxxsz/7.AdaBoost/horse_adaboost.py:100
↓ 1 callersFunctionadaBoostTrainDS
(dataArr, classLabels, numIt = 40)
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:123
↓ 1 callersFunctionadaClassify
(datToClass,classifierArr)
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:158
↓ 1 callersFunctionascendTree
(leafNode, prefixPath)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:72
↓ 1 callersFunctionautoNorm
(dataSet)
data/ml/jqxxsz/sourceData/Ch02/kNN.py:52
↓ 1 callersFunctionbatchPegasos
(dataSet, labels, lam, T, k)
data/ml/jqxxsz/sourceData/Ch15/pegasos.py:35
↓ 1 callersMethodbeginToScrapy
(self,page_num,proxies)
src/py3.x/others/fm/19.08.26/csdn.py:83
↓ 1 callersFunctionbiKmeans
(dataSet, k, distMeas=distEclud)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:51
↓ 1 callersFunctionbuildStump
(dataArr,classLabels,D)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:26
↓ 1 callersFunctionbuildStump
(dataArr,classLabels,D)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:39
↓ 1 callersFunctionbuildStump
(dataArr,classLabels,D)
src/py2.x/ml/jqxxsz/7.AdaBoost/horse_adaboost.py:56
↓ 1 callersFunctionbuildStump
(dataArr,classLabels,D)
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:79
↓ 1 callersFunctioncalcMostFreq
(vocabList,fullText)
data/ml/jqxxsz/sourceData/Ch04/bayes.py:114
↓ 1 callersFunctioncalcWs
计算w Parameters: dataArr - 数据矩阵 classLabels - 数据标签 alphas - alphas值 Returns: w - 计算得到的w
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:272
↓ 1 callersFunctionchooseBestFeatureToSplit
(dataSet)
data/ml/jqxxsz/sourceData/Ch03/trees.py:41
↓ 1 callersFunctionchooseBestFeatureToSplit
(dataSet)
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:143
↓ 1 callersFunctionchooseBestSplit
(dataSet, leafType=regLeaf, errType=regErr, ops=(1,4))
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:48
↓ 1 callersFunctionchooseBestSplit
(dataSet, leafType = regLeaf, errType = regErr, ops = (1,4))
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:69
↓ 1 callersFunctionchooseBestSplit
(dataSet, leafType = regLeaf, errType = regErr, ops = (1,4))
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:87
↓ 1 callersFunctionchooseBestSplit
chooseBestSplit(用最佳方式切分数据集 和 生成相应的叶节点) Args: dataSet 加载的原始数据集 leafType 建立叶子点的函数 errType 误差计算函数(求总方差) ops
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:85
↓ 1 callersFunctionchooseBestSplit
(dataSet, leafType = regLeaf, errType = regErr, ops = (1,4))
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:88
↓ 1 callersFunctionclassify
(inputTree, featLabels, testVec)
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:270
↓ 1 callersFunctionclassify1
inX: 用于分类的输入向量 输入的测试数据 dataSet:输入的训练样本 lables:标签向量 k:选择最近邻居的数目 通常小于20 注意:labels元素数目和dataSet行数相同;程序使用欧式距离公式. 预测数据所在分类可在输入下列命令
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:131
↓ 1 callersFunctionclassifyPerson
()
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo01.py:197
↓ 1 callersFunctionclassifyVector
(inX, weights)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:79
↓ 1 callersFunctionclipAlpha
修剪alpha_j Parameters: aj - alpha_j的值 H - alpha上限 L - alpha下限 Returns: aj - 修剪后的alpah_j的值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:149
↓ 1 callersFunctionclipAlpha
修剪alpha_j Parameters: aj - alpha_j的值 H - alpha上限 L - alpha下限 Returns: aj - 修剪后的alpah_j的值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:123
↓ 1 callersFunctionclipAlpha
修剪alpha_j Parameters: aj - alpha_j的值 H - alpha上限 L - alpha下限 Returns: aj - 修剪后的alpah_j的值
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:170
↓ 1 callersFunctionclipAlpha
(aj,H,L)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:79
↓ 1 callersFunctioncolicTest
()
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:84
↓ 1 callersFunctioncolicTest
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo01.py:86
↓ 1 callersFunctioncolicTest
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo02.py:16
↓ 1 callersFunctioncolicTest1
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo01.py:111
↓ 1 callersFunctioncreatDataSet
|不浮出水面可以生存| 是否有脚蹼 |属于鱼类 |1-是----------------------|-是------------|是 |2-是---------------------  |-是------------|是 |3-是----------------
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:28
↓ 1 callersFunctioncreateC1
(dataSet)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:11
↓ 1 callersFunctioncreateDataSet
创建数据集和标签 调用方式 import kNN group, labels = kNN.createDataSet()
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:25
↓ 1 callersFunctioncreateInitSet
(dataSet)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:113
↓ 1 callersFunctioncreateTree
(dataSet, labels)
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:227
↓ 1 callersFunctioncreateTree
(dataSet, leafType = regLeaf, errType = regErr, ops = (1, 4))
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:116
↓ 1 callersFunctioncreateTree
(dataSet, leafType = regLeaf, errType = regErr, ops = (1, 4))
src/py2.x/ml/jqxxsz/9.RegTrees/regTrees.py:134
↓ 1 callersFunctioncreateTree
(dataSet, leafType = regLeaf, errType = regErr, ops = (1, 4))
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:135
↓ 1 callersFunctioncreateVocabList
(dataSet)
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:38
↓ 1 callersFunctionf_prime
(x_old)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:24
↓ 1 callersFunctionfile2matrix
(filename)
data/ml/jqxxsz/sourceData/Ch02/kNN.py:37
↓ 1 callersFunctionfindPrefixPath
(basePat, treeNode)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:77
↓ 1 callersFunctionfishTest
()
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:314
↓ 1 callersFunctiongeoGrab
(stAddress, city)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:82
↓ 1 callersFunctiongetInputs
()
data/ml/jqxxsz/sourceData/Ch09/treeExplore.py:27
↓ 1 callersFunctiongetMean
(tree)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:89
↓ 1 callersFunctiongetMean
(tree)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:146
↓ 1 callersFunctiongetMean
Desc: 从上往下遍历树直到叶节点为止,如果找到两个叶节点则计算它们的平均值。 对 tree 进行塌陷处理,即返回树平均值。 Args: tree -- 输入的树 Returns: 返回 tree 节点的平均
src/py2.x/ml/jqxxsz/9.RegTrees/demo.py:193
↓ 1 callersMethodgetOriginalArticalNums
(self,proxies)
src/py3.x/others/fm/19.08.26/csdn.py:34
↓ 1 callersMethodgetScrapyPageNums
(self,nums)
src/py3.x/others/fm/19.08.26/csdn.py:61
↓ 1 callersFunctiongetTreeDepth
(myTree)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:39
↓ 1 callersFunctionget_ip_list
(url, headers)
src/py3.x/others/fm/19.08.26/csdn.py:109
↓ 1 callersFunctionget_random_ip
(ip_list)
src/py3.x/others/fm/19.08.26/csdn.py:123
↓ 1 callersFunctionget_w
(dataMat, labelMat, alphas)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:199
↓ 1 callersFunctiongradAscent
(dataMatIn, classLabels)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo01.py:32
↓ 1 callersFunctiongradAscent2
(dataMatIn, classLabels)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:226
↓ 1 callersFunctionhandwritingClassTest
()
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo03.py:48
↓ 1 callersFunctionhandwritingClassTest
()
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo02.py:40
↓ 1 callersFunctionhandwritingClassTest
手写数字分类测试 Parameters: 无 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm_svc.py:42
↓ 1 callersFunctionimg2vector
(filename)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:208
↓ 1 callersFunctionimg2vector
将32x32的二进制图像转换为1x1024向量。 Parameters: filename - 文件名 Returns: returnVect - 返回的二进制图像的1x1024向量
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:260
↓ 1 callersMethodinc
(self, numOccur)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:21
↓ 1 callersFunctionkMeans
(dataSet, k, distMeas=distEclud, createCent=randCent)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:29
↓ 1 callersFunctionloadDataSet
(fileName, delim='\t')
data/ml/jqxxsz/sourceData/Ch13/pca.py:8
↓ 1 callersFunctionloadDataSet
()
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:8
↓ 1 callersFunctionloadDataSet
(fileName)
data/ml/jqxxsz/sourceData/Ch15/pegasos.py:9
↓ 1 callersFunctionloadDataSet
()
data/ml/jqxxsz/sourceData/Ch04/bayes.py:8
↓ 1 callersFunctionloadDataSet
(fileName)
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:24
↓ 1 callersFunctionloadDataSet
(fileName)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:24
↓ 1 callersFunctionloadDataSet
(fileName)
src/py2.x/ml/jqxxsz/8.Regression/abalone.py:24
↓ 1 callersFunctionloadDataSet
读取数据 Parameters: fileName - 文件名 Returns: dataMat - 数据矩阵 labelMat - 数据标签
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:38
↓ 1 callersFunctionloadDataSet
(filename)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:24
↓ 1 callersFunctionloadDataSet
()
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:23
↓ 1 callersFunctionloadSimpData
()
src/py2.x/ml/jqxxsz/7.AdaBoost/AdaBoost01.py:23
↓ 1 callersFunctionlocalWords
(feed1,feed0)
data/ml/jqxxsz/sourceData/Ch04/bayes.py:122
↓ 1 callersFunctionlwlr
(testPoint, xArr, yArr, k = 1.0)
src/py2.x/ml/jqxxsz/8.Regression/abalone.py:45
↓ 1 callersFunctionlwlr
(testPoint, xArr, yArr, k = 1.0)
src/py2.x/ml/jqxxsz/8.Regression/regression.py:95
↓ 1 callersFunctionmajorityCnt
(classList)
data/ml/jqxxsz/sourceData/Ch03/trees.py:59
↓ 1 callersFunctionmajorityCnt
(classList)
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:202
↓ 1 callersFunctionmerge
(num1, num2)
src/py2.x/algorithm/algo6.py:4
↓ 1 callersFunctionmineTree
(inTree, headerTable, minSup, preFix, freqItemList)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:87
↓ 1 callersFunctionplotTree
(myTree, parentPt, nodeTxt)
data/ml/jqxxsz/sourceData/Ch03/treePlotter.py:43
↓ 1 callersFunctionplotTree
(myTree, parentPt, nodeTxt)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:67
↓ 1 callersFunctionplotWeights
(weights_array1,weights_array2)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:243
↓ 1 callersFunctionplotlwlrRegression
()
src/py2.x/ml/jqxxsz/8.Regression/regression.py:129
↓ 1 callersFunctionplotstageWiseMat
()
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:100
↓ 1 callersFunctionplotwMat
()
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:79
↓ 1 callersFunctionprune
(tree, testData)
src/py2.x/ml/jqxxsz/9.RegTrees/treePruning.py:157
↓ 1 callersFunctionread_input
(file)
data/ml/jqxxsz/sourceData/Ch15/mrMeanReducer.py:9
↓ 1 callersFunctionread_input
(file)
data/ml/jqxxsz/sourceData/Ch15/mrMeanMapper.py:11
↓ 1 callersFunctionregularize
(xMat)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:86
↓ 1 callersFunctionregularize
(xMat)
data/ml/jqxxsz/sourceData/Ch08/regression.py:86
↓ 1 callersFunctionregularize
(xMat, yMat)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:44
↓ 1 callersFunctionreverseWords
(s)
src/py2.x/ml/jqxxsz/1.MLFoundation/test.py:28
↓ 1 callersFunctionridgeRegres
(xMat,yMat,lam=0.2)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:62
← previousnext →101–200 of 414, ranked by callers