Learning how to process text is a skill required for Data Scientists. In this project, you will put these skills into practice to identify whether a news headline is real or fake news.
In the file dataset/training_data.csv
you will find dataset containing news headlines and their tags:
0, if the headline is fake news, and, 1, if the headline is real news.
Your goal is to build a classifier that is able to distinguish between the two.
Once you have a classifier built, then use it to predict the labels for dataset/testing_data.csv
. Generate a new file
where the label 2
has been replaced by 0
(fake) or 1
(real) according to your model. Please respect the original file format,
do not include extra columns, and respect the column separator.
Like in a real life scenario, you are able to make your own choices and text treatment. Use the techniques you have learned and the common packages to process this data and classify the text.
- Python Code: Provide well-documented Python code that conducts the analysis.
- Predictions: A csv file in the same format as
testing_data.csv
but with the predicted labels (0 or 1) - Accuracy estimation: Provide the teacher with your estimation of how your model will perform.
- Presentation: You will present your model in a 10-minute presentation. Your teacher will provide further instructions.