Install the dependencies and devDependencies.
pip install --upgrade -r DQN_DDQN_requirements.txt
Go to the folder - User Data Creation Run the code
python User_Data.py
Input - User History Data.csv & Dummy User.csv Outup - Train Data.csv & separate excel sheets for every user. For example - User608.csv
Go to the folder - TFIDF-States Run the code
python TFIDF_States.py
Input - Articles.csv Outup - TFIDF-States.csv
Copy Train Data.csv , TFIDF-States.csv & separate excel sheets for every user. For example - User608.csv to the folder - DQN-DDQN Code/Final Code Run the code
python DQN_DDQN.py
Input - Articles.csv , Train Data.csv , TFIDF-States.csv & separate excel sheets for every user. For example - User608.csv