Coder Social home page Coder Social logo

quora-answer-prediction's Introduction

Quora Answer Prediction

Quora uses a combination of machine learning algorithms and moderation to ensure high-quality content on the site. High question and answer quality has helped Quora distinguish itself from other Q&A sites on the web.

As they get many questions every day, a challenge we have is to figure out good, interesting and meaningful questions from the bad. What questions are valid ones that can be answered? What questions attract reputable answers that then get upvoted?

This implementation tells which questions will likely get answers quickly, so that the questions can be shown in real-time to the users.

For this task, given Quora question text and topic data, predict whether a question gets an upvoted answer within 1 day.

Input Format

The first line contains N. N questions follow, each being a valid json object. The following fields of raw data are given in json.

  • question_key (string): Unique identifier for the question.
  • question_text (string): Text of the question.
  • context_topic (object): The primary topic of a question, if present. Null otherwise. The topic object will contain a name (string) and followers (integer) count.
  • topics (array of objects): All topics on a question, including the primary topic. Each topic object will contain a name (string) and followers (integer) count.
  • anonymous (boolean): Whether the question was anonymous.
  • ans (boolean): Whether the question got an up-voted answer within 1 day.

This is immediately followed by an integer T.

T questions follow, each being a valid json object.

The json contains all but one field ans.

Output Format

T rows of JSON encoded fields, with the question_key key containing the unique identifier given in the test data, and the predicted value keyed by ans.

Constraints

question_key is of ascii format.

question_text, name in topics and context_topic is of UTF-8 format.

0 <= followers <= 106

9000 <= N <= 45000

1000 <= T <= 5000

quora-answer-prediction's People

Contributors

prodo56 avatar

Watchers

 avatar

Forkers

kruthika-pai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.