Skip to content

Information overload is real. NewsSentimentScanner converts raw news into signal instead of noise, offering a compact view of collective sentiment that can support faster and smarter decisions. In short: Less scrolling. More insight.

Notifications You must be signed in to change notification settings

Ak47-max26/NewsSentimentScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Intelligent Machine Learning Project : News Sentiment Scanner

🧠 Project Overview

This project is an end-to-end Machine Learning solution built to solve a real-world problem using data-driven intelligence.

It demonstrates the complete ML lifecycle:

  • Data collection
  • Data preprocessing
  • Feature engineering
  • Model training
  • Evaluation and inference

The design emphasizes clarity, scalability, and reproducibility.

✨ Key Highlights

  • Automated data preprocessing pipeline
  • Support for multiple ML models
  • Clean experiment structure
  • Evaluation with standard metrics
  • Deployment-ready logic

⚙️ Setup & Installation

This section explains how to set up and run the News Sentiment Scanner project on a local machine. The system requires Python and an active internet connection to fetch live news articles.


🔧 Prerequisites

Ensure the following are installed:
• Python 3.9 or higher
• Stable internet connection
• Git (optional, for cloning the repository)

Check Python version:
python --version


📥 Clone the Repository

Clone the project repository and navigate into the project directory:

git clone https://github.com/Ak47-max26/newssentimentscanner.git
cd NewsSentimentScanner

🧪 Create a Virtual Environment (Recommended)

Windows:

python -m venv venv
venv\Scripts\activate

Linux / macOS:

python3 -m venv venv
source venv/bin/activate

📦 Install Dependencies

All required libraries are listed in requirements.txt. Install them using:

pip install -r requirements.txt

This installs dependencies for:
• News scraping (RSS, HTML parsing)
• Natural Language Processing
• Sentiment analysis
• Transformer-based models


🔐 Download Required NLP Resources

Some NLP libraries require additional language resources. Run the following commands once:

python -m nltk.downloader punkt
python -m textblob.download_corpora

▶️ Run the Project

Execute the main script to start sentiment analysis:

python sentiment_analysis.py

Internal workflow:
• Fetches live news from Google News RSS
• Extracts article titles
• Applies sentiment analysis using NLP models
• Displays individual results and summary insights

🏗️ System Architecture

Raw Data
   ↓
Data Cleaning
   ↓
Feature Engineering
   ↓
Model Training
   ↓
Evaluation
   ↓
Prediction / Deployment

About

Information overload is real. NewsSentimentScanner converts raw news into signal instead of noise, offering a compact view of collective sentiment that can support faster and smarter decisions. In short: Less scrolling. More insight.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published