Text this: Algorithm for investigating risk analysis and factors affecting suicidal attempts under uncertainty