Open naoa opened 6 years ago
@naoa thnx for the report and the example code, we'll look into it!
I have not yet understood out the all class composition, but the reason why seems to be CDenseFeature
supports CSubSetStack
, but CRandomKitchenSinksDotFeatures
does not support CusbSetStack
.
https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/features/DenseFeatures.cpp#L437
Maybe, the CRandomKitchenSinksDotFeatures::get_num_vectors()
should return m_subset_stack->get_size().
Issue
CrossValidation with
CRandomFourierDotFeatures
causes error by unmatching # of vectors and # of label.Error message
Which version
Master version d1763b83fbc029bae1487201ef56977efdfe43a0
Reproducible code
The following code just changes to use
CRandomFourierDotFeatures
from https://github.com/shogun-toolbox/shogun/blob/develop/examples/undocumented/libshogun/modelselection_grid_search_linear.cpp .