文件名称:2
-
所属分类:
- 标签属性:
- 上传时间:2020-10-16
-
文件大小:1kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(a)产生两个都具有200个二维向量的数据集和(注意:在生成数据集之前最好使用命令randn(‘seed’,0)初始化高斯随机生成器为0(或任意给定数值),这对结果的可重复性很重要)。向量的前半部分来自均值向量的正态分布,并且协方差矩阵。向量的后半部分来自均值向量的正态分布,并且协方差矩阵。其中是一个2*2的单位矩阵。
(b)在上述数据集上运用感知器算法,并且使用不同的初始向量初始化参数向量。
(c)测试每一次算法在和上的性能。
(d)画出数据集和,以及分类面。((a) Generate the sum of two datasets with 200 two-dimensional vectors (Note: before generating the dataset, it is better to initialize the Gaussian random generator to 0 (or any given value) with the command randn ("seed", 0), which is important for the repeatability of the results). The first half of the vector comes from the normal distribution of the mean vector and the covariance matrix. The second half of the vector comes from the normal distribution of the mean vector and the covariance matrix. Where is a 2 * 2 identity matrix.
(b) The perceptron algorithm is used on the above data set, and different initial vectors are used to initialize the parameter vector.
(c) Test the performance of each algorithm on and.
(d) Draw the data set and, as well as the classification surface.)
(b)在上述数据集上运用感知器算法,并且使用不同的初始向量初始化参数向量。
(c)测试每一次算法在和上的性能。
(d)画出数据集和,以及分类面。((a) Generate the sum of two datasets with 200 two-dimensional vectors (Note: before generating the dataset, it is better to initialize the Gaussian random generator to 0 (or any given value) with the command randn ("seed", 0), which is important for the repeatability of the results). The first half of the vector comes from the normal distribution of the mean vector and the covariance matrix. The second half of the vector comes from the normal distribution of the mean vector and the covariance matrix. Where is a 2 * 2 identity matrix.
(b) The perceptron algorithm is used on the above data set, and different initial vectors are used to initialize the parameter vector.
(c) Test the performance of each algorithm on and.
(d) Draw the data set and, as well as the classification surface.)
相关搜索: 感知器算法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
L2_1.py | 2068 | 2020-04-20 |
L2_2.py | 474 | 2020-04-21 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.