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
↓ 1 callers
Function
ridgeRegres
(xMat,yMat,lam=0.2)
data/ml/jqxxsz/sourceData/Ch08/regression.py:62
↓ 1 callers
Function
ridgeRegres
(xMat, yMat, lam = 0.2)
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:44
↓ 1 callers
Function
ridgeRegres
(xMat, yMat, lam = 0.2)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:145
↓ 1 callers
Function
ridgeTest
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:71
↓ 1 callers
Function
ridgeTest
(xArr,yArr)
data/ml/jqxxsz/sourceData/Ch08/regression.py:71
↓ 1 callers
Function
ridgeTest
(xArr, yArr)
src/py2.x/ml/jqxxsz/8.Regression/regression02.py:59
↓ 1 callers
Function
rssError
(yArr,yHatArr)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:60
↓ 1 callers
Function
rssError
(yArr,yHatArr)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:105
↓ 1 callers
Function
rulesFromConseq
(freqSet, H, supportData, brl, minConf=0.7)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:85
↓ 1 callers
Function
selectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:109
↓ 1 callers
Function
selectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:83
↓ 1 callers
Function
selectJ
内循环启发方式2 Parameters: i - 标号为i的数据的索引值 oS - 数据结构 Ei - 标号为i的数据误差 Returns: j, maxK - 标号为j或maxK的数据的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:131
↓ 1 callers
Function
selectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:94
↓ 1 callers
Function
selectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:68
↓ 1 callers
Function
selectJrand
函数说明:随机选择alpha_j的索引值 Parameters: i - alpha_i的索引值 m - alpha参数个数 Returns: j - alpha_j的索引值
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:116
↓ 1 callers
Function
selectJrand
(i, m)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:65
↓ 1 callers
Function
setDataCollect
(retX, retY)
src/py2.x/ml/jqxxsz/8.Regression/lego/Sklearn_lego.py:73
↓ 1 callers
Function
showClassifer
分类结果可视化 Parameters: dataMat - 数据矩阵 w - 直线法向量 b - 直线解决 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:233
↓ 1 callers
Function
showClassifer
(dataMat, w, b)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:163
↓ 1 callers
Function
smoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:222
↓ 1 callers
Function
smoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm_demo01.py:196
↓ 1 callers
Function
smoP
完整的线性SMO算法 Parameters: dataMatIn - 数据矩阵 classLabels - 数据标签 C - 松弛变量 toler - 容错率 maxIter - 最大迭代次数
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:243
↓ 1 callers
Function
smoSimple
(dataMatIn, classLabels, C, toler, maxIter)
src/py2.x/ml/jqxxsz/6.SVM/svm.py:95
↓ 1 callers
Function
stageWise
(xArr, yArr, eps = 0.01, numIt = 100)
src/py2.x/ml/jqxxsz/8.Regression/regression03.py:71
↓ 1 callers
Function
standRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/abalone.py:84
↓ 1 callers
Function
standRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/regression.py:61
↓ 1 callers
Function
standRegres
(xArr,yArr)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:114
↓ 1 callers
Function
stocGradAscent1
(dataMatrix, classLabels, numIter=150)
data/ml/jqxxsz/sourceData/Ch05/logRegres.py:65
↓ 1 callers
Function
stocGradAscent1
(dataMatrix, classLabels)
data/ml/jqxxsz/sourceData/Ch05/EXTRAS/plotSDerror.py:25
↓ 1 callers
Function
stocGradAscent1
(dataMatrix, classLabels, numIter=150)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic_demo01.py:62
↓ 1 callers
Function
stocGradAscent2
(dataMatrix, classLabels, numIter=150)
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:209
↓ 1 callers
Function
stumpClassify
(dataMatrix,dimen,threshVal,threshIneq)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:17
↓ 1 callers
Function
test1
()
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:36
↓ 1 callers
Function
testDigits
测试函数 Parameters: kTup - 包含核函数信息的元组 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm_demo02.py:299
↓ 1 callers
Function
testRbf
测试函数 Parameters: k1 - 使用高斯核函数的时候表示到达率 Returns: 无
src/py2.x/ml/jqxxsz/6.SVM/svm2.py:280
↓ 1 callers
Function
testingNB
()
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:158
↓ 1 callers
Function
textParse
(bigString)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:123
↓ 1 callers
Function
trainNB1
训练数据优化版本 :param trainMatrix: 文件单词矩阵 :param trainCategory: 文件对应的类别 :return:
src/py2.x/ml/jqxxsz/4.NaiveBayes/NaiveBayesDemo01.py:93
↓ 1 callers
Function
treeForeCast
(tree, inData, modelEval=regTreeEval)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:122
↓ 1 callers
Function
updateHeader
(nodeToTest, targetNode)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:67
↓ 1 callers
Function
updateTree
(items, inTree, headerTable, count)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:55
↓ 1 callers
Function
usesklearn
()
src/py2.x/ml/jqxxsz/8.Regression/lego/Sklearn_lego.py:86
Function
Binary_Search
(lst, num)
src/py2.x/algorithm/algo3.py:4
Function
Fibonacci
(n)
src/py2.x/algorithm/algo4_1.py:4
Function
FindFirstCommonNode
(self, pHead1, pHead2)
src/py2.x/algorithm/algo8.py:4
Method
GetUglyNumber_Solution
(self, index)
src/py2.x/algorithm/algo5_2.py:5
Method
GetUglyNumber_Solution
(self, index)
src/py2.x/algorithm/algo5_1.py:5
Function
Gradient_Ascent_test
()
src/py2.x/ml/jqxxsz/5.Logistic/Logistic.py:22
Function
ReverseList
(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
Function
adaBoostTrain
(dataArr,classLabels,numIt=40)
data/ml/jqxxsz/sourceData/Ch07/old_adaboost.py:51
Function
adaBoostTrainDS
(dataArr,classLabels,numIt=40)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:64
Function
adaClassify
(datToClass,classifierArr)
data/ml/jqxxsz/sourceData/Ch07/adaboost.py:88
Function
apriori
(dataSet, minSupport = 0.5)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:50
Function
bubble_sort
(lst)
src/py2.x/algorithm/algo1.py:4
Function
calcEkK
(oS, k)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:273
Function
calcWs
(alphas,dataArr,classLabels)
data/ml/jqxxsz/sourceData/Ch06/svmMLiA.py:175
Function
classify
(inputTree,featLabels,testVec)
data/ml/jqxxsz/sourceData/Ch03/trees.py:84
Function
classify0
inX: 用于分类的输入向量 输入的测试数据 dataSet:输入的训练样本 lables:标签向量 k:选择最近邻居的数目 通常小于20 注意:labels元素数目和dataSet行数相同;程序使用欧式距离公式. 预测数据所在分类可在输入下列命令
src/py2.x/ml/jqxxsz/2.KNN/KNN.py:51
Function
clusterClubs
(numClust=5)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:118
Method
configure_options
(self)
data/ml/jqxxsz/sourceData/Ch15/mrSVM.py:25
Function
cosSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:38
Function
createDataSet
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:32
Function
createDataSet
()
data/ml/jqxxsz/sourceData/Ch03/trees.py:9
Function
createForeCast
(tree, testData, modelEval=regTreeEval)
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:131
Function
createForeCast
Desc: 调用 treeForeCast ,对特定模型的树进行预测,可以是 回归树 也可以是 模型树 Args: tree -- 已经训练好的树的模型 testData -- 输入的测试数据 modelEval --
src/py2.x/ml/jqxxsz/9.RegTrees/modelTree.py:242
Function
createPlot
(inTree)
data/ml/jqxxsz/sourceData/Ch03/treePlotter.py:62
Function
createPlot
(inTree)
src/py2.x/ml/jqxxsz/3.DecisionTree/decisionTreePlot.py:102
Function
createTree
(dataSet, leafType=regLeaf, errType=regErr, ops=(1,4))
data/ml/jqxxsz/sourceData/Ch09/regTrees.py:75
Function
createTree
(dataSet,labels)
data/ml/jqxxsz/sourceData/Ch03/trees.py:67
Function
crossValidation
(xArr,yArr,numVal=10)
data/ml/jqxxsz/sourceData/Ch08/Old_regression.py:155
Function
crossValidation
(xArr,yArr,numVal=10)
data/ml/jqxxsz/sourceData/Ch08/regression.py:178
Function
crossValidation
(xArr, yArr, numVal = 10)
src/py2.x/ml/jqxxsz/8.Regression/lego/lego.py:161
Function
datingClassTest
()
data/ml/jqxxsz/sourceData/Ch02/kNN.py:62
Function
datingClassTest
()
src/py2.x/ml/jqxxsz/2.KNN/KNN_demo01.py:163
Method
disp
(self, ind=1)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:24
Function
distEclud
(vecA, vecB)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:17
Function
distSLC
(vecA, vecB)
data/ml/jqxxsz/sourceData/Ch10/kMeans.py:110
Function
drawNewTree
()
data/ml/jqxxsz/sourceData/Ch09/treeExplore.py:42
Function
ecludSim
(inA,inB)
data/ml/jqxxsz/sourceData/Ch14/svdRec.py:31
Function
fib
(n)
src/py2.x/algorithm/algo4_2.py:4
Method
forward
(self, x)
src/py3.x/others/fm/19.05.25/kaggle.py:54
Function
generateRules
(L, supportData, minConf=0.7)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:64
Function
getActionIds
()
data/ml/jqxxsz/sourceData/Ch11/apriori.py:108
Function
getLotsOfTweets
(searchStr)
data/ml/jqxxsz/sourceData/Ch12/fpGrowth.py:128
Function
getTopWords
(ny,sf)
data/ml/jqxxsz/sourceData/Ch04/bayes.py:157
Function
getTransList
(actionIdList, billTitleList)
data/ml/jqxxsz/sourceData/Ch11/apriori.py:127
Function
get_tree_height
Desc: 递归获得决策树的高度 Args: tree Returns: 树高
src/py2.x/ml/jqxxsz/3.DecisionTree/DecisionTree_demo01.py:288
Function
grabTree
(filename)
data/ml/jqxxsz/sourceData/Ch03/trees.py:101
← previous
next →
201–300 of 414, ranked by callers