Skip to content

About

NLP-based Duplicate Question Detection using TF-IDF, Bag of Words, and handcrafted text similarity features with Random Forest and XGBoost classifiers. Includes text preprocessing and a Streamlit web app for predicting whether two questions are semantically similar.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Duplicate Question Pair Detection

A machine learning-based web application that predicts whether two questions are duplicates using NLP feature engineering, TF-IDF vectorization, and XGBoost classification.

Tech Stack

  • Python Language
  • Scikit-learn
  • XGBoost
  • NLTK
  • Streamlit

Features

  • Text preprocessing and cleaning Data
  • 22 handcrafted NLP similarity features
  • TF-IDF vectorization (5000 features)
  • Duplicate question prediction
  • Interactive Streamlit interface

Model Performance

  • Random Forest Accuracy: 78.6%
  • XGBoost Accuracy: 79.6%

Run Locally

python advance_features.py
streamlit run streamlit-app/app.py

About

NLP-based Duplicate Question Detection using TF-IDF, Bag of Words, and handcrafted text similarity features with Random Forest and XGBoost classifiers. Includes text preprocessing and a Streamlit web app for predicting whether two questions are semantically similar.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages