内容来自ufldl,代码参考自tornadomeet的cnnCost.m1.Forward PropagationconvolvedFeatures = cnnConvolve(filterDim, numFilters, images, Wc, bc); %对于第一个箭头activationsPo...
分类:
其他好文 时间:
2015-05-08 12:32:41
阅读次数:
409
,http://www.r-bloggers.com/a-weighting-function-for-nls-nlslm/ Standard nonlinear regression assumes homoscedastic(同方差的) data, that is , all respo...
分类:
其他好文 时间:
2015-05-07 23:35:59
阅读次数:
159
1.1 逻辑回归算法
1.1.1 基础理论
logistic回归本质上是线性回归,只是在特征到结果的映射中加入了一层函数映射,即先把特征线性求和,然后使用函数g(z)将最为假设函数来预测。g(z)可以将连续值映射到0和1上。
它与线性回归的不同点在于:为了将线性回归输出的很大范围的数,例如从负无穷到正无穷,压缩到0和1之间,这样的输出值表达为“可能性”才能说服广大民众。当然了,把大值压缩到这...
分类:
编程语言 时间:
2015-05-07 18:55:51
阅读次数:
391
Maximum Gap问题:Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/s...
分类:
其他好文 时间:
2015-05-07 00:49:56
阅读次数:
146
1、Spark MLlib
Linear Regression线性回归算法
1.1 线性回归算法
1.1.1 基础理论
在统计学中,线性回归(Linear Regression)是利用称为线性回归方程的最小平方函数对一个或多个自变量和因变量之间关系进行建模的一种回归分析。这种函数是一个或多个称为回归系数的模型参数的线性组合。
回归分析中,只包括一个自变量和一个因变量,且二者的关系可用一条...
分类:
编程语言 时间:
2015-05-06 23:07:57
阅读次数:
669
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex...
分类:
其他好文 时间:
2015-05-06 22:35:31
阅读次数:
152
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:
其他好文 时间:
2015-05-06 21:04:02
阅读次数:
137
/*
?*?this?c?file?is?a?implementation?of?linear?list
?*?author:?John?Woods
?*?date:?2015/5/3
?*?exclaim:?anyone?can?use?the?file?to?any?purpose
?*/
?
#include?<stdio....
分类:
其他好文 时间:
2015-05-06 18:26:04
阅读次数:
325
1.4 BLAS (BLAS routines for MLlib's vectors and matrices.)
BLAS(Basic Linear Algebra Subprograms,基础线性代数程序集)是一个应用程序接口(API)标准,用以规范发布基础线性代数操作的数值库(如矢量或矩阵乘法)。
BLAS按照功能被分为三个级别:
Level 1:矢量-矢量运算
Leve...
分类:
其他好文 时间:
2015-05-05 19:41:28
阅读次数:
469
PRML学习笔记:三种线性分类器的matlab实现
分类:
其他好文 时间:
2015-05-04 17:20:53
阅读次数:
113