Skip to content

Commit

Permalink
fix loop
Browse files Browse the repository at this point in the history
  • Loading branch information
v1docq committed May 17, 2024
1 parent 8d092fc commit a0ff806
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fedot_ind/tools/example_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def industrial_common_modelling_loop(
industrial.fit(train_data)

labels = industrial.predict(test_data)
probs = industrial.predict_proba(test_data)
if api_config['problem'] != 'ts_forecasting':
probs = industrial.predict_proba(test_data)

metrics = industrial.get_metrics(target=test_data[1],
rounding_order=3,
metric_names=metric_names)
Expand Down

0 comments on commit a0ff806

Please sign in to comment.