ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
A hands-on scikit-learn pipeline where every step is open: split, preprocess, train, evaluate. Compare algorithms and see decision boundaries.
EducationTypeScript · PythonGitHub @tyxgxOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
An educational platform for exploring how ML pipelines actually work — stage by stage, not just a form that returns a prediction.
The ML backend runs in your browser (Python via Pyodide, in a Web Worker), so there is no server to wake up. The first visit downloads about 30 MB of scientific libraries (cached afterwards) and the engine boots in the background while you browse. Only the AI assistant calls a hosted server, because it needs a secret API key.Read the full README ↗An educational platform for exploring how ML pipelines actually work — stage by stage, not just a form that returns a prediction.
Live demo: interactive-ml-kappa.vercel.app
The ML backend runs in your browser (Python via Pyodide, in a Web Worker), so there is no server to wake up. The first visit downloads about 30 MB of scientific libraries (cached afterwards) and the engine boots in the background while you browse. Only the AI assistant calls a hosted server, because it needs a secret API key.
Most beginner ML demos hide everything behind a single "predict" button. This project does the opposite: it exposes each stage of a real scikit-learn pipeline — load, split, preprocess, train, predict, evaluate — as an independent, inspectable step, so you can see exactly what happens to the data at each point (shapes, fitted transforms, hyperparameters, metrics) instead of treating the model as a black box. It's built for understanding the mechanics of the pipeline, not for production inference.
| Layer | Technology |
|---|---|
| Frontend | Next.js, TypeScript, Tailwind CSS |
| Backend | FastAPI (Python) |
| ML | scikit-learn, pandas |
| Deployment | Vercel (frontend), Render (backend) |
Generic schema-driven pipeline. Every dataset — built-in or uploaded CSV — is passed through the same code path. Columns are classified as numeric or categorical by pandas dtype at load time, and that schema drives preprocessing, algorithm selection, and comparison. There's no special-cased logic for "the iris dataset" versus "a user's CSV"; they're indistinguishable once loaded.
Leakage-safe preprocessing. The train/test split happens before preprocessing, and the ColumnTransformer (imputer + scaler for numeric columns, imputer + one-hot encoder for categorical columns) is fit only on the training split. The test split is only ever transformed, never fit on — so no information from the test set leaks into the preprocessing statistics.
Session-based stage architecture. Each pipeline stage (load, split, preprocess, train, predict, evaluate) is an independent endpoint that reads its prerequisites from an in-memory session and writes its own output back to it. Because every stage is self-contained and stage-order is enforced by declared prerequisites rather than hardcoded sequencing, the same endpoints power both manual step-by-step execution and the one-click "Run Entire Pipeline" flow.
Fair algorithm comparison. The train/test split is fixed per session (random_state=42), so when the comparison stage fits every candidate algorithm, each one sees exactly the same training data and is scored against exactly the same test set. That's what makes the resulting ranking a meaningful comparison rather than an artifact of different random splits.
backend/ is a FastAPI app. The same code runs two ways: as a normal server (uvicorn main:app, used by the tests and as a fallback) and inside the browser.frontend/public/py-worker.js boots Pyodide, mounts the files from frontend/public/py/ (generated by npm run sync:backend, committed) and answers HTTP-like requests through a small ASGI adapter (backend/pyodide_runner.py). frontend/lib/api.ts exposes it as apiFetch, with fetch semantics including the streamed Compare All response.NEXT_PUBLIC_ENGINE=server to always use the server.public/py is in sync, and runs the shipped backend in real Pyodide (node scripts/pyodide-smoke.mjs).cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
Environment variables (see backend/.env.example):
| Variable | Description | Default |
|---|---|---|
ALLOWED_ORIGINS | Comma-separated list of allowed CORS origins | http://localhost:3000 |
cd frontend
npm install
npm run dev
Environment variables (see frontend/.env.example):
| Variable | Description | Default |
|---|---|---|
NEXT_PUBLIC_API_URL | Base URL of the backend API | http://localhost:8000 |
frontend/ directory, and set NEXT_PUBLIC_API_URL to your deployed backend's URL.backend/ directory, set ALLOWED_ORIGINS to your deployed frontend's origin, and use the start command:
uvicorn main:app --host 0.0.0.0 --port $PORT
california_housingThe california_housing built-in dataset is fetched over the network on first use (scikit-learn downloads and caches it locally). This requires outbound network access from wherever the backend runs. On macOS, if you hit an SSL certificate verification error fetching it locally, set SSL_CERT_FILE to your certifi bundle before starting the server:
SSL_CERT_FILE=$(python3 -c "import certifi; print(certifi.where())") uvicorn main:app --reload --port 8000
Dataset preview — the iris dataset loaded, with its inferred schema (numeric/categorical columns, missing values) shown alongside a preview of the raw rows.
Pipeline execution — stages run independently, each showing its own status and summary (split sizes, preprocessing shapes, fitted hyperparameters) as they complete.
Algorithm comparison — every applicable algorithm evaluated on the same split, ranked best-first, with the top performer highlighted.
MIT — see LICENSE.