da3630c4eccc04079e465256786f65d6d87e7b1f,pdpipe/col_generation.py,Log,__init__,#Log#Any#Any#Any#Any#Any#,844
Before Change
if columns is None:
self._columns = None
else:
self._columns = _interpret_columns_param(columns)
if exclude is None:
self._exclude = []
else:
self._exclude = _interpret_columns_param(exclude)
self._drop = drop
self._non_neg = non_neg
self._const_shift = const_shift
self._col_to_minval = {}
After Change
self._non_neg = non_neg
self._const_shift = const_shift
self._col_to_minval = {}
super_kwargs = {
"columns": columns,
"exclude_columns": exclude_columns,
"desc_temp": "Log-transform {}",
}
super_kwargs.update(**kwargs)
super_kwargs["none_columns"] = OfDtypes([np.number])
super().__init__(**super_kwargs)
def _transformation(self, df, verbose, fit):
raise NotImplementedError
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 16
Instances
Project Name: shaypal5/pdpipe
Commit Name: da3630c4eccc04079e465256786f65d6d87e7b1f
Time: 2020-02-16
Author: shaypal5@gmail.com
File Name: pdpipe/col_generation.py
Class Name: Log
Method Name: __init__
Project Name: shaypal5/pdpipe
Commit Name: da3630c4eccc04079e465256786f65d6d87e7b1f
Time: 2020-02-16
Author: shaypal5@gmail.com
File Name: pdpipe/sklearn_stages.py
Class Name: Scale
Method Name: __init__
Project Name: shaypal5/pdpipe
Commit Name: da3630c4eccc04079e465256786f65d6d87e7b1f
Time: 2020-02-16
Author: shaypal5@gmail.com
File Name: pdpipe/col_generation.py
Class Name: Log
Method Name: __init__
Project Name: shaypal5/pdpipe
Commit Name: da3630c4eccc04079e465256786f65d6d87e7b1f
Time: 2020-02-16
Author: shaypal5@gmail.com
File Name: pdpipe/sklearn_stages.py
Class Name: Encode
Method Name: __init__