会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
devai
博客园
首页
新随笔
联系
订阅
管理
2015年9月30日
Sigmoid function in NN
摘要: 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
阅读(360)
评论(0)
推荐(0)
2015年9月26日
Kernel Regression from Nando's Deep Learning lecture 5
摘要: 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
阅读(280)
评论(0)
推荐(0)
2015年9月25日
Python codes
摘要: 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
阅读(385)
评论(0)
推荐(0)
2015年2月25日
php中mail()改用msmtp发送邮件
摘要: php中的mail()函数默认调用的是sendmail,这次我将其换成了轻量级的msmtp。在次过程中涉及到:修改配置文件php.ini,创建配置文件msmtprc或(.msmtprc)并修改其权限。创建msmtp的配置文件/etc/msmtprc或~/.msmtprc:1 account defa...
阅读全文
posted @ 2015-02-25 08:32 devai
阅读(346)
评论(0)
推荐(0)
2014年12月9日
C++的学习记录 - 0
摘要: 最近玩Arduino发现,在编写函数库的时候要用到C++。正好手头有一本教材,于是时隔2年,开始重学。又看到重载、构造、拷贝这些词竟然还有些小兴奋。开个系列日志记录一下学习过程中的问题和体会。看到输入输出的时候想到了C++对C的兼容性,于是试了一下printf函数。 1 # include 2 # ...
阅读全文
posted @ 2014-12-09 16:31 devai
阅读(321)
评论(0)
推荐(0)
公告