Skip to content

Rename self.classes to self.labels to clustering algorithm#51

Merged
Joao-Paulo-Silva merged 6 commits intoAIS-Package:developfrom
Joao-Paulo-Silva:refactor/deprecate-classes
Feb 1, 2026
Merged

Rename self.classes to self.labels to clustering algorithm#51
Joao-Paulo-Silva merged 6 commits intoAIS-Package:developfrom
Joao-Paulo-Silva:refactor/deprecate-classes

Conversation

@Joao-Paulo-Silva
Copy link
Member

@Joao-Paulo-Silva Joao-Paulo-Silva commented Jan 31, 2026

This PR renames the attribute used by clustering algorithms from self.classes to self.labels. The classes attribute is kept as a deprecated property that redirects to labels and emits a deprecation warning.

@Joao-Paulo-Silva Joao-Paulo-Silva force-pushed the refactor/deprecate-classes branch from b91385d to 6c35ac4 Compare January 31, 2026 19:18
@Joao-Paulo-Silva Joao-Paulo-Silva changed the title Refactor/deprecate classes Rename self.classes to self.labels to clustering algorithm Jan 31, 2026
@Joao-Paulo-Silva Joao-Paulo-Silva changed the base branch from main to develop February 1, 2026 17:58
@Joao-Paulo-Silva Joao-Paulo-Silva merged commit 6f1d63e into AIS-Package:develop Feb 1, 2026
4 checks passed
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.

1 participant