If you are making a feature request or starting a discussion, you can ignore everything below and go wild =D However, please request new models using the project page.
If you are filing a bug, make sure these boxes are checked before submitting your issue— thank you!
[x] Start a new R session
[x] Install the latest version of caret: update.packages(oldPkgs="caret", ask=FALSE)
[x] Do not use parallel processing in the code (unless you are certain that the issue is about parallel processing).
[x] run sessionInfo()
Minimal, reproducible example:
Minimal dataset and code:
library(caret)
set.seed(1)
dat <- twoClassSim(100)
X <- dat[,1:5]
y <- dat[["Class"]]
#### Minimal dataset:
model_class <- train(
X, y,
metric='ROC',
trControl=trainControl(
method="cv",
number=5,
classProbs=TRUE,
summaryFunction=twoClassSummary,
savePredictions="final"), method = "hdrda"
)
print(model_class)
I get an error message very quickly, I imagine that this has to do with the fact that the corresponding function in sparsediscrim is now called rda_high_dim and no longer hdrda
Something is wrong; all the ROC metric values are missing:
ROC Sens Spec
Min. : NA Min. : NA Min. : NA
1st Qu.: NA 1st Qu.: NA 1st Qu.: NA
Median : NA Median : NA Median : NA
Mean :NaN Mean :NaN Mean :NaN
3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA
Max. : NA Max. : NA Max. : NA
NA's :18 NA's :18 NA's :18
Fehler: Stopping
Zusätzlich: Es gab 50 oder mehr Warnungen (Anzeige der ersten 50 mit warnings())
> head(warnings())
Warnmeldungen:
1: model fit failed for Fold1: gamma=0.0, lambda=0.0, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
2: model fit failed for Fold1: gamma=0.5, lambda=0.0, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
3: model fit failed for Fold1: gamma=1.0, lambda=0.0, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
4: model fit failed for Fold1: gamma=0.0, lambda=0.5, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
5: model fit failed for Fold1: gamma=0.5, lambda=0.5, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
6: model fit failed for Fold1: gamma=1.0, lambda=0.5, shrinkage_type=ridge Error : 'hdrda' is not an exported object from 'namespace:sparsediscrim'
If you are making a feature request or starting a discussion, you can ignore everything below and go wild =D However, please request new models using the project page.
If you are filing a bug, make sure these boxes are checked before submitting your issue— thank you!
update.packages(oldPkgs="caret", ask=FALSE)
sessionInfo()
Minimal, reproducible example:
Minimal dataset and code:
I get an error message very quickly, I imagine that this has to do with the fact that the corresponding function in sparsediscrim is now called rda_high_dim and no longer hdrda