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
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: 6
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: keras-team/keras
Commit Name: 023331ec2a7b0086abfc81eca16c84a1692ee653
Time: 2017-02-09
Author: francois.chollet@gmail.com
File Name: keras/layers/convolutional.py
Class Name: ZeroPadding3D
Method Name: __init__
Project Name: DistrictDataLabs/yellowbrick
Commit Name: ca14cf72e3e4bd3a6136cafad8701ac41f48f09b
Time: 2018-08-25
Author: davidwaterman@gmail.com
File Name: yellowbrick/cluster/elbow.py
Class Name: KElbowVisualizer
Method Name: __init__