- 博客(9)
- 资源 (2)
- 收藏
- 关注
原创 k-Nearest Neighbors 实战2 使用kNN算法改进约会网站的配对结果
本文《machine learning in action》学习笔记
2018-05-31 21:58:46 246 1
原创 k-Nearest Neighbors 实战1 简单的电影分类实例
本文《machine learning in action》学习笔记 想通过博客记录学习的点点滴滴,不让自己只是看起(书)来认真,也方便以后复习。chapter 2. Classifying with k Nearest Neighborsthe pros and cons of k-Nearest Neighbors:pro: high accuracy, insensit...
2018-05-31 10:36:39 488
原创 cs61a 课时笔记-可变数据与局部状态
cs61a spring 2018 原文地址:http://composingprograms.com/pages/24-mutable-data.html字典的一个简单应用:模拟银行用户存取钱def account(initial_balance): def deposit(amount): dispatch['balance'] += amount ...
2018-05-31 09:08:32 308
原创 cs61a 第三周课时 Lab 02 Lambda Expressions & Higher-Order Functions
Lambda ExpressionsLambda Expressions is one-line functions that specify two things: the parameters and the return expression.lambda <parameters>: <return expression>Differe
2018-05-30 22:20:06 1447 3
原创 cs61a 课时笔记-可变数据
One powerful technique for creating modular programs is to incorporate data that may change state over time. Adding state to data is a central ingredient of a paradigm called object-oriented programmi...
2018-05-30 22:14:28 408
原创 cs61a 课时笔记-序列之list
1.What is sequences?A sequence is an ordered collection of values. It is a collection of behaviors that are shared among several different types of data. Three basic sequence types: lists, tuples...
2018-05-25 09:23:12 946 2
原创 Window下安装 hmmlearn 问题: Microsoft visual C++ 14.0 is required
(1) 问题描述: 安装Python包hmmlearn失败,遇到error: Microsoft visual C++ 14.0 is required. (2) 解决方法: 我查看了安装的软件, 难道这个不是要的?: 于是重新装了Microsoft Visual C++ 2017. 选择了通用安装。 查看control pannel/programs ...
2018-05-23 17:28:15 1173
原创 Matlab parfor-loop并行运算
Matlab中的并行运算常用的有 parfor-loop代替for-loop加速计算,这里parfor就是parallel的意思。 client把任务分配给多个workers,在一个循环中同时运行,等所有workers运行完返回结果,然后对结果进行整合。 一个迭代就是指执行一次循环体。每一个worker独立地按照一定的次序迭代。官方原图: parfor 把for循环中的迭代分...
2018-05-13 13:23:42 24504 2
原创 线性模型
周志华《机器学习》学习笔记线性模型通过属性的线性组合来进行函数预测, f(x)=w1x1+w2x2+...+wdxd+bf(x)=w1x1+w2x2+...+wdxd+bf(x) = w_1x_1+w_2x_2+...+w_dx_d+b 使用向量形式f(x)=wTx+bf(x)=wTx+bf(x) = w^Tx+b 其中x=(x1,x2,..,xd)x=(x1,x2,..,xd)...
2018-05-09 15:12:11 303
信用卡欺诈检测数据集.zip
2020-04-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人