Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2012-12-09, 11:33   #1
zmuma
初级会员
 
注册日期: 2012-12-09
年龄: 33
帖子: 1
声望力: 0
zmuma 正向着好的方向发展
默认 求助!学校 matlab 的题目

It is required train a Perceptron used to represent the brightness of an image in such a way that if it outputs a 1, the image is as considered as bright, and if it outputs a -1, the image is considered as dark.

A 2x2 black and white pixel image is considered as bright if it has two or more white pixels in it. The pixels are x1 to x4, as given below.

图1

For example, the input values for the following image are x1 = -1, x2=1, x3=1 and x4 = -1
图2

A black pixel will produce an input of -1 to the neural network, and a white pixel will give an input of +1. The threshold is considered as an input node and hence the network will have five input nodes. The weight values are between -1 and 1 and the a learning rate of η = 0.2.

Provide a Perceptron neural network and Train the Perceptron

(i) For one set of training data manually and

For all the sets of training data Using MATLAB (for all the 16 data sets).
上传的图像
文件类型: jpg 未命名.jpg (7.2 KB, 0 次查看)
文件类型: jpg 2.jpg (3.9 KB, 0 次查看)
zmuma 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 10:51


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.