Skip to content

istec-iuc/clickbait_detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Clickbait Detection with ANN, RNN, and LSTM

This project explores different deep learning models (ANN, RNN, and LSTM) for detecting clickbait headlines.

πŸ“‚ Dataset

The dataset used comes from Kaggle:
Clickbait Dataset
It contains news headlines labeled as:

  • 1 β†’ Clickbait
  • 0 β†’ Non-clickbait

βš™οΈ Models

I implemented and trained three models using Keras (TensorFlow):

  • Artificial Neural Network (ANN)
  • Recurrent Neural Network (RNN)
  • Long Short-Term Memory Network (LSTM)

πŸ“Š Results

The models were trained and tested on the dataset. Final accuracies:

  • ANN: 0.9598
  • RNN: 0.9267
  • LSTM: 0.9475

πŸš€ How to Run

  1. Clone this repository:
    git clone https://github.com/istec-iuc/clickbait-detector.git
    cd clickbait-detector
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the notebook to train the models

πŸ“Œ Notes

  • ANN, RNN, and LSTM were compared on the same dataset to evaluate their performance.
  • Preprocessing included text cleaning, tokenization, and padding before feeding data into the models.

About

AI based Clickbait Detection App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors