shogun-toolbox/shogun — pull request #428 by karlnapf (2012-04-06 22:25:46+00:00)
Title: subset stacks

Hi guys,
I implemented subset stacks. One can now do push_subset and pop_subset. Everytime this happens, an active subset is computed which maps to the real indices through all existing subsets.
Core method CFeatures::update_active_subset()

This allows:
-Cross-validation on subsetted features.
-Multi-class-machines to add be used for cross-validation (should be checked, I added a note in the file)
Simplifications of the data locking (will do that later)

Caveat:
Cross-validation gets a bit slower due to overhead. However, I think its worth it.

I did not merge yet so that you can take a look. All existing examples work, I will add one that tests for semantic correctness of these multiple subsets later (not used yet, so it should be safe to merge).

Good night!