Esempio n. 1
0
 def __setstate__(self, state):
     # FIXME bug with sklearn-pandas 1.x that is fixed on 2.x (can
     # delete after upgrade)
     # horrible hack - DataFrameMapper does not call super.__setstate__
     # in 1.x, but we happen to know that its parent is BaseEstimator
     BaseEstimator.__setstate__(self, state)
     DataFrameMapper.__setstate__(self, state)
Esempio n. 2
0
 def __setstate__(self, state):
     # FIXME see SubsetTransformer.__setstate__
     BaseEstimator.__setstate__(self, state)
     DataFrameMapper.__setstate__(self, state)