09 2015 档案

摘要:X = [ones(m, 1) X];temp = X * Theta1';t = size(temp, 1);temp = [ones(t, 1) temp];h = temp * Theta2';[max_num, p] = max(h, [], 2);Without Sigmoid funct... 阅读全文
posted @ 2015-09-30 23:56 devai 阅读(363) 评论(0) 推荐(0)
摘要:require 'torch'require 'gnuplot'local nData = 10local kWidth = 1local xTrain = torch.linspace(-1, 1, nData)local yTrain = torch.pow(xTrain, 2)print(xT... 阅读全文
posted @ 2015-09-26 06:32 devai 阅读(282) 评论(0) 推荐(0)
摘要:Vertification of an assignment from Stochastic Processing. Using Brute Force and "itertools" library.import itertoolsdim = 100m = list(range(1, dim+1)... 阅读全文
posted @ 2015-09-25 10:25 devai 阅读(386) 评论(0) 推荐(0)