Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CLICKBAIT HEADLINE CLASSIFIER

clickbait

Clickbait headline - A headline which lures readers/surfers to click it through exciting and fascinating language which arouses the curiosity.

  • Examples :

    • 10 Things you should do to become a millionare before turning 30.
    • You wouldn't believe what happened next ...
    • Here is how Maria lost 20kgs in just 2 weeks
  • This classifier predicts whether a headline is a Clickbait or a Normal headline.

  • This is a Supervised machine learning problem where we show the Algorithm many labelled examples of Clickbaits and Non-clickbaits .

Main script

To run the project :

  • Create a virtual environment :
    virtualenv <YOUR_VIRTUALENV_NAME>
  • Activate virtual environment :
    source <YOUR_VIRTUALENV_NAME>/bin/activate - Linux
    <YOUR_VIRTUALENV_NAME>\Scripts\activate - Windows
  • Install dependencies
    pip install jupyter numpy scipy sklearn
    (jupyter is optional)
  • Run python main.py