35110fa3d224a0d72638f3011a08640e237c2416,pyro/contrib/epidemiology/compartmental.py,CompartmentalModel,fit,#CompartmentalModel#,283

Before Change


        // Save these options for .predict().
        self.num_quant_bins = options.pop("num_quant_bins", 4)
        self._dct = options.pop("dct", None)
        if self._dct is not None and self.is_regional:
            raise NotImplementedError("regional models do not support DiscreteCosineReparam")

        // Heuristically initialze to feasible latents.
        heuristic_options = {k.replace("heuristic_", ""): options.pop(k)
                             for k in list(options)
                             if k.startswith("heuristic_")}

After Change


        
        // Save these options for .predict().
        self.num_quant_bins = options.pop("num_quant_bins", 4)
        haar = options.pop("haar", False)

        // Heuristically initialze to feasible latents.
        heuristic_options = {k.replace("heuristic_", ""): options.pop(k)
                             for k in list(options)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: uber/pyro
Commit Name: 35110fa3d224a0d72638f3011a08640e237c2416
Time: 2020-05-19
Author: fritzo@uber.com
File Name: pyro/contrib/epidemiology/compartmental.py
Class Name: CompartmentalModel
Method Name: fit


Project Name: reinforceio/tensorforce
Commit Name: c794fa99318462b5b04b77cfff27428d85cfb443
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: execute


Project Name: reinforceio/tensorforce
Commit Name: 3f91c1f276c254fcb39df3fd1d03464366930503
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: execute


Project Name: prody/ProDy
Commit Name: 2489a361d254ed5c930dd6864c1b7912b87a8462
Time: 2018-03-22
Author: shz66@pitt.edu
File Name: prody/utilities/catchall.py
Class Name:
Method Name: clusterMatrix