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

Refact: Alignment to recent changes on cluster analysis in MLPro #23 #24

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/mlpro_int_river/wrappers/clusteranalyzers/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
## -- 2024-05-07 1.4.0 DA Separation of particular algorithms into separate modules
## -- 2024-05-24 1.5.0 DA Alignment with MLPro 2
## -- 2024-05-25 1.5.1 SY Introduction of size as a property, Refactoring
## -- 2024-07-04 1.6.0 DA Alignment with MLPro 2
## -------------------------------------------------------------------------------------------------

"""
Ver. 1.5.1 (2024-05-25)
Ver. 1.6.0 (2024-07-04)
This module provides wrapper root classes from River to MLPro, specifically for cluster analyzers.
Expand Down Expand Up @@ -194,7 +195,7 @@ def get_algorithm(self) -> base.Clusterer:
## -------------------------------------------------------------------------------------------------
def get_cluster_memberships( self,
p_inst: Instance,
p_scope: int = ClusterAnalyzer.C_MS_SCOPE_MAX ) -> List[Tuple[str, float, Cluster]]:
p_scope: int = ClusterAnalyzer.C_RESULT_SCOPE_MAX ) -> List[Tuple[str, float, Cluster]]:
"""
Public custom method to determine the membership of the given instance to each cluster as
a value in percent.
Expand Down
Loading