c5b22f3d485edfd5f465ec6b9c783eec93f4e830,src/skmultiflow/meta/leverage_bagging.py,LeverageBagging,__init__,#LeverageBagging#Any#Any#Any#Any#Any#Any#Any#,118

Before Change



        super().__init__()
        // default values
        self.h = h.reset()
        self.ensemble_length = None
        self.ensemble = None
        self.adwin_ensemble = None
        self.n_detected_changes = 0

After Change


        self.enable_matrix_codes = enable_code_matrix
        self.w = w
        self.delta = delta
        if leverage_algorithm not in self.LEVERAGE_ALGORITHMS:
            raise ValueError("Leverage algorithm not supported.")
        self.leveraging_algorithm = leverage_algorithm
        self._init_random_state = random_state
        self.__configure()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: c5b22f3d485edfd5f465ec6b9c783eec93f4e830
Time: 2018-07-21
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/meta/leverage_bagging.py
Class Name: LeverageBagging
Method Name: __init__


Project Name: rlworkgroup/garage
Commit Name: ab5e5c897c2db06f2bd59c63e314643e1b0b8888
Time: 2020-05-19
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/off_policy_vectorized_sampler.py
Class Name: OffPolicyVectorizedSampler
Method Name: obtain_samples


Project Name: elfi-dev/elfi
Commit Name: e3f4b018d3591f239c6d59cc93b895be4c1791fa
Time: 2017-03-31
Author: jarno.lintusaari@aalto.fi
File Name: elfi/methods/methods.py
Class Name: BayesianOptimization
Method Name: init_inference