Research Article

[Retracted] Large-Scale Textual Datasets and Deep Learning for the Prediction of Depressed Symptoms

Algorithm 2

A proposed model
Start
Training and Testing of Text
Assign T = the number of text training samples.
Do this for i = 1 to M.
Text = Text (i) to get it.
Obtain features and assign the label of the text to Yi.
End of
Get all the training features L and labels Y.
Train the model!
Calculate the cosine similarity of two vectors: one from the dataset and one from a previously used typed vector.
If the similarity is there, then it is depression; else, there is no depression.
End