上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 第十一章 使用Apriori算法进行关联分析 一.导语 “啤酒和尿布”问题属于经典的关联分析。在零售业,医药业等我们经常需要是要关联分析。我们之所以要使用关联分析,其目的是为了从大量的数据中找到一些有趣的关系。这些有趣的关系将对我们的工作和生活提供指导作用。 二.关联分析的基本概念 所谓的关联分析就 阅读全文
posted @ 2017-09-10 16:47 whatyouknow123 阅读(4196) 评论(0) 推荐(0) 编辑
摘要: Description: Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations: [ [1,2,3], 阅读全文
posted @ 2017-09-10 16:36 whatyouknow123 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Description: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums t 阅读全文
posted @ 2017-09-09 09:28 whatyouknow123 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Descirption: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate 阅读全文
posted @ 2017-09-09 09:09 whatyouknow123 阅读(123) 评论(0) 推荐(0) 编辑
摘要: description: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate e 阅读全文
posted @ 2017-09-07 09:42 whatyouknow123 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Description: Write a function to find the longest common prefix string amongst an array of strings. Thoughts: 1.定义一个结果字符串result=""; 2.如果List的长度为0,那么直接 阅读全文
posted @ 2017-09-06 09:10 whatyouknow123 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 一.背景 传统的线性回归算法用于拟合所有的数据,当数据量非常的大,特征之间的关联非常的复杂的时候,这个方法就不太现实。这个时候就可以采用对数据进行切片的方式,然后在对切片后的局部的数据进行线性回归,如果首次切片之后的数据还是不符合线性的要求,那么就继续执行切片。在这个过程中树结构和回归算法是非常有用 阅读全文
posted @ 2017-04-26 17:02 whatyouknow123 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 一.bagging 和 boosting 在介绍adaboost之前有必要先介绍一下,bagging和boosting算法。 bagging,即可以称之为自举汇聚算法也可以称之为基于数据随机重抽样算法。它的原理就是从原始数据集中,随机抽样出S个和原数据集大小相等的新数据集。因为是随机的抽样因此就要可 阅读全文
posted @ 2017-04-25 20:46 whatyouknow123 阅读(328) 评论(0) 推荐(0) 编辑
摘要: problem description: given a sorted aescend array,return the begining and ending position of the target num i.e: [1,2,3,8,8,9] return [3,4] of course, 阅读全文
posted @ 2017-04-24 22:25 whatyouknow123 阅读(165) 评论(0) 推荐(0) 编辑
摘要: descripte problem: there is an array,at the first it is sorted,but for som reason, it was rotated at some pivot unknown to you beforehand.then you sho 阅读全文
posted @ 2017-04-24 09:52 whatyouknow123 阅读(119) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页