Description Usage Arguments Details Value See Also Examples
Predict new examples in conjunction with osmultinom
.
1 | predict.osmultinom(object, newdata, type = c("class", "probs"), ...)
|
object |
Object of class |
newdata |
A |
type |
Type of output. |
... |
Arguments passed to or from other methods. |
This function is a method for the generic function predict()
for class
"osmultinom"
.
It can be invoked by calling predict(x)
for an object x
of the
appropriate class, or directly by calling predict.osmultinom(x)
regardless of
the class of the object.
If type = "class"
, a factor
containing the predicted class labels;
if type = "probs"
, a matrix
of class posterior probabilities. In case of a binary classification
problem the matrix contains only the posteriors for the second factor level.
osmultinom
, osnnet
, predict.osnnet
, predict.nnet
, nnet
.
Other observation_specific multinom: osmultinom
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.