You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have another example of this. Using sequential forward selection with glmnet doesn't work as glmnet expects at least two variables in the matrix passed to it (see code and error below). So you cannot start with an empty model. Is it possible to modify the FeatSelWrapper so that it can start with one or more variables already in the model - i.e. variables that must be included ?
Task: MAS, Learner: ridge.featsel
Resampling: cross-validation
Measures: cindex
Error in glmnet(x, y, weights = weights, offset = offset, lambda = lambda, :
x should be a matrix with 2 or more columns
pat-s
changed the title
Bagging wrapper doesn't work with no features
Allow bagging wrapper to work with no features in feature selection
Dec 28, 2019
Example from https://stackoverflow.com/questions/44208492/mlr-package-r-feature-selection-sequential-forward-search-error-must-have-at-l:
gives
Should at least mention in documentation that this isn't supported.
The text was updated successfully, but these errors were encountered: