作业(神经网络)

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

作业(神经网络)

1. Matlab BP网络练习

/wiki/Iris_flower_data_set

将Iris数据集分为2组,每组各75个样本,每组中每种花各有25个样本。其中一组作为以上程序的训练样本,另外一组作为检验样本(每种花选取5个作为测试)。为了方便训练,将3类花分别编号为1,2,3 。

使用这些数据训练一个4输入(分别对应4个特征),3输出(分别对应该样本属于某一品种的可能性大小)的前向网络。

数据如下:

Iris flower data set

From Wikipedia, the free encyclopedia

Spectramap biplot of Fisher's iris data set

Fisher's Iris Data

Sepal length Sepal width Petal length Petal width Species

5.1 3.5 1.4 0.2 I. setosa

4.9 3.0 1.4 0.2 I. setosa

4.7 3.2 1.3 0.2 I. setosa

4.6 3.1 1.5 0.2 I. setosa

5.0 3.6 1.4 0.2 I. setosa

5.4 3.9 1.7 0.4 I. setosa

4.6 3.4 1.4 0.3 I. setosa

5.0 3.4 1.5 0.2 I. setosa

Fisher's Iris Data

Sepal length Sepal width Petal length Petal width Species 4.4 2.9 1.4 0.2 I. setosa

4.9 3.1 1.5 0.1 I. setosa

5.4 3.7 1.5 0.2 I. setosa 4.8 3.4 1.6 0.2 I. setosa 4.8 3.0 1.4 0.1 I. setosa

4.3 3.0 1.1 0.1 I. setosa

5.8 4.0 1.2 0.2 I. setosa 5.7 4.4 1.5 0.4 I. setosa 5.4 3.9 1.3 0.4 I. setosa 5.1 3.5 1.4 0.3 I. setosa 5.7 3.8 1.7 0.3 I. setosa 5.1 3.8 1.5 0.3 I. setosa 5.4 3.4 1.7 0.2 I. setosa 5.1 3.7 1.5 0.4 I. setosa 4.6 3.6 1.0 0.2 I. setosa

Fisher's Iris Data

Sepal length Sepal width Petal length Petal width Species 5.1 3.3 1.7 0.5 I. setosa

4.8 3.4 1.9 0.2 I. setosa

5.0 3.0 1.6 0.2 I. setosa 5.0 3.4 1.6 0.4 I. setosa 5.2 3.5 1.5 0.2 I. setosa 5.2 3.4 1.4 0.2 I. setosa 4.7 3.2 1.6 0.2 I. setosa

4.8 3.1 1.6 0.2 I. setosa

5.4 3.4 1.5 0.4 I. setosa 5.2 4.1 1.5 0.1 I. setosa 5.5 4.2 1.4 0.2 I. setosa

4.9 3.1 1.5 0.2 I. setosa

5.0 3.2 1.2 0.2 I. setosa 5.5 3.5 1.3 0.2 I. setosa 4.9 3.6 1.4 0.1 I. setosa

Fisher's Iris Data

Sepal length Sepal width Petal length Petal width Species

4.4 3.0 1.3 0.2 I. setosa

5.1 3.4 1.5 0.2 I. setosa

5.0 3.5 1.3 0.3 I. setosa

4.5 2.3 1.3 0.3 I. setosa

4.4 3.2 1.3 0.2 I. setosa

5.0 3.5 1.6 0.6 I. setosa

5.1 3.8 1.9 0.4 I. setosa

4.8 3.0 1.4 0.3 I. setosa

5.1 3.8 1.6 0.2 I. setosa

4.6 3.2 1.4 0.2 I. setosa

5.3 3.7 1.5 0.2 I. setosa

5.0 3.3 1.4 0.2 I. setosa

7.0 3.2 4.7 1.4 I. versicolor 6.4 3.2 4.5 1.5 I. versicolor 6.9 3.1 4.9 1.5 I. versicolor

Fisher's Iris Data

Sepal length Sepal width Petal length Petal width Species

5.5 2.3 4.0 1.3 I. versicolor

6.5 2.8 4.6 1.5 I. versicolor

5.7 2.8 4.5 1.3 I. versicolor

6.3 3.3 4.7 1.6 I. versicolor 4.9 2.4 3.3 1.0 I. versicolor 6.6 2.9 4.6 1.3 I. versicolor 5.2 2.7 3.9 1.4 I. versicolor 5.0 2.0 3.5 1.0 I. versicolor

5.9 3.0 4.2 1.5 I. versicolor

6.0 2.2 4.0 1.0 I. versicolor 6.1 2.9 4.7 1.4 I. versicolor

5.6 2.9 3.6 1.3 I. versicolor

6.7 3.1 4.4 1.4 I. versicolor 5.6 3.0 4.5 1.5 I. versicolor 5.8 2.7 4.1 1.0 I. versicolor

相关文档
最新文档