{
  "id": 6066,
  "title": "What is srch_query_affinity_score?",
  "url": "/competitions/expedia-personalized-sort/discussion/6066",
  "author_name": "",
  "post_date": "2013-10-21T06:55:36.900Z",
  "votes": null,
  "comment_count": 3,
  "views": 1618,
  "content": "<p>What is srch_query_affinity_score?</p>\n<p>Description given: The log of the probability a hotel will be clicked on in Internet searches (hence the values are negative) &nbsp;A null signifies there are no data (i.e. hotel did not register in any searches)</p>\n<p>Is it the log of number of times a hotel being clicked by the number of times it appears in the display? Or as the feature name has 'srch_query' in it, is the probability related to some search query?</p>\n<p>&nbsp;</p>",
  "messages": [
    {
      "id": "32477",
      "postDate": "10/21/2013 06:55:36",
      "content": "<p>What is srch_query_affinity_score?</p>\n<p>Description given: The log of the probability a hotel will be clicked on in Internet searches (hence the values are negative) &nbsp;A null signifies there are no data (i.e. hotel did not register in any searches)</p>\n<p>Is it the log of number of times a hotel being clicked by the number of times it appears in the display? Or as the feature name has 'srch_query' in it, is the probability related to some search query?</p>\n<p>&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "32574",
      "postDate": "10/23/2013 07:24:15",
      "content": "<p>Given a search query (e.g. &quot;New York cheap hotels&quot;) srch_query_affinity_score is the log probability that a given hotel will be clicked conditioned on this particular query. The probabilities are estimated using a variant of the Naive-Bayes algorithm.</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "32575",
      "postDate": "10/23/2013 08:37:53",
      "content": "<p>1. By &quot;conditioned on this particular query&quot;, do you mean conditioned on this particular search id (dest, lengthofstay, nrooms,...) or a more general set of queries like &quot;New York cheap hotels&quot;? (I also don't understand how &quot;New York cheap hotels&quot; query is performed as there is no features provided with keywords. Maybe there is another interface to search with such keywords, which was used to calculate probabilities).</p>\n<p>&nbsp;</p>\n<p>2. A null signifies there are no data (i.e. hotel did not register in any searches).</p>\n<p>For a given search id, a hotel did register (was displayed), hence the row in the data. How then there can be a null value for&nbsp;srch_query_affinity_score (no data for the hotel for that query)?</p>\n<p>&nbsp;</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "32576",
      "postDate": "10/23/2013 09:10:22",
      "content": "<p>srch_query_affinity_score is only defined in the context of textual queries. See discussion here: https://www.kaggle.com/c/expedia-personalized-sort/forums/t/5696/srch-query-affinity-score-and-prop-location-score</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 32574,
      "author_name": "adamwoz",
      "author_url": "",
      "post_date": "10/23/2013 07:24:15",
      "content": "<p>Given a search query (e.g. &quot;New York cheap hotels&quot;) srch_query_affinity_score is the log probability that a given hotel will be clicked conditioned on this particular query. The probabilities are estimated using a variant of the Naive-Bayes algorithm.</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 32575,
      "author_name": "cr21579",
      "author_url": "",
      "post_date": "10/23/2013 08:37:53",
      "content": "<p>1. By &quot;conditioned on this particular query&quot;, do you mean conditioned on this particular search id (dest, lengthofstay, nrooms,...) or a more general set of queries like &quot;New York cheap hotels&quot;? (I also don't understand how &quot;New York cheap hotels&quot; query is performed as there is no features provided with keywords. Maybe there is another interface to search with such keywords, which was used to calculate probabilities).</p>\n<p>&nbsp;</p>\n<p>2. A null signifies there are no data (i.e. hotel did not register in any searches).</p>\n<p>For a given search id, a hotel did register (was displayed), hence the row in the data. How then there can be a null value for&nbsp;srch_query_affinity_score (no data for the hotel for that query)?</p>\n<p>&nbsp;</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 32576,
      "author_name": "adamwoz",
      "author_url": "",
      "post_date": "10/23/2013 09:10:22",
      "content": "<p>srch_query_affinity_score is only defined in the context of textual queries. See discussion here: https://www.kaggle.com/c/expedia-personalized-sort/forums/t/5696/srch-query-affinity-score-and-prop-location-score</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "32477": "",
    "32574": "",
    "32575": "",
    "32576": ""
  },
  "source": "meta"
}