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

Added cluster labeling functionalities #33

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

MattVsTheWorld
Copy link

Adding cluster labeling functionalities.

Given a FuzzySystem with a defined universe of discourse for its linguistic variables, you can utilize the following function to perform cluster labeling:

approximate_fs_labels(fs: FuzzySystem, output_path: str, generate_report: bool)

Parameters:

  • fs: An instance of simpful FuzzySystem;
  • output_path: A string specifying the path where the output will be saved;
  • generate_report: A boolean indicating whether to generate a pdf report with plots and rules.

Example can be found in simpful/cluster_labeling/tests/automatic_report_test.py.

@MattVsTheWorld MattVsTheWorld marked this pull request as ready for review January 15, 2025 10:41
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