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

add create() in class_list #3329

Closed
wants to merge 1 commit into from
Closed

Conversation

sanuj
Copy link
Contributor

@sanuj sanuj commented Jul 3, 2016

@lisitsyn shall i add swig interface?

TEST(class_list, create_gaussian_kernel)
{
const char* class_name = "GaussianKernel";
auto gk = create<CGaussianKernel>(class_name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create<CKernel>, this one is important for plugins switch

@sanuj sanuj force-pushed the class_list branch 3 times, most recently from 912ba2c to ada808e Compare July 4, 2016 13:41

using namespace shogun;

%template(createKernel) create<CKernel>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a prototype or why is this kernel only?

@sanuj
Copy link
Contributor Author

sanuj commented Jul 11, 2016

Closing this, will send a PR against feature/tags.

@sanuj sanuj closed this Jul 11, 2016
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

3 participants