1.LR for doc2vec and Logistic Regression:
pip3 install pandaspip3 install bs4pip3 install tqdmpip3 install nltkpip3 install gensimpip3 install lxmlpip3 install seabornpip3 install textfixturessudo apt-get install python3 - tk- Run command
python3 LR.py -d DATA_FOLDER
2.docLinearR.py for doc2vec and Linear Regression:
- Run command
python3 docLinearR.py
3.tfIDF for Naive Bayes, SVM, Logistic Regression, MLP, Random Forest and KNN:
- Run command
python3 tfIDF.py
4.tfIDF_Linear for Linear Regression:
- Run command
python3 tfIDF_Linear.py
5.wordLR for word2vec and Naive Bayes, SVM, Logistic Regression, MLP, Random Forest and KNN:
- download file: GoogleNews-vectors-negative300.bin.gz or GoogleNews-vectors-negative300-SLIM.bin.gz
- Run command
python3 wordLR.py
6.wordLinearR for word2vec and Linear Regression:
- download file: GoogleNews-vectors-negative300.bin.gz or GoogleNews-vectors-negative300-SLIM.bin.gz
- Run command
python3 LR.py wordLinearR.py