Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/tutorial_and_fixes' into tutoria…
Browse files Browse the repository at this point in the history
…l_and_fixes
  • Loading branch information
v1docq committed Nov 28, 2024
2 parents e685eab + d3c13b4 commit 5855e4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def multiclass_classification():
pdc.fit(X, y)
print('score:', pdc.score(X, y))

y_pred = pdc.predict(X)
proba_pred = pdc.predict_proba(X)
pdc.predict(X)
pdc.predict_proba(X)

assert pdc.score(X, y) == 1.0

Expand Down
2 changes: 1 addition & 1 deletion fedot_ind/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def get_metrics(self,
predicted_probs=probs,
rounding_order=rounding_order,
metric_names=metric_names) for strategy,
probs in self.predicted_probs.items()}
probs in self.predicted_probs.items()}

else:
metric_dict = self._metric_evaluation_loop(
Expand Down
1 change: 1 addition & 0 deletions fedot_ind/core/repository/constanst_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ class FedotOperationConstant(Enum):
"catboostreg": FedotCatBoostRegressionImplementation
}


class ModelCompressionConstant(Enum):
ENERGY_THR = [0.9, 0.95, 0.99, 0.999]
DECOMPOSE_MODE = 'channel'
Expand Down

0 comments on commit 5855e4a

Please sign in to comment.