Source code for dice_ml.utils.serialize
[docs]class DummyDataInterface:
def __init__(self, outcome_name, data_df=None):
self.outcome_name = outcome_name
if data_df is not None:
self.data_df = data_df
[docs]class DummyDataInterface:
def __init__(self, outcome_name, data_df=None):
self.outcome_name = outcome_name
if data_df is not None:
self.data_df = data_df