![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
zz__dm
算法交流群纯数学:232875138
网店:qaz18860132144
抖音:Quester
V:zjx19925-6
展开
-
spearman 优化算法
算法交流群纯数学:232875138spearman 优化算法set.seed(0)x <- runif(100)y <- runif(100)cor(x, y, method="spearman") # our reference value## [1] 0.01018902ranked.x <- scale(rank(x)) / sqrt(length(x) - 1) / 2ranked.y <- scale(rank(y)) / sqrt(length(y翻译 2021-03-14 21:21:24 · 335 阅读 · 0 评论 -
朴素贝叶斯--(高斯朴素贝叶斯)
import numpy as npimport pandas as pdimport randomimport osimport scipy.statsos.chdir(r'D:\Python 练习')dataSet = pd.read_csv('iris.csv')def randSplit(dataSet,rate): l=list(dataSet.inde...原创 2020-01-13 11:12:40 · 355 阅读 · 0 评论 -
fp-growth 最详细教程
参考代码:https://blog.csdn.net/baixiangxue/article/details/80335469class treeNode: def __init__(self,nameValue,numOccur,parentNode): self.name = nameValue #名字变量 self.count = nu...原创 2020-01-13 10:52:01 · 487 阅读 · 0 评论