Skip to content

Add probabilistic ML dashboard (React + FastAPI)#1046

Open
Shristimishra980 wants to merge 1 commit intosktime:mainfrom
Shristimishra980:add-dashboard-ui
Open

Add probabilistic ML dashboard (React + FastAPI)#1046
Shristimishra980 wants to merge 1 commit intosktime:mainfrom
Shristimishra980:add-dashboard-ui

Conversation

@Shristimishra980
Copy link
Copy Markdown

@Shristimishra980 Shristimishra980 commented May 4, 2026

Reference Issues/PRs

What does this implement/fix? Explain your changes.

This PR introduces a brand new full-stack dashboard for the skpro library. This dashboard allows users to interactively explore, visualize, and compare the uncertainty estimates of different probabilistic models. The dashboard includes:
Backend (skpro/dashboard/backend/): A FastAPI application that serves the available models (
main.py, models.py) and handles model fitting and prediction with uncertainty intervals via API endpoints (/upload, /predict, /compare).
Frontend (skpro/dashboard/frontend/): A React application utilizing recharts to render confidence bands, prediction charts, and side-by-side model metric comparisons.
Sample Datasets: A set of sample CSV files to easily test the application functionality.

Does your contribution introduce a new dependency? If yes, which one?

Yes, but they are isolated. The dashboard relies on fastapi, uvicorn, pandas, and react/npm for the frontend. These dependencies are strictly isolated inside the skpro/dashboard folder and do not add to the external dependencies of the core skpro package.

What should a reviewer concentrate their feedback on?

Reviewing the structural placement of the dashboard/ folder. If the core team prefers this to be a standalone repository (e.g. sktime/skpro-dashboard), let me know!
The implementations and API wrappers around BayesianRidge, GaussianProcessRegressor, QuantileRegressor, and GradientBoostingRegressor in models.py Feedback on visual layout for the React frontend.

Did you add any tests for the change?

There are no automated unit tests included in this PR due to its nature as a standalone dashboard. Verified locally through end-to-end manual testing of:
Starting up backend and frontend simultaneously.
Uploading sample datasets and evaluating predictions.

Any other comments?

N/A

PR checklist

For all contributions
  • I've added myself to the list of contributors with any new badges I've earned :-)
    How to: add yourself to the all-contributors file in the skpro root directory (not the CONTRIBUTORS.md). Common badges: code - fixing a bug, or adding code logic. doc - writing or improving documentation or docstrings. bug - reporting or diagnosing a bug (get this plus code if you also fixed the bug in the PR).maintenance - CI, test framework, release.
    See here for full badge reference
  • The PR title starts with either [ENH], [MNT], [DOC], or [BUG]. [BUG] - bugfix, [MNT] - CI, test framework, [ENH] - adding or improving code, [DOC] - writing or improving documentation or docstrings.
For new estimators
  • I've added the estimator to the API reference - in docs/source/api_reference/taskname.rst, follow the pattern.
  • I've added one or more illustrative usage examples to the docstring, in a pydocstyle compliant Examples section.
  • If the estimator relies on a soft dependency, I've set the python_dependencies tag and ensured
    dependency isolation, see the estimator dependencies guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant