- 博客(4)
- 收藏
- 关注
转载 神经网例子
clear ; close all; clcinput_layer_size = 400; % 20x20 Input Images of Digitshidden_layer_size = 25; % 25 hidden unitsnum_labels = 10; % 10 labels, from 1 to 10 是每层中的神经元个数 ...
2018-08-06 15:07:16
215
转载 不太经典的移动神经网,grad没有运用backpropagation algorithom
clear ; close all; clc%% Setup the parameters you will use for this part of the exerciseinput_layer_size = 400; % 20x20 Input Images of Digitsnum_labels = 10; % 10 labels, from 1 to 10...
2018-08-04 16:40:34
346
转载 逻辑斯蒂回归(分类)
clear ; close all; clcdata = load('ex2data1.txt');X = data(:, [1, 2]); y = data(:, 3);fprintf(['Plotting data with + indicating (y = 1) examples and o ' ... 'indicating (y = 0) examples.\n']);...
2018-07-12 15:59:54
745
转载 线性回归(机器学习练习代码1)
主程序:fprintf('Plotting Data ...\n')data = load('ex1data1.txt');%载入数据,数据需在在pathway里X = data(:, 1); y = data(:, 2);%拆分x,ym = length(y); % number of training examplesplotData(X, y);fprintf('Program paused...
2018-07-12 14:46:04
289
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人