Technology from Facebook, Cogito and others shows promise, but critics raise privacy concerns.
The algorithms identified common traits among suicidal patients - such as a history of using antidepressants and injuries with firearms - and could predict with 80% to 90% accuracy whether someone would attempt suicide in the next two years.