一些暂时不知道怎么分类的问题合集
文章平均质量分 81
qq_41835091
这个作者很懒,什么都没留下…
展开
-
Python常用技巧汇总(持续更新)
窗口函数rolling()自建数据:import pandas as pddf = pd.DataFrame({"a": [10, 20, 10, 60, 40, 20, 50]})df输出:a010120210360440520650下进行如下操作:b: 逐三行求和c: 逐三行求和并放置在中间行(两行的中间行是靠下的那个)d: 逐三行求最大e: 逐三行求最小f: 逐三行求均值df['b'] = df['a原创 2021-12-27 23:15:18 · 552 阅读 · 0 评论 -
jieba如何自行 split 或 join ?
目录jieba.suggest_freq()源码split关键运行过程解释注意:使用此函数也有可能分不开join关键运行过程解释jieba.add_word()&del_word()源码参考文献jieba.suggest_freq()源码def suggest_freq(self, segment, tune=False): """ Suggest word frequency to force the characters in a word to be joined原创 2021-12-27 15:32:21 · 550 阅读 · 0 评论 -
轨迹预处理方法汇总
运动轨迹预处理2018-4-11轨迹预处理(轨迹清洗)-均值中值滤波、启发式滤波轨迹预处理(地图匹配Map Matching)Trajectory Mining对轨迹的相似性进行建模的方法知乎:如何判断两条轨迹(或曲线)的相似度?...原创 2021-12-25 22:07:32 · 1463 阅读 · 0 评论 -
Lift curve notes
conceptlift curve describes a performance coefficient (the lift) over the cumulative proportion of a population.A lift curve is a way of visualizing the performance of a classification model.in machine leaA cumulative gains chart shows the total number原创 2021-11-24 21:27:25 · 216 阅读 · 0 评论 -
用R做GLM的Summary相关指标解释——以Poission regression为例
用R做GLM的Summary相关指标解释ResidualResidualThe term residual comes from the residual sum of squares (RSS), which is defined aswhere the residual $r_i$ is $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ defined as the difference between observed and predicte原创 2021-11-09 11:24:21 · 3074 阅读 · 2 评论 -
P问题、NP问题、NPC问题、NPH问题
目录前置知识decision problems多项式时间(polynomial time)约化(Reducibility)P问题NP问题NP-Complete问题NP-Hard问题小结参考文献前置知识decision problemsA problem with a yes or no answer.多项式时间(polynomial time)多项式时间则是指O(111)、O(logNlog NlogN)、O(N2N^2N2) 等这类可用多项式表示的时间复杂度,通常我们认为计算机可解决的问题只限于原创 2021-07-10 11:55:01 · 378 阅读 · 0 评论