small change to fuzzy controler
This commit is contained in:
parent
c4154ee656
commit
d5f7343c66
@ -101,7 +101,7 @@ def fuzzy_controler_similiarity(categorical_data: str, numerical_data: str, vect
|
||||
if show_graph:
|
||||
plot_graphs(FS=FSS)
|
||||
|
||||
FSS.set_variable("Categorical_similarity", categorical_data)
|
||||
FSS.set_variable("Categorical_similarity", vector_distance)
|
||||
FSS.set_variable("Numerical_difference", numerical_data)
|
||||
popularity = FSS.Sugeno_inference(["Similarity"], ignore_warnings=True)
|
||||
return round(popularity["Similarity"], 2)
|
||||
|
Loading…
Reference in New Issue
Block a user