Description Usage Arguments Value
returns the index of the cell to which the new sample belongs
1 | WhichCell(y, param, smart, const)
|
y |
A one-row matrix, the new sample to be input. |
param |
A logical scalar, if TRUE, the model is in parametric version, otherwise, a non-parametric one. |
smart |
A matrix, stores all the parameters over the continuous domain. |
const |
A numeric vector, specifies the value of all global variables, if param = T, then const = c(N,n,d,rh,r,K,alpha); if param=FALSE, then const = c(N,n,d,rh,r,K,sigma_sqare). |
The row index of the discrete class to which the new sample belongs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.