Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simplify type annotations foroptuna/study/_dataframe.py#5842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
not522 merged 1 commit intooptuna:masterfromboringbyte:fix/_dataframe.py
Dec 9, 2024
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletionsoptuna/study/_dataframe.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,6 @@
import collections
from typing import Any
from typing import DefaultDict
from typing import Set

import optuna
from optuna._imports import try_import
Expand DownExpand Up@@ -36,7 +35,7 @@ def _create_records_and_aggregate_column(
# column_agg is an aggregator of column names.
# Keys of column agg are attributes of `FrozenTrial` such as 'trial_id' and 'params'.
# Values are dataframe columns such as ('trial_id', '') and ('params', 'n_layers').
column_agg: DefaultDict[str,Set] = collections.defaultdict(set)
column_agg: DefaultDict[str,set] = collections.defaultdict(set)
non_nested_attr = ""

metric_names = study.metric_names
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp