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

Implement getter for the clusters of a specific value #37

Open
popescu-v opened this issue Jul 4, 2023 · 2 comments
Open

Implement getter for the clusters of a specific value #37

popescu-v opened this issue Jul 4, 2023 · 2 comments
Labels
Status/Draft The issue is still not well defined Type/Feature A new feature request or an improvement of a feature

Comments

@popescu-v
Copy link
Collaborator

Description

Currently, KhiopsCoclustering's predict method gives us the cluster ID for each individual. If we need the actual clusters we need to parse the report to get the them. We should have a more ergonomic API for this.

Questions/Ideas

  • A method like estimator.get_clusters_for_dimension(dimension=...) or estimator.get_cluster_of(individual_id=..., dimension=...) could be provided on the estimator.
  • Often, the dimension specified by key on fit is needed. But key is not available at the predict stage.
@popescu-v popescu-v added Status/Draft The issue is still not well defined Type/Feature A new feature request or an improvement of a feature labels Jul 4, 2023
@popescu-v
Copy link
Collaborator Author

I think this function should go in core.coclustering_results.CoclusteringDimension. Then from a fitted KhiopsCoclustering the function called with pkcc.report_ ...

@folmos-at-orange
Copy link
Member

Related #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status/Draft The issue is still not well defined Type/Feature A new feature request or an improvement of a feature
Projects
None yet
Development

No branches or pull requests

2 participants