ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
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.查看完整 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.