- 博客(27)
- 收藏
- 关注
翻译 机器学习笔记之反向传播算法
Backpropagation Algorithm"Backpropagation" is neural-network terminology for minimizing our cost function, just like what we were doing with gradient descent in logistic and linear regression. Our g
2017-07-16 10:59:12 330
翻译 机器学习笔记之神经网络模型(二)
Model Representation IITo re-iterate, the following is an example of a neural network:a(2)1=g(Θ(1)10x0+Θ(1)11x1+Θ(1)12x2+Θ(1)13x3)a(2)2=g(Θ(1)20x0+Θ(1)21x1+Θ(1)22x2+Θ(1)23x3)a(2)3=g(Θ(1)30x0
2017-07-15 15:16:33 263
翻译 机器学习笔记之神经网络模型(一)
Model Representation ILet's examine how we will represent a hypothesis function using neural networks. At a very simple level, neurons are basically computational units that take inputs (dendrites)
2017-07-15 14:37:06 307
翻译 机器学习笔记之逻辑回归的正则化
Regularized Logistic RegressionWe can regularize logistic regression in a similar way that we regularize linear regression. As a result, we can avoid overfitting. The following image shows how the r
2017-07-14 11:01:18 750
翻译 机器学习笔记之线性回归的正则化
Regularized Linear RegressionNote: [8:43 - It is said that X is non-invertible if m ≤ n. The correct statement should be that X is non-invertible if m We can apply regularization to both linear
2017-07-14 10:33:35 426
翻译 机器学习笔记之过拟合问题
The Problem of OverfittingConsider the problem of predicting y from x ∈ R. The leftmost figure below shows the result of fitting a y = θ0+θ1x to a dataset. We see that the data doesn’t really lie
2017-07-14 08:40:35 339
翻译 机器学习笔记之高级优化
Advanced OptimizationNote: [7:35 - '100' should be 100 instead. The value provided should be an integer and not a character string.]"Conjugate gradient", "BFGS", and "L-BFGS" are more sophisticate
2017-07-13 18:33:36 479
翻译 机器学习笔记之简化成本函数和梯度下降
Simplified Cost Function and Gradient DescentNote: [6:53 - the gradient descent equation should have a 1/m factor]We can compress our cost function's two conditional cases into one case:Cost(hθ(
2017-07-13 17:59:24 823
翻译 机器学习笔记之决策边界
Decision BoundaryIn order to get our discrete 0 or 1 classification, we can translate the output of the hypothesis function as follows:hθ(x)≥0.5→y=1hθ(x)0.5→y=0The way our logistic f
2017-07-13 14:50:43 884
翻译 机器学习笔记之正规矩阵的不可逆性
Normal Equation Non-invertibilityWhen implementing the normal equation inoctave we want to use the 'pinv' function rather than 'inv.' The 'pinv'function will give you a value of θ evenif XTX is no
2017-07-10 08:39:44 912
翻译 机器学习笔记之正规方程
Normal EquationNote: [8:00 to 8:44 - The design matrixX (in the bottom right side of the slide) given in the example should haveelements x with subscript 1 and superscripts varying from 1 to m bec
2017-07-10 08:38:18 196
翻译 机器学习笔记之学习速率
GradientDescent in Practice II - Learning RateNote: [5:20 - the x -axis label in theright graph should be θ rather than No. of iterations ]Debugginggradient descent. Make a plot with number of i
2017-07-10 08:34:47 416
翻译 机器学习笔记之特征及多项式回归
Features and Polynomial RegressionWe can improve our features and the formof our hypothesis function in a couple different ways.We can combine multiple features intoone. For example, we can combin
2017-07-10 08:32:12 327
翻译 机器学习笔记之特征缩放
GradientDescent in Practice I - Feature ScalingNote: [6:20 -The average size of a house is 1000 but 100 is accidentally written instead]We can speed upgradient descent by having each of our input
2017-07-10 08:30:48 285
翻译 机器学习笔记之应用于线性回归的梯度下降算法
Gradient Descent For Linear RegressionNote: [At 6:15 "h(x) = -900 - 0.1x" should be "h(x) = 900 - 0.1x"]When specifically applied to the case of linear regression, a new form of the gradient desce
2017-07-07 15:58:11 168
翻译 机器学习笔记之梯度下降(二)
Gradient Descent IntuitionIn this video we explored the scenario where we used one parameter θ1 and plotted its cost function to implement a gradient descent. Our formula for a single parameter wa
2017-07-07 15:37:33 224
转载 git学习之远程仓库
要关联一个远程库,使用命令git remote add origin git@server-name:path/repo-name.git;关联后,使用命令git push -u origin master第一次推送master分支的所有内容;此后,每次本地提交后,只要有必要,就可以使用命令git push origin master推送最新修改;分布式版本系统的最大好处之
2017-07-07 12:17:04 140
转载 git学习之checkout和reset
文件层面操作git add files 把当前文件放入暂存区域。git commit 给暂存区域生成快照并提交。git reset -- files 用来撤销最后一次git add files,你也可以用git reset 撤销所有暂存区域文件。git checkout -- files 把文件从暂存区域复制到工作目录,用来丢弃本地修改。checkout命令用于从历史提交(
2017-07-07 10:49:11 344
翻译 机器学习笔记之梯度下降
Gradient DescentSo we have our hypothesis function and we have a way of measuring how well it fits into the data. Now we need to estimate the parameters in the hypothesis function. That's where grad
2017-07-07 09:57:13 178
翻译 机器学习笔记之代价函数(三)
Cost Function - Intuition IIA contour plot is a graph that contains many contour lines. A contour line of a two variable function has a constant value at all points of the same line. An example of s
2017-07-07 09:12:12 248
翻译 机器学习笔记之代价函数(二)
Cost Function - Intuition IIf we try to think of it in visual terms, our training data set is scattered on the x-y plane. We are trying to make a straight line (defined by hθ(x)) which passes thro
2017-07-07 08:18:39 217
翻译 机器学习笔记之代价函数
Cost FunctionWe can measure the accuracy of our hypothesis function by using a cost function. This takes an average difference (actually a fancier version of an average) of all the results of the hy
2017-07-06 21:50:55 189
翻译 机器学习笔记之模型表述
Model RepresentationTo establish notation for future use, we’ll use x(i) to denote the “input” variables (living area in this example), also called input features, and y(i) to denote the “output
2017-07-06 20:48:21 303
原创 Python学习随笔(一)
len()函数计算的是str的字符数listPython内置的一种数据类型是列表:list。list是一种有序的集合,可以随时添加和删除其中的元素。d=['aaaa','bbbb','cccc']d就是一个listlen(d)=3其中d[0]是aaaa,d[-1]是cccc,d[-2]是bbbblist是一个可变的有序表,所以,可以往li
2017-07-05 20:44:43 198
翻译 机器学习笔记之无监督学习
Unsupervised LearningUnsupervised learning allows us to approach problems with little or no idea what our results should look like. We can derive structure from data where we don't necessarily know
2017-07-05 15:09:54 341
翻译 机器学习笔记之监督学习
Supervised LearningIn supervised learning, we are given a data set and already know what our correct output should look like, having the idea that there is a relationship between the input and the o
2017-07-05 14:03:11 166
翻译 机器学习笔记
What is Machine Learning?Two definitions of Machine Learning are offered. Arthur Samuel described it as: "the field of study that gives computers the ability to learn without being explicitly progra
2017-07-05 09:31:16 231
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人