Spaces:
Running
Running
Download index.html from Marvinds/research-log: direct link, hf CLI and curl.
- Browser
- Download file 4.97 kB
-
https://huggingface.co/spaces/Marvinds/research-log/resolve/main/index.html
- Command line
-
hf download hf://spaces/Marvinds/research-log/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Marvinds/research-log/resolve/main/index.html
4.97 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Research Log</title> | |
| <style> | |
| :root{--bg:#fafaf9;--fg:#1c1917;--muted:#57534e;--card:#fff;--line:#e7e5e4;--accent:#4338ca;--ok:#15803d;--wip:#b45309;--todo:#78716c} | |
| @media (prefers-color-scheme:dark){:root{--bg:#0c0a09;--fg:#f5f5f4;--muted:#a8a29e;--card:#1c1917;--line:#292524;--accent:#a5b4fc;--ok:#4ade80;--wip:#fbbf24;--todo:#a8a29e}} | |
| *{box-sizing:border-box} | |
| body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif} | |
| main{max-width:860px;margin:0 auto;padding:48px 16px 64px} | |
| h1{font-size:2rem;margin:0 0 4px} | |
| h2{font-size:1.15rem;margin:40px 0 12px;padding-bottom:6px;border-bottom:1px solid var(--line)} | |
| p{margin:0 0 12px} | |
| .muted{color:var(--muted)} | |
| a{color:var(--accent)} | |
| .pattern{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;list-style:none} | |
| .pattern li{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:2px 12px;font-size:.9rem} | |
| .grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))} | |
| .card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:16px} | |
| .card h3{margin:0 0 4px;font-size:1rem} | |
| .card p{font-size:.92rem;color:var(--muted);margin:0 0 8px} | |
| .tag{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em} | |
| .ok{color:var(--ok)}.wip{color:var(--wip)}.todo{color:var(--todo)} | |
| table{width:100%;border-collapse:collapse;font-size:.92rem} | |
| th,td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--line);vertical-align:top} | |
| th{color:var(--muted);font-weight:600} | |
| .scroll{overflow-x:auto} | |
| </style> | |
| </head> | |
| <body> | |
| <main> | |
| <h1>Research Log</h1> | |
| <p class="muted">Backend engineer (banking) learning ML systems: fraud, risk and reliable inference on transaction data.</p> | |
| <h2>Research pattern</h2> | |
| <p>Every experiment is written up the same way so results stay comparable over time.</p> | |
| <ol class="pattern"> | |
| <li>Question</li><li>Hypothesis</li><li>Data</li><li>Method</li><li>Result</li><li>What I learned</li><li>Next</li> | |
| </ol> | |
| <h2>Projects</h2> | |
| <div class="grid"> | |
| <div class="card"> | |
| <span class="tag ok">v1 done</span> | |
| <h3><a href="https://huggingface.co/datasets/Marvinds/synthetic-bank-transactions">Synthetic Bank Transactions</a></h3> | |
| <p>100k synthetic card transactions with a known fraud mechanism, ~0.7% fraud rate.</p> | |
| </div> | |
| <div class="card"> | |
| <span class="tag ok">v1 done</span> | |
| <h3><a href="https://huggingface.co/Marvinds/fraud-baseline-logreg">fraud-baseline-logreg</a></h3> | |
| <p>Logistic-regression baseline, time-based split. PR-AUC 0.72, the number to beat.</p> | |
| </div> | |
| <div class="card"> | |
| <span class="tag ok">v1 done</span> | |
| <h3><a href="https://www.kaggle.com/code/rifqiafwan/credit-card-fraud-eda-baseline">Credit Card Fraud: EDA + Baseline</a></h3> | |
| <p>Same pattern on a public real-world dataset (Kaggle, mlg-ulb).</p> | |
| </div> | |
| <div class="card"> | |
| <span class="tag wip">reference</span> | |
| <h3><a href="https://github.com/marvinds1/fraud-scoring-service">fraud-scoring-service</a></h3> | |
| <p>The serving side: FastAPI real-time scoring with idempotency and reason codes.</p> | |
| </div> | |
| </div> | |
| <h2>Experiment log</h2> | |
| <div class="scroll"> | |
| <table> | |
| <thead><tr><th>Date</th><th>Question</th><th>Result</th><th>Next</th></tr></thead> | |
| <tbody> | |
| <tr><td>2026-11-29</td><td>Can a linear baseline recover a known fraud mechanism under a time-based split?</td><td>Yes: PR-AUC 0.72, and the top coefficients (velocity, amount spike) match the generator.</td><td>Gradient boosting on the same split</td></tr> | |
| <tr><td>2026-11-29</td><td>Does the same baseline hold on real public data (mlg-ulb, 0.17% fraud)?</td><td>ROC-AUC 0.986 vs PR-AUC 0.753; recall 0.72 at precision ≥ 0.8. ROC-AUC overstates quality, as hypothesised.</td><td>Calibration + threshold from an alert budget</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <h2>Study roadmap</h2> | |
| <div class="scroll"> | |
| <table> | |
| <thead><tr><th>Track</th><th>Topic</th><th>Status</th></tr></thead> | |
| <tbody> | |
| <tr><td>Foundations</td><td>Imbalanced classification, PR-AUC, calibration</td><td class="wip">in progress</td></tr> | |
| <tr><td>Foundations</td><td>Tree ensembles (GBDT) vs linear models</td><td class="todo">next</td></tr> | |
| <tr><td>Data</td><td>Point-in-time feature engineering, leakage</td><td class="todo">planned</td></tr> | |
| <tr><td>Data</td><td>Concept drift detection</td><td class="todo">planned</td></tr> | |
| <tr><td>ML systems</td><td>Low-latency inference, model versioning, monitoring</td><td class="todo">planned</td></tr> | |
| <tr><td>Deep learning</td><td>Sequence models over transaction histories</td><td class="todo">later</td></tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </main> | |
| </body> | |
| </html> | |