Closed amanabdullayev closed 1 year ago
Is it fixed? Can it be used?
@larun1916, I have fixed it but waiting for @Garve to merge the fix. Once it is merged then you can use it. but if you want to use it ASAP you can follow the steps:
import sys
sys.path.append( "{{path to your local repo}}" )
then you can import mamimo as usual and use it, e.g.
import pandas as pd from mamimo.carryover import ExponentialCarryover from mamimo.saturation import ExponentialSaturation from mamimo.linear_model import LinearRegression from mamimo.analysis import breakdown from mamimo.time_utils import PowerTrend from sklearn.compose import ColumnTransformer from sklearn.pipeline import Pipeline from sklearn.preprocessing import OneHotEncoder import matplotlib.pyplot as plt
Importing several sklearn functions were failing due to typo in
_OneToOneFeatureMixin
, which is currentlyOneToOneFeatureMixin
(without the underscore) in sklearn.