edc1be55d3a858213b77a2e6b7692014cc2b3039,optuna/_study_summary.py,StudySummary,direction,#StudySummary#Any#,89
Before Change
self._direction: Union[StudyDirection, Sequence[StudyDirection]]
if isinstance(d, Sequence):
d = tuple(d)
if len(d) == 1:
self._direction = d[0]
else:
self._direction = d
else:
self._direction = d
After Change
@direction.setter
def direction(self, d: StudyDirection) -> None:
if len(self._directions) > 1:
raise RuntimeError(
"This attribute is not available for the multi-objective optimization."
)
self._directions = (d,)
@property
def directions(self) -> Sequence[StudyDirection]:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
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
Project Name: open-mmlab/mmdetection
Commit Name: f0644d7d7137a0f7369616ed1740379e47a918cf
Time: 2020-03-19
Author: melikovk@gmail.com
File Name: tools/test.py
Class Name: MultipleKVAction
Method Name: __call__
Project Name: andresriancho/w3af
Commit Name: 8353ade56a90f5d1f7167fc9e8e2563970630ef3
Time: 2018-07-20
Author: andres.riancho@gmail.com
File Name: w3af/core/data/misc/smart_queue.py
Class Name: QueueSpeedMeasurement
Method Name: _calculate_rpm