Description Usage Arguments Value Author(s) Examples
fakedata for algorithm like perceptron
1 | fakedata(w, n)
|
w |
The w[1:d] is the normal vector of a hyperplane, w[d+1] = -c is the negative offset parameter |
n |
Sample size |
S |
n by (d+1) sample matrix with last col equal to 1 |
y |
Normal vector of the associated class labels |
Xiaoyao Yang
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.