Objective: Rewrite sample_evaluate

This commit is contained in:
2021-04-03 18:37:03 -05:00
parent 7af22bd16b
commit 185b95118a
5 changed files with 59 additions and 95 deletions

View File

@@ -186,7 +186,7 @@ class PrimalSolutionComponent(Component):
self,
features: Features,
sample: TrainingSample,
) -> Dict:
) -> Dict[Hashable, Dict[str, float]]:
solution_actual = sample["Solution"]
assert solution_actual is not None
solution_pred = self.sample_predict(features, sample)