Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Here comes the new SubsetStack system #480

Merged
merged 23 commits into from Apr 22, 2012
Merged

Here comes the new SubsetStack system #480

merged 23 commits into from Apr 22, 2012

Conversation

karlnapf
Copy link
Member

Every class which should have subsets now has a variable of type CSubsetStack instead of CSubset.
Its possible to add as many as you like, works like a stack
All the logic is now in the stack, so the classes (currently Features, Labels) dont have to do anything but just provide wrapper methods

The CSubset class has changed and is now a wrapper for the SGVector of indices.
Currently, all index sets are copied when a CSubset is created in CSubsetStack, however, as soon as there is ref-counting for SGVector, this should be changed.

Comments?

sonney2k pushed a commit that referenced this pull request Apr 22, 2012
Implement the new SubsetStack system
@sonney2k sonney2k merged commit 4328d97 into shogun-toolbox:master Apr 22, 2012
sonney2k pushed a commit that referenced this pull request May 22, 2012
Implement the new SubsetStack system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants