Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ITMO-NSS-team
FEDOT
Commits
1a94ca4d
Commit
1a94ca4d
authored
2 years ago
by
Andrey Getmanov
Browse files
Options
Download
Email Patches
Plain Diff
- fixed bug with r2 metrics
parent
e64120d1
multimodal_benchmarking
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fedot/core/composer/metrics.py
+1
-1
fedot/core/composer/metrics.py
with
1 addition
and
1 deletion
+1
-1
fedot/core/composer/metrics.py
View file @
1a94ca4d
...
...
@@ -81,7 +81,7 @@ class QualityMetric:
# Define conditions for target and predictions transforming
is_regression
=
reference_data
.
task
.
task_type
==
TaskTypesEnum
.
regression
is_multi_target
=
len
(
np
.
array
(
results
.
predict
).
shape
)
>
1
is_multi_target
=
False
#
len(np.array(results.predict).shape) > 1
is_multi_target_regression
=
is_regression
and
is_multi_target
# Time series forecasting
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help