Simple prediction of a +1,-1,0 class based on a data matrix and feature weights
1 | predictFromWeights(dat, weights)
|
dat |
- a data matrix with samples in columns and features in rows |
weights |
- a numeric vector with weights for each feature. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.