da3630c4eccc04079e465256786f65d6d87e7b1f,pdpipe/col_generation.py,Log,__init__,#Log#Any#Any#Any#Any#Any#,844
Before Change
const_shift=None,
**kwargs
):
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
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: 4
Non-data size: 13
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/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__
Project Name: shaypal5/pdpipe
Commit Name: 46aea54b80a6f7516447a84b3d66d9502fe3834a
Time: 2020-02-09
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ValKeep
Method Name: __init__
Project Name: shaypal5/pdpipe
Commit Name: a3e7204855a76e143a40073236c6254609f2303a
Time: 2020-02-05
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ValDrop
Method Name: __init__