mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
Rename xy to xy_sample
This commit is contained in:
@@ -137,7 +137,7 @@ class Component(ABC):
|
||||
return
|
||||
|
||||
@staticmethod
|
||||
def xy(
|
||||
def xy_sample(
|
||||
instance: Any,
|
||||
training_sample: TrainingSample,
|
||||
) -> Tuple[Dict, Dict]:
|
||||
|
||||
@@ -163,7 +163,7 @@ class ObjectiveValueComponent(Component):
|
||||
return ev
|
||||
|
||||
@staticmethod
|
||||
def xy(
|
||||
def xy_sample(
|
||||
instance: Any,
|
||||
sample: TrainingSample,
|
||||
) -> Tuple[Dict, Dict]:
|
||||
|
||||
@@ -298,7 +298,7 @@ class PrimalSolutionComponent(Component):
|
||||
return [opt_value < 0.5, opt_value > 0.5]
|
||||
|
||||
@staticmethod
|
||||
def xy(
|
||||
def xy_sample(
|
||||
instance: Any,
|
||||
sample: TrainingSample,
|
||||
) -> Tuple[Dict, Dict]:
|
||||
|
||||
Reference in New Issue
Block a user