Fake News Detection Project (ML)
Fake News Detection

Fake news simply means - to incorporate information that leads people to the wrong path. Nowadays fake news is spreading a lot and people share this information without verifying it.
Fake news detection is a severe yet challenging problem. The rapid rise of social networking platforms has not only yielded an enormous increase in information but has also stimulated the spread of fake news. Thus, the effect of fake news has been increasing, sometimes extending to the offline world and intimidating public safety. Given a large amount of web content, automatic fake news detection is a practical solution useful to all online content providers, to reduce the human time and effort to detect and prevent the spread of fake news.
Detecting Fake News using Python
First, we will import libraries and the dataset. The dataset we’ll use for this project- we’ll call it news.csv which has a shape of 7796×4 (7796 rows and 4 columns).
Required packages:
pip install pandas
pip install numpy
pip install scikit-learn
You can download the dataset here.
Analyzing the data:
Next step is to analyze the data using functions like head(), describe(), count(), etc
Data Cleaning:
data=data.drop(axis=1,labels="Unnamed: 0") data=data.dropna()


Comments
Post a Comment