Skip to content

Commit

Permalink
ensure ROC chart gets loaded correctly (elastic#96890) (elastic#96978)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 authored Apr 13, 2021
1 parent b85cfad commit 152257d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ export const loadEvalData = async ({
[jobType]: {
actual_field: dependentVariable,
predicted_field: predictedField,
...(jobType === ANALYSIS_CONFIG_TYPE.CLASSIFICATION
? { top_classes_field: `${resultsField}.top_classes` }
: {}),
metrics: metrics[jobType as keyof EvaluateMetrics],
},
},
Expand Down

0 comments on commit 152257d

Please sign in to comment.