L i[ddlmZddlmZddlZddlmZddlZddlm Z ddlm Z ddl m Z e jeZGdd Zy) ) annotations)SequenceN)Any)logging)trial)StudyDirectionceZdZdZdd d dZd dZd dZd dZed dZ edd Z edd Z y) StudySummaryaBasic attributes and aggregated results of a :class:`~optuna.study.Study`. See also :func:`optuna.study.get_all_study_summaries`. Attributes: study_name: Name of the :class:`~optuna.study.Study`. direction: :class:`~optuna.study.StudyDirection` of the :class:`~optuna.study.Study`. .. note:: This attribute is only available during single-objective optimization. directions: A sequence of :class:`~optuna.study.StudyDirection` objects. best_trial: :class:`optuna.trial.FrozenTrial` with best objective value in the :class:`~optuna.study.Study`. user_attrs: Dictionary that contains the attributes of the :class:`~optuna.study.Study` set with :func:`optuna.study.Study.set_user_attr`. system_attrs: Dictionary that contains the attributes of the :class:`~optuna.study.Study` internally set by Optuna. .. warning:: Deprecated in v3.1.0. ``system_attrs`` argument will be removed in the future. The removal of this feature is currently scheduled for v5.0.0, but this schedule is subject to change. See https://github.com/optuna/optuna/releases/tag/v3.1.0. n_trials: The number of trials ran in the :class:`~optuna.study.Study`. datetime_start: Datetime where the :class:`~optuna.study.Study` started. N) directionsc ||_| | td| t| |_n| |g|_n td||_||_||_||_||_||_ y)Nz,Specify one of `direction` and `directions`.z1Specify only one of `direction` and `directions`.) study_name ValueErrorlist _directions best_trial user_attrs _system_attrsn_trialsdatetime_start _study_id) selfr directionrr system_attrsrrstudy_idr s a/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/optuna/study/_study_summary.py__init__zStudySummary.__init__5s}%  !3KL L  ##J/D   " ){D PQ Q$$)  ,!c`t|tstS|j|jk(SN) isinstancer NotImplemented__dict__rothers r__eq__zStudySummary.__eq__Rs%%.! !~~..rc`t|tstS|j|jkSrr r r!rr#s r__lt__zStudySummary.__lt__Xs%%.! !~~//rc`t|tstS|j|jkSrr'r#s r__le__zStudySummary.__le__^s%%.! !~~00rcft|jdkDr td|jdS)NzDThis attribute is not available during multi-objective optimization.r)lenr RuntimeErrorrs rrzStudySummary.directionds8 t 1 $V ""rc|jSr)rr/s rr zStudySummary.directionsmsrcNtjdt|jS)Nz`system_attrs` has been deprecated in v3.1.0. The removal of this feature is currently scheduled for v5.0.0, but this schedule is subject to change. See https://github.com/optuna/optuna/releases/tag/v3.1.0.)warningswarn FutureWarningrr/s rrzStudySummary.system_attrsqs'  H   !!!r)r strrzStudyDirection | Nonerztrial.FrozenTrial | Nonerdict[str, Any]rr6rintrzdatetime.datetime | Nonerr7r zSequence[StudyDirection] | None)r$rreturnbool)r8r)r8zSequence[StudyDirection])r8r6) __name__ __module__ __qualname____doc__rr%r(r*propertyrr rrrr r s"^7;"")"- " # " % ""1""4":/ 0 1 ##   " "rr ) __future__rcollections.abcrdatetimetypingrr2optunarroptuna.study._study_directionr get_loggerr:_loggerr r?rrrHs="$8 '  X &k"k"r