diff --git a/optuna_dashboard/ts/components/TrialTable.tsx b/optuna_dashboard/ts/components/TrialTable.tsx index d46c93f1..5055f648 100644 --- a/optuna_dashboard/ts/components/TrialTable.tsx +++ b/optuna_dashboard/ts/components/TrialTable.tsx @@ -168,7 +168,7 @@ export const TrialTable: FC<{ studyDetail: StudyDetail | null }> = ({ studyDetail?.union_user_attrs.forEach((attr_spec) => { columns.push({ field: "user_attrs", - label: `User attribute ${attr_spec.key}`, + label: `UserAttribute ${attr_spec.key}`, toCellValue: (i) => trials[i].user_attrs.find((attr) => attr.key === attr_spec.key) ?.value || null, @@ -195,10 +195,6 @@ export const TrialTable: FC<{ studyDetail: StudyDetail | null }> = ({ }) }) - const collapseParamColumns: DataGridColumn[] = [ - { field: "name", label: "Name", sortable: true }, - { field: "value", label: "Value", sortable: true }, - ] const collapseIntermediateValueColumns: DataGridColumn[] = [ { field: "step", label: "Step", sortable: true }, @@ -234,30 +230,6 @@ export const TrialTable: FC<{ studyDetail: StudyDetail | null }> = ({ const collapseBody = (index: number) => { return ( - - - - Parameters - - - columns={collapseParamColumns} - rows={trials[index].params} - keyField={"name"} - dense={true} - rowsPerPageOption={[5, 10, { label: "All", value: -1 }]} - /> - - Trial user attributes - - - columns={collapseAttrColumns} - rows={trials[index].user_attrs} - keyField={"key"} - dense={true} - rowsPerPageOption={[5, 10, { label: "All", value: -1 }]} - /> - - @@ -270,6 +242,10 @@ export const TrialTable: FC<{ studyDetail: StudyDetail | null }> = ({ dense={true} rowsPerPageOption={[5, 10, { label: "All", value: -1 }]} /> + + + + Trial system attributes