2 ms·
From the code (https://github.com/mkearney/botrnot/blob/master/R/features.R https://github.com/mkearney/botrnot/blob/master/R/features.R), the percents are # co
by minimaxir 9y ago
From the code (https://github.com/mkearney/botrnot/blob/master/R/features.R https://github.com/mkearney/botrnot/blob/master/R/features.R), the percents are # correct / # total, which makes sense.
However, the percents are from the training set; there’s no test/validation set, which is a problem when working with bespoke text data as a feature.
- tysonzni 9y agoDo we know that no cross validation was done? I couldn't figure out what the dataset is or where it came from just by looking at the repo.
- minimaxir 9y agok-fold cross-validation was done (the cv.folds parameter to gbm), but that doesn’t help when the model overfits like hell.
- gerty 9y agoI agree this is probably what happened. From the estimation object I see around a total of 3500 training samples with around 90 predictors. 3-fold cross-validation was done so at each iteration only around 2150 samples were used for training... And it seems none of the samples were used for out-of-sample checking.