From a3f63879080bdee336df038ca5110ae57f9abddd Mon Sep 17 00:00:00 2001 From: Advitya Gemawat Date: Mon, 2 Oct 2023 15:19:07 -0400 Subject: [PATCH] temp --- libs/core-ui/src/lib/DatasetCohort.ts | 2 +- .../Context/buildModelAssessmentContext.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core-ui/src/lib/DatasetCohort.ts b/libs/core-ui/src/lib/DatasetCohort.ts index 74f92049ed..39d051396f 100644 --- a/libs/core-ui/src/lib/DatasetCohort.ts +++ b/libs/core-ui/src/lib/DatasetCohort.ts @@ -141,7 +141,7 @@ export class DatasetCohort { dataDict[index][DatasetCohortColumns.PredictedY] = val; } }); - this.dataset.object_detection_labels?.forEach((val, index) => { + this.dataset.objectDetectionLabels?.forEach((val, index) => { dataDict[index][DatasetCohortColumns.ObjectDetectionIncorrect] = val.incorrect; dataDict[index][DatasetCohortColumns.ObjectDetectionCorrect] = diff --git a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Context/buildModelAssessmentContext.ts b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Context/buildModelAssessmentContext.ts index a166e68a45..feee0bc44a 100644 --- a/libs/model-assessment/src/lib/ModelAssessmentDashboard/Context/buildModelAssessmentContext.ts +++ b/libs/model-assessment/src/lib/ModelAssessmentDashboard/Context/buildModelAssessmentContext.ts @@ -60,7 +60,7 @@ export function buildInitialModelAssessmentContext( featureMetaData: props.dataset.feature_metadata, localExplanations, metadata: modelMetadata, - objectDetectionLabels: props.dataset.object_detection_labels, + objectDetectionLabels: props.dataset.objectDetectionLabels, predictedProbabilities: props.dataset.probability_y, predictedY: props.dataset.predicted_y, targetColumn: props.dataset.target_column,