| plot.predict.nmfae | R Documentation |
For type = "response": if actual values Y_1 were stored,
displays an observed-vs-predicted scatter plot with R^2 in the title.
Otherwise, displays the predicted matrix as a heatmap.
For type = "class": if actual classes were stored, displays a
confusion matrix heatmap with accuracy (ACC) in the title.
## S3 method for class 'predict.nmfae'
plot(x, ...)
x |
An object of class |
... |
Additional graphical parameters passed to |
Invisible NULL. Called for its side effect (plot).
predict.nmfae
set.seed(1)
Y <- matrix(runif(20), nrow = 4)
res <- nmf.rrr(Y, rank1 = 2)
pred <- predict(res)
plot(pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.