| xgboostClassification | R Documentation |
Classification using the xgboost algorithm.
xgboostClassification(
object,
assessRes,
scores = c("prediction", "all", "none"),
max_depth,
gamma,
nrounds = 1000,
fcol = "markers",
...
)
object |
An instance of class |
assessRes |
An instance of class
|
scores |
One of |
max_depth |
If |
gamma |
If |
fcol |
The feature meta-data containing marker definitions.
Default is |
... |
Additional parameters passed to |
An instance of class "MSnSet" with
xgboost and xgboost.scores feature variables storing the
classification results and scores respectively.
library(pRolocExtra) data(tan2009r1) # reducing iterations params <- xgboostOptimisation(tan2009r1, times = 3) params plot(params) f1Count(params) levelPlot(params) getParams(params) res <- xgboostClassification(tan2009r1, params) getPredictions(res, fcol = "xgboost") getPredictions(res, fcol = "xgboost", t = 0.75) plot2D(res, fcol = "xgboost")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.