首页
学习
活动
专区
工具
TVP
发布

翻译scikit-learn Cookbook

学习sklearn
专栏作者
78
文章
52851
阅读量
15
订阅数
【云+社区年度征文】Python调整excel表格的格式
背景:由于工作原因,需要根据excel表格里的不同数据,配置不同颜色或样式给领导,由于excel有多张表格,并且是每个月都要做的工作,故考虑用Python实现。
到不了的都叫做远方
2020-12-18
9230
数据结构学习-python实现-优先队列--0417
class PriorityQueue: def __init__(self): self.heap_array = [(0, 0)] self.current_size = 0 def build_heap(self, alist): self.current_size = len(alist) self.heap_array = [(0, 0)] for x in alist: s
到不了的都叫做远方
2020-04-17
2850
数据结构学习-python实现-二叉搜索树--0415
二叉查找树的生成,以及增删查,删除最为复杂,考虑的情况特别多,左右子树,容易把人弄乱。最重要的是删除后,需要将其右子树的最小值补充过来,有一番替换的过程。
到不了的都叫做远方
2020-04-15
4330
数据结构学习-python实现-树--0414
树的实战应用:解析树。 import stack # 之前写好的栈 import binarytree # 之前写好的二叉树 import operator # 处理运算符 def buildparsetree(fpexp): print(fpexp) # 打印输入,避免出问题,例如不符合解析形式,这段代码必须是全括号。 fplist = list(fpexp) pstack = stack.Stack() etree = binarytree.BinaryTre
到不了的都叫做远方
2020-04-14
4820
Poor man's grid search穷举网格搜索
In this recipe, we're going to introduce grid search with basic Python, though we will use sklearn for the models and matplotlib for the visualization.
到不了的都叫做远方
2019-12-16
7860
Cross validation with ShuffleSplit使用ShuffleSplit做交叉验证
ShuffleSplit is one of the simplest cross validation techniques. This cross validation technique will simply take a sample of the data for the number of iterations specified.
到不了的都叫做远方
2019-12-11
9280
Using LDA for classification使用LDA线性判别分析来分类
Linear Discriminant Analysis (LDA) attempts to fit a linear combination of features to predict the outcome variable. LDA is often used as a preprocessing step. We'll walk through both methods in this recipe.
到不了的都叫做远方
2019-12-03
6980
Using KMeans to cluster data使用K均值来聚类数据
Clustering is a very useful technique. Often, we need to divide and conquer when taking actions. Consider a list of potential customers for a business. A business might need to group customers into cohorts, and then departmentalize responsibilities for these cohorts.Clustering can help facilitate the clustering process.KMeans is probably one of the most well-known clustering algorithms and, in a larger sense, one of the most well-known unsupervised learning techniques.
到不了的都叫做远方
2019-11-20
7870
Taking a more fundamental approach to regularization with LARS
To borrow from Gilbert Strang's evaluation of the Gaussian elimination, LARS is an idea you probably would've considered eventually had it not been discovered previously by Efron, Hastie, Johnstone, and Tibshiriani in their works[1].
到不了的都叫做远方
2019-11-15
3190
Evaluating the linear regression model评估线性回归模型
In this recipe, we'll look at how well our regression fits the underlying data. We fit a regression in the last recipe, but didn't pay much attention to how well we actually did it. The first question after we fit the model was clearly "How well does the m
到不了的都叫做远方
2019-11-11
9000
Defining the Gaussian process object directly直接定义高斯过程对象
We just touched the surface of Gaussian processes. In this recipe, we'll look at how we can directly access the Gaussian process object with the correlation function we want.
到不了的都叫做远方
2019-11-08
3220
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档