Skip to content

amanomer/ML_QuoraQPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quora question pair problem

Quora is a place to gain and share knowledge—about anything. It’s a platform to ask questions and connect with people who contribute unique insights and quality answers. This empowers people to learn from each other and to better understand the world.

Over 100 million people visit Quora every month, so it's no surprise that many people ask similarly worded questions. Multiple questions with the same intent can cause seekers to spend more time finding the best answer to their question, and make writers feel they need to answer multiple versions of the same question. Quora values canonical questions because they provide a better experience to active seekers and writers, and offer more value to both of these groups in the long term.

Credits: Kaggle

Problem Statement

  • Identify which questions asked on Quora are duplicates of questions that have already been asked.
  • This could be useful to instantly provide answers to questions that have already been answered.
  • We are tasked with predicting whether a pair of questions are duplicates or not.

Source: https://www.kaggle.com/c/quora-question-pairs

Real world/Business Objectives and Constraints

  • The cost of a mis-classification can be very high.
  • We want a probability of a pair of questions to be duplicates so that you can choose any threshold of choice.
  • No strict latency concerns.

Data Overview

  • Data will be in a file Train.csv
  • Train.csv contains 5 columns : qid1, qid2, question1, question2, is_duplicate
  • Size of Train.csv - 60MB
  • Number of rows in Train.csv = 404,290

Performance Metric

  • Log loss
  • Binary Confusion Matrix

Environment Details

Python

Windows

How to do it again?

Execute main.py
Check whether 'final_feature.csv' is present inside data folder
Now, execute ml_model.py

What have I learned?

About

Quora question pair problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published