Add ObjectiveValueComponent.xy

This commit is contained in:
2021-03-30 17:17:29 -05:00
parent 9266743940
commit e8adeb28a3
5 changed files with 46 additions and 4 deletions

View File

@@ -297,8 +297,8 @@ class PrimalSolutionComponent(Component):
)
return [opt_value < 0.5, opt_value > 0.5]
@staticmethod
def xy(
self,
instance: Any,
sample: TrainingSample,
) -> Tuple[Dict, Dict]: