def __init__(self, train, test): FeatureSet.__init__(self) self.days_to_promo_start, self.days_after_promo_start, self.days_to_promo_end, self.days_after_promo_end = \ self._initialize_promo_starts_ends(train, test)
def __init__(self, store_states_path, state_holidays_path): FeatureSet.__init__(self) self.store_states_path = store_states_path self.state_holidays_path = state_holidays_path