440c2bc25fdc60cd6ccb491f20c8741a009ce9a7,optuna/importance/_mean_decrease_impurity.py,MeanDecreaseImpurityImportanceEvaluator,evaluate,#MeanDecreaseImpurityImportanceEvaluator#Any#Any#,59

Before Change


        if params_data.size == 0:  // `params` were given but as an empty list.
            return OrderedDict()

        params_data, cols_to_raw_cols = _encode_categorical(params_data, distributions.values())

        forest = self._forest
        forest.fit(params_data, values_data)

After Change


        for trial in study.trials:
            if trial.state != TrialState.COMPLETE:
                continue
            if any(name not in trial.params for name in distributions.keys()):
                continue
            trials.append(trial)

        trans = _Transform(trials, distributions, transform_log=False)
        trans_params = trans.params
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pfnet/optuna
Commit Name: 440c2bc25fdc60cd6ccb491f20c8741a009ce9a7
Time: 2020-12-02
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/importance/_mean_decrease_impurity.py
Class Name: MeanDecreaseImpurityImportanceEvaluator
Method Name: evaluate


Project Name: rwth-i6/returnn
Commit Name: e4a4bcbbef568a629419041d20f51a13f489d819
Time: 2020-08-12
Author: albert.zeyer@rwth-aachen.de
File Name: returnn/tf/network.py
Class Name: TFNetwork
Method Name: load_params_from_file


Project Name: quantumlib/Cirq
Commit Name: 010580845043ef751687b0ab34f694939a2fa4f5
Time: 2020-09-17
Author: kevinjefferysung@gmail.com
File Name: cirq/study/sweepable.py
Class Name:
Method Name: to_sweeps