5abd67cfe591d58c41af5fedeff06bda057c6d55,optuna/trial/_frozen.py,FrozenTrial,value,#FrozenTrial#Any#,376

Before Change



        if isinstance(v, Sequence):
            v = tuple(v)
            if len(v) > 1:
                self._value = v
            else:
                self._value = v[0]
        else:
            self._value = v

After Change



        assert not isinstance(v, Sequence)
        if self._values is not None:
            if len(self._values) > 1:
                raise RuntimeError(
                    "This attribute is not available for the multi-objective optimization."
                )

        if v is not None:
            self._values = (v,)
        else:
            self._values = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pfnet/optuna
Commit Name: 5abd67cfe591d58c41af5fedeff06bda057c6d55
Time: 2020-11-09
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/trial/_frozen.py
Class Name: FrozenTrial
Method Name: value


Project Name: SheffieldML/GPy
Commit Name: 57c4306d9282b8d3fc815336c86c7af64f75a756
Time: 2015-10-03
Author: ibinbei@gmail.com
File Name: GPy/plotting/gpy_plot/gp_plots.py
Class Name:
Method Name: _plot_mean


Project Name: pfnet/optuna
Commit Name: edc1be55d3a858213b77a2e6b7692014cc2b3039
Time: 2020-11-12
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/_study_summary.py
Class Name: StudySummary
Method Name: direction