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

Feature/refactor meta #4257

Merged
merged 7 commits into from Apr 16, 2018
Merged

Conversation

iglesias
Copy link
Collaborator

No description provided.


#![extract_results]
RealVector d = hierarchical.get_merge_distances()
IntMatrix cp = hierarchical.get_cluster_pairs()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These ones had to go because the members are T*. These get_* methods wrap the T* into SGVector or SGMatrix.

watch_param("assignment_size", &assignment_size);
watch_param("assignment", &assignment, &table_size);
watch_param("table_size", &table_size);
watch_param("pairs", &pairs, &PAIRS_DIM_0, &merges);
Copy link
Member

Choose a reason for hiding this comment

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

ouch!!!
but I guess this works ...

@karlnapf karlnapf merged commit ebd45ae into shogun-toolbox:develop Apr 16, 2018
ktiefe pushed a commit to ktiefe/shogun that referenced this pull request Jul 30, 2019
* Add distance interface factory. Port Euclidean meta example to new API.

* API port in hierarhical clustering meta-example. Add watch_params.

* Port LARs meta example.

* Minor name update revert.

* Update data generated by meta examples.

* Fix return type to base class in meta ex. Add base class to interfaces.

* Disable Hierarchical clone test.
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