File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 77"""
88
99from __future__ import annotations
10+
1011from dataclasses import dataclass
11- import numpy as np
12+
1213import matplotlib .pyplot as plt
14+ import numpy as np
1315
1416
1517@dataclass
@@ -19,10 +21,11 @@ class GaussianFuzzySet:
1921
2022 Attributes:
2123 name: The name or label of the fuzzy set.
22- mean: The mean value (center) of the Gaussian fuzzy set.
23- std_dev: The standard deviation (controls the spread) of the Gaussian fuzzy set.
24- is_complement: Indicates whether this is the complement of the original fuzzy set.
25-
24+ mean: The mean value (center) of the Gaussianfuzzy set.
25+ std_dev: The standard deviation (controls the spread) of
26+ the Gaussian fuzzy set.
27+ is_complement: Indicates whether this is the complement
28+ of the original fuzzy set.
2629 Methods:
2730 membership(x): Calculate the membership value of an input 'x' in the fuzzy set.
2831 complement(): Create a new GaussianFuzzySet instance representing the complement.
You can’t perform that action at this time.
0 commit comments