topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.61k stars 634 forks source link

Update svmRadial.R #1327

Closed ianchi closed 1 year ago

ianchi commented 1 year ago

When computing class probabilities fail, the returned NA reusult have n times the number of rows. Categories are already defined as ncol, so they should not be repeated as rows

topepo commented 1 year ago

@ianchi thanks for finding this

gmonaie commented 11 months ago

I think this issue exists within svmLinear as well, the exact same $prob method exists there