def __init__(self, train): #terms = [LinearPopularity] terms = [HumidityEffect, SmoothedWeatherEffect, LinearPopularity, TempEffect, WindspeedEffect] ProductModel.__init__(self, train, terms)
def __init__(self, train): #terms = [HumidityEffect, SmoothedWeatherEffect, TempEffect, WindspeedEffect, CommuteDaytypeEffect, CommuteDailyPattern] terms = [CommuteDaytypeEffect, CommuteDailyPattern] ProductModel.__init__(self, train, terms)