Description Objects from the Class Slots Methods See Also Examples
An object of this class is returned by the function predict(...)
and represents a nearest centroid predictor learned on a training data set.
Objects can be created by the call new("predictor", ...)
.
predictor
:Object of class "predictor"
cl
:Character string or number specifying one of the two classes.
method
:Character string specifying the feature selection method that was used for predictor construction: Possible values are "cor", "student.test", "welch.test", "wilcoxon.test", "foldchange", "copa", "os", "ort", "shift", "throw".
hparam
:Hyperparameter needed for some of the feature selection methods. For methods copa, ors and os: Quantile (e.g. 0.75, 0.9, 0.95) used in order to detect outliers. For methods shift and throw: the minimum number of samples in each class after applying shift or throw.
type
:Type of calculation. Loo (leave one out) or prediction (simple prediction).
fdata
:Feature annotations inherited from the training ExpressionSet.
plot
A plot method is only avaiable for the score "zeta" that is a linear combination of features.
See Also as fit
,
or predictor
for links to other classes
1 | showClass("predictor")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.