Researchers test artificial intelligence that calculates suicide attempt risk