Skip to content

swapnilpawar24/News-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Classification with Machine Learning

This project aims to classify news articles as either fake or real using machine learning techniques. The dataset used for training and evaluation consists of fake and real news articles.

Table of Contents

Introduction

News classification is a common natural language processing (NLP) task that involves training a machine learning model to distinguish between fake and real news articles. This project uses a dataset of labeled news articles to train a Logistic Regression model for classification.

Installation

  1. Clone the repository to your local machine:

       https://github.com/swapnilpawar24/News-classification.git
       cd News-classification
    

Usage

  • Download the dataset: Provide the path to your fake and real news datasets in the code where data is loaded.

  • Run the Jupyter Notebook: Open the Jupyter Notebook and execute the cells to train the model and evaluate its performance.

  • Manual Testing: Use the manual_testing function to test the model with manually entered news articles.

Dependencies

  • pandas
  • numpy
  • seaborn
  • matplotlib
  • scikit-learn
  • jupyter

Author

Swapnil Pawar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published