mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-30 13:30:17 +08:00
31 lines
606 B
TypeScript
31 lines
606 B
TypeScript
import { atom } from "recoil"
|
|
|
|
export const studySummariesState = atom<StudySummary[]>({
|
|
key: "studySummaries",
|
|
default: [],
|
|
})
|
|
|
|
export const studyDetailsState = atom<StudyDetails>({
|
|
key: "studyDetails",
|
|
default: {},
|
|
})
|
|
|
|
export const graphVisibilityState = atom<GraphVisibility>({
|
|
key: "graphVisibility",
|
|
default: {
|
|
history: true,
|
|
paretoFront: true,
|
|
parallelCoordinate: true,
|
|
intermediateValues: true,
|
|
edf: true,
|
|
contour: true,
|
|
importances: true,
|
|
slice: true,
|
|
},
|
|
})
|
|
|
|
export const reloadIntervalState = atom<number>({
|
|
key: "reloadInterval",
|
|
default: 10,
|
|
})
|