View source: R/SOptim_GetTrainData.R
calcStatsStart | R Documentation |
Performs data aggregation ops necessary to calculate the number of pixels per class and segment ID.
calcStatsStart(x)
x |
A data.frame or matrix with two columns named: "SID" (segment ID's) and "train" (with train class or NA) |
A data.frame with preliminary training data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.