diff --git a/optuna_dashboard/ts/components/GraphHyperparameterImportances.tsx b/optuna_dashboard/ts/components/GraphHyperparameterImportances.tsx index 2561d48f..373add6c 100644 --- a/optuna_dashboard/ts/components/GraphHyperparameterImportances.tsx +++ b/optuna_dashboard/ts/components/GraphHyperparameterImportances.tsx @@ -24,7 +24,8 @@ const getPlotDomId = (objectiveId: number) => `graph-importance-${objectiveId}` export const GraphHyperparameterImportanceBeta: FC<{ studyId: number study: StudyDetail | null -}> = ({ studyId, study = null }) => { + graphHeight: string +}> = ({ studyId, study = null, graphHeight }) => { const theme = useTheme() const action = actionCreator() const importances = useParamImportanceValue(studyId) @@ -51,7 +52,7 @@ export const GraphHyperparameterImportanceBeta: FC<{ } return ( - + {title} - + diff --git a/optuna_dashboard/ts/components/StudyDetailBeta.tsx b/optuna_dashboard/ts/components/StudyDetailBeta.tsx index 9097fce7..5a22018e 100644 --- a/optuna_dashboard/ts/components/StudyDetailBeta.tsx +++ b/optuna_dashboard/ts/components/StudyDetailBeta.tsx @@ -105,13 +105,14 @@ export const StudyDetailBeta: FC<{ ) : null} - + - - + + {studyDetail.best_trials[0].values} + + number={studyDetail.best_trials[0].number} + + + trial_id={studyDetail.best_trials[0].trial_id} + Params = [ {studyDetail.best_trials[0].params @@ -142,6 +149,20 @@ export const StudyDetailBeta: FC<{ .join(", ")} ] + + Intermediate Values = [ + {studyDetail.best_trials[0].intermediate_values + .map((p) => `${p.step}: ${p.value}`) + .join(", ")} + ] + + + User Attributes = [ + {studyDetail.best_trials[0].user_attrs + .map((p) => `${p.key}: ${p.value}`) + .join(", ")} + ] + )} {studyDetail !== null && studyDetail.directions.length > 1 && ( @@ -184,7 +205,7 @@ export const StudyDetailBeta: FC<{ - +