ESP32-S3 Bench Guide
ESP32‑S3 N16R8 벤치 가이드: 실시간 핀아웃, 강의, 시뮬레이터 및 벤치 로그
scikit-learn 파이프라인을 직접 체험하며 단계별로 데이터 분할·전처리·학습·평가를 열람하고, 알고리즘을 비교해 결정 경계를 확인합니다
A hands-on scikit-learn pipeline where every step is open: split, preprocess, train, evaluate. Compare algorithms and see decision boundaries.
교육TypeScript · PythonGitHub @tyxgx온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기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.