Skip to content

Commit

Permalink
refactor: run duty format
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanschild committed Dec 18, 2023
1 parent 9f7e39f commit 0f650e2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/cognitivefactory/features_maximization_metric/fmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,15 +765,15 @@ def compare(
# Browse activated features toà compare Features Activation.
for feature in fmc_reference.list_of_possible_features:
# Get Features Activation.
list_of_most_activated_classes_for_feature_in_self: List[
str
] = self.get_most_activated_classes_by_a_feature(
feature=feature,
list_of_most_activated_classes_for_feature_in_self: List[str] = (
self.get_most_activated_classes_by_a_feature(
feature=feature,
)
)
list_of_most_activated_classes_for_feature_in_reference: List[
str
] = fmc_reference.get_most_activated_classes_by_a_feature(
feature=feature,
list_of_most_activated_classes_for_feature_in_reference: List[str] = (
fmc_reference.get_most_activated_classes_by_a_feature(
feature=feature,
)
)

# TODO: Skip if feature is not activated in both modelization.
Expand Down

0 comments on commit 0f650e2

Please sign in to comment.