コード例 #1
0
 def to_scikit(self):
     """
     Convert to equivalent StandardScaler
     """
     scaler = StandardScaler(with_mean=self.with_mean,
                             with_std=self.with_std,
                             copy=self.copy)
     scaler.__dict__ = self.__dict__
     return scaler
コード例 #2
0
ファイル: data.py プロジェクト: lensacom/sparkit-learn
 def to_scikit(self):
     """
     Convert to equivalent StandardScaler
     """
     scaler = StandardScaler(with_mean=self.with_mean,
                             with_std=self.with_std,
                             copy=self.copy)
     scaler.__dict__ = self.__dict__
     return scaler