ecfdcc5d420fbbd94053522e78f211fca3387b61,deepchem/trans/transformers.py,ClippingTransformer,untransform,#ClippingTransformer#Any#,180

Before Change


    return (X, y, w)

  def untransform(self, z):
    warnings.warn("Clipping cannot be undone.")
    return z

class LogTransformer(Transformer):

After Change


    return (X, y, w)

  def untransform(self, z):
    raise NotImplementedError(
      "Cannot untransform datasets with ClippingTransformer.")

class LogTransformer(Transformer):

  def __init__(self, transform_X=False, transform_y=False,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: ecfdcc5d420fbbd94053522e78f211fca3387b61
Time: 2017-02-02
Author: jgomes@berkeley.edu
File Name: deepchem/trans/transformers.py
Class Name: ClippingTransformer
Method Name: untransform


Project Name: pymc-devs/pymc3
Commit Name: 2ed755f61f34302a8e89b7242a400cf8ee058912
Time: 2017-07-10
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/flows.py
Class Name: LinearFlow
Method Name: make_uw


Project Name: tensorflow/cleverhans
Commit Name: f9dd2e3636db61ee1b4d32ee4f494fd9e71adc12
Time: 2017-03-29
Author: ngp5056@cse.psu.edu
File Name: cleverhans/attacks.py
Class Name: FastGradientMethod
Method Name: generate_np


Project Name: pfnet/optuna
Commit Name: 80680c7fe4e47a3b3e0c067c19372bfac1204d7f
Time: 2020-12-23
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/trial/_trial.py
Class Name: Trial
Method Name: should_prune


Project Name: pfnet/optuna
Commit Name: 80680c7fe4e47a3b3e0c067c19372bfac1204d7f
Time: 2020-12-23
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/trial/_trial.py
Class Name: Trial
Method Name: report


Project Name: tensorflow/cleverhans
Commit Name: f9dd2e3636db61ee1b4d32ee4f494fd9e71adc12
Time: 2017-03-29
Author: ngp5056@cse.psu.edu
File Name: cleverhans/attacks.py
Class Name: Attack
Method Name: generate_np