Home▸Algorithms & AI▸AI Mental Health Triage: From Signal to Diagnosis (2D)

AI Mental Health Triage: From Signal to Diagnosis (2D)

2D companion to the 3D triage pipeline: the same logistic risk-classifier gate, drawn as a scrolling lane diagram instead of an orbiting 3D funnel. Tune signal levels and detection sensitivity and watch sessions split between chatbot and clinician.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇆ 3D version
2d-ai-mental-health-triage-from-signal-to-diagnosis ↗ Open standalone

This 2D companion runs the exact same logistic risk-classifier gate as the 3D version, drawn as a scrolling lane diagram instead of an orbiting scene: patient sessions enter as dots on the left, pass through Signal Intake, NLP Sentiment and the Risk Classifier gates, and are colored by outcome — self-guided chatbot, flagged for check-in, or escalated to a clinician — so the shape of the sigmoid decision boundary is easy to read off the live readout panel.

⚙ Under the hood

Each session carries hidden depression, anxiety and suicidality-risk signals; a logistic model R = σ(2.1D + 1.8A + 3.4S − 3.0) turns them into a single risk score, and the Detection sensitivity slider moves the decision threshold that splits chatbot sessions from clinician escalations.

risk classifierlogistic regressionsigmoidtriage pipelinethreshold tuningnlp sentiment

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)