Description Usage Arguments Value Author(s) Examples
View source: R/machinelearning-functions-nnet.R
Classification using the artificial neural network algorithm.
1 2 | nnetClassification(object, assessRes, scores = c("prediction", "all",
"none"), decay, size, fcol = "markers", ...)
|
object |
An instance of class |
assessRes |
An instance of class
|
scores |
One of |
decay |
If |
size |
If |
fcol |
The feature meta-data containing marker definitions.
Default is |
... |
Additional parameters passed to |
An instance of class "MSnSet"
with
nnet
and nnet.scores
feature variables storing
the classification results and scores respectively.
Laurent Gatto
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(pRolocdata)
data(dunkley2006)
## reducing parameter search space and iterations
params <- nnetOptimisation(dunkley2006, decay = 10^(c(-1, -5)), size = c(5, 10), times = 3)
params
plot(params)
f1Count(params)
levelPlot(params)
getParams(params)
res <- nnetClassification(dunkley2006, params)
getPredictions(res, fcol = "nnet")
getPredictions(res, fcol = "nnet", t = 0.75)
plot2D(res, fcol = "nnet")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.