Research Article
Hybrid Recommender System for Mental Illness Detection in Social Media Using Deep Learning Techniques
Algorithm 2
RFD-PSO algorithm’s pseudocode [
27].
| Start | | Step 1. Randomly initialize the parameters | | Step 2. | | 2.1 RFD algorithm initiated | | Move drops | | Erode paths | | Deposit sediments | | Until termination | | 2.2 PSO algorithm initiated | | For each particle | | Fitness value f computed | | If f > pBest (best fitness value) | | Set f as new pBest | | End | | Choose gBest in the swarm | | For each particle | | Update particle velocity and position | | End | | 2.3 Record the best solution | | Step 3. If the maximum number of iterations is reached, then output the best solution; else, go to Step 2 | | End |
|