compare_to_all_games #1
@ -101,7 +101,7 @@ def fuzzy_controler_similiarity(categorical_data: str, numerical_data: str, vect
|
|||||||
if show_graph:
|
if show_graph:
|
||||||
plot_graphs(FS=FSS)
|
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)
|
FSS.set_variable("Numerical_difference", numerical_data)
|
||||||
popularity = FSS.Sugeno_inference(["Similarity"], ignore_warnings=True)
|
popularity = FSS.Sugeno_inference(["Similarity"], ignore_warnings=True)
|
||||||
return round(popularity["Similarity"], 2)
|
return round(popularity["Similarity"], 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user