- Category:
- matlab
- Tags:
-
- File Size:
- 1kb
- Update:
- 2020-10-16
- Downloads:
- 0 Times
- Uploaded by:
- zilong1999
Description: Write a function called Perce to implement perceptron algorithm.
The input / output of the function are:
(a) An n * d-dimensional matrix X whose I th row is the I th data vector;
(b) The first element of an n-dimensional column vector y, y contains a class (- 1,1), and the class corresponds to the corresponding vector;
(c) Use the vector W_ Ini initializes the parameter vector and returns the estimated parameter vector;
Suppose that the maximum number of iterations of the function is 10000.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
L2_1.py | 2068 | 2020-04-20 |