S. No | ID No. | Name |
---|---|---|
1. | 2022A7PS0004U | Yusra Hakim |
2. | 2022A7PS0019U | Joseph Cijo |
3. | 2022A7PS0031U | Ritvik Bhatnagar |
This Repository hosts the model building part for the project in Data Mining (CS F415) course. It contains the code used for preparing the ensemble model using the dataset mentioned below.
Dataset introduced in: V. Pawan Kumar, A. Prateek, A. Ivone and P. Radu, "WELFake: Word Embedding Over Linguistic Features for Fake News Detection," IEEE Transactions on Computational Social Systems, vol. 8, no. 4, pp. 881-893, 2021. Kaggle | WELFake Dataset
Firstly install Miniconda from here.
Then open a command prompt in this directory, and run the following. This will create and activate an environment called "PROJ".
conda create -n proj python=3.12
conda activate proj
After running this, your CMD prompt should have a "(proj)
" prefixed at the start.
Run the following command to install packages, such as PyTorch. This will take some time.
%conda install -n proj ipykernel ipywidgets --update-deps --force-reinstall
%conda install -n proj nltk
%conda install -n proj conda-forge::textblob
%pip install scikit-learn matplotlib pandas pyperclip contractions scipy numpy
%conda install -n proj conda-forge::transformers
%pip install torch --index-url https://download.pytorch.org/whl/cu124
Remember to select the PROJ environment at the bottom-right.