{
  "id": 4186,
  "title": "Meaning of the prediction",
  "url": "/competitions/cause-effect-pairs/discussion/4186",
  "author_name": "",
  "post_date": "2013-04-03T16:09:08.307Z",
  "votes": null,
  "comment_count": 5,
  "views": 2793,
  "content": "<p>Would it be possible to know more about the meaning of the predicted values and how the final score will be computed?</p>\r\n<p>I am guessing :</p>\r\n<p>- positive for A-&gt;B</p>\r\n<p>- negative for A&lt;-B</p>\r\n<p>- zero for the other options?</p>\r\n<p>Am I right?</p>\r\n<p>Thanks in advance</p>",
  "messages": [
    {
      "id": "22080",
      "postDate": "04/03/2013 16:09:08",
      "content": "<p>Would it be possible to know more about the meaning of the predicted values and how the final score will be computed?</p>\r\n<p>I am guessing :</p>\r\n<p>- positive for A-&gt;B</p>\r\n<p>- negative for A&lt;-B</p>\r\n<p>- zero for the other options?</p>\r\n<p>Am I right?</p>\r\n<p>Thanks in advance</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22084",
      "postDate": "04/03/2013 16:19:31",
      "content": "<p>For each pair of variables, we have a ternary truth value indicating whether A is a cause of B (&#43;1), B is a cause of A (-1), or neither (0).&nbsp;We use the scores provided by the participants as a ranking criterion and evaluate their entries with two&nbsp;<a href=\"http://www.causality.inf.ethz.ch/cause-effect.php?page=tasks#AUC\">Area\r\n Under the ROC curve</a>&nbsp;(AUC) scores:&nbsp;<br>\r\nLet Yhat be your predicted score in [-Inf, &#43;Inf] and Y the target values in {-1, 0 1}.&nbsp;<br>\r\nWe define Y1=Y; Y1(Y==0)=-1; and Y2=Y; Y2(Y==0)=&#43;1;&nbsp;<br>\r\nScore = 0.5*(AUC(Yhat, Y1)&#43;AUC(Yhat, Y2));&nbsp;</p>\r\n<p>The first score AUC(Yhat, Y1) measures the success at correctly detecting that A-&gt;B rather than [A&lt;-B, A-B, or A|B].&nbsp;<br>\r\nThe second score AUC(Yhat, Y2) measures the success at correctly detecting that A&lt;-B rather than [A-&gt;B, A-B, or A|B].&nbsp;<br>\r\nSince the problem is symmetric, we average the two scores.&nbsp;<br>\r\nThe organizers will also compute various other score for analysis purpose, but they will not be used to rank the participants.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22596",
      "postDate": "04/11/2013 02:10:13",
      "content": "<p>I am confused about the meaning of Yhat.</p>\r\n<p>From the competition notes: &quot;We expect the participants to produce a score between -Inf and &#43;Inf, large positive values indicating that A is a cause of B with certainty, large negative values indicating that B is a cause of A with certainty.&nbsp;Middle range\r\n scores (near zero) indicate that neither A causes B nor B causes A.&quot;</p>\r\n<p>But as you say this is *ternary* problem: if a large positive value indicates A is a cause of B with certainty, a large negative value can only mean A is not a cause of B.</p>\r\n<p>It seems I should produce *two* numbers: Z1 to indicate the degree that A is a cause of B, and Z2 to indicate the degree that B is a cause of A. Obviously, consistency requires they cannot both be large.</p>\r\n<p>As an example, consider a ternary probabilistic classifier and let Z1=logit P(A-&gt;B) and Z2=logit P(B-&gt;A).</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22609",
      "postDate": "04/11/2013 06:14:18",
      "content": "<p>The rationale is that eventually we want to do massive causal data mining in publicly available data and rank pairs of variable in order of how promising the causal relationship looks like. In this way, we can walk through the list and conduct experimental\r\n validations until our budget is exhausted or we have enough interesting results. So we need a ranking score.</p>\r\n<p>The problem is symmetric in A and B. So it makes sense to have a symmetric score, with A-&gt;B for large positive scores and A&lt;-B for small negative scores and other cases in between. In this way, we can score the results as 2 classification problems: A-&gt;B\r\n vs. all other cases or A&lt;-B vs all other cases as we do in the challenge. See &quot;SCORING&quot; on page:&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=tasks.&nbsp;</p>\r\n<p>If you produce 2 numbers, you can just subtract them form one another: Z1-Z2.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22658",
      "postDate": "04/11/2013 21:35:02",
      "content": "<p>Hi Isabelle,</p>\r\n<p>Thanks for your reply--I know you must be pretty busy.</p>\r\n<p>I really like this challenge, I am just concerned the scoring system is not evaluating actual beliefs.</p>\r\n<p>Here is an example: suppose I think P(A-&gt;B) = 0.6 and P(B-&gt;A) =0.1. Then under your suggestion Yhat = logit 0.6 - logit 0.1 = 2.6. But I would get the same score if my beliefs were P(A-&gt;B) = 0.79 and P(B-&gt;A) = 0.21 or P(A-&gt;B) = 0.3 and P(B-&gt;A) = 0.03. While\r\n these always favour A-&gt;B over B-&gt;A, in the last case it much more likely that there is no direct causal connection at all!</p>\r\n<p>I have no problem turning a ternary classification problem into two one-against-the-rest classification problems, it just seems I should provide a number for each problem.</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "22671",
      "postDate": "04/12/2013 00:40:15",
      "content": "<p>I was thinking that you would normalize such that P(A-&gt;B)&#43;P(B-&gt;A)=1, in which case you would obtain different values for each sets of results: 3.58, 2.64, and 6.81. But feel free to solve the problem in another way.</p>\r\n<p>I think it makes sense to have just one score and not two because the problem is completely symmetric in A and B and imposing to have just one score forces you to take this constraint into account rather than considering the problem as a general 3-class\r\n problem. In terms of a margin-based optimization problem in which you impose that there is a margin area around your decision boundary, you could formulate it as imposing that A-&gt;B examples fall on one side of the margin, B-&gt;A for on the other side of the\r\n margin, and the other cases (A-B and A|B) fall inside the margin. Then you can either exchange the roles of A and B (to get twice as many examples of A-&gt;B and B-&gt;A) or enforce the symmetry of the classes as another constraint.</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 22084,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/03/2013 16:19:31",
      "content": "<p>For each pair of variables, we have a ternary truth value indicating whether A is a cause of B (&#43;1), B is a cause of A (-1), or neither (0).&nbsp;We use the scores provided by the participants as a ranking criterion and evaluate their entries with two&nbsp;<a href=\"http://www.causality.inf.ethz.ch/cause-effect.php?page=tasks#AUC\">Area\r\n Under the ROC curve</a>&nbsp;(AUC) scores:&nbsp;<br>\r\nLet Yhat be your predicted score in [-Inf, &#43;Inf] and Y the target values in {-1, 0 1}.&nbsp;<br>\r\nWe define Y1=Y; Y1(Y==0)=-1; and Y2=Y; Y2(Y==0)=&#43;1;&nbsp;<br>\r\nScore = 0.5*(AUC(Yhat, Y1)&#43;AUC(Yhat, Y2));&nbsp;</p>\r\n<p>The first score AUC(Yhat, Y1) measures the success at correctly detecting that A-&gt;B rather than [A&lt;-B, A-B, or A|B].&nbsp;<br>\r\nThe second score AUC(Yhat, Y2) measures the success at correctly detecting that A&lt;-B rather than [A-&gt;B, A-B, or A|B].&nbsp;<br>\r\nSince the problem is symmetric, we average the two scores.&nbsp;<br>\r\nThe organizers will also compute various other score for analysis purpose, but they will not be used to rank the participants.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22596,
      "author_name": "mangostein",
      "author_url": "",
      "post_date": "04/11/2013 02:10:13",
      "content": "<p>I am confused about the meaning of Yhat.</p>\r\n<p>From the competition notes: &quot;We expect the participants to produce a score between -Inf and &#43;Inf, large positive values indicating that A is a cause of B with certainty, large negative values indicating that B is a cause of A with certainty.&nbsp;Middle range\r\n scores (near zero) indicate that neither A causes B nor B causes A.&quot;</p>\r\n<p>But as you say this is *ternary* problem: if a large positive value indicates A is a cause of B with certainty, a large negative value can only mean A is not a cause of B.</p>\r\n<p>It seems I should produce *two* numbers: Z1 to indicate the degree that A is a cause of B, and Z2 to indicate the degree that B is a cause of A. Obviously, consistency requires they cannot both be large.</p>\r\n<p>As an example, consider a ternary probabilistic classifier and let Z1=logit P(A-&gt;B) and Z2=logit P(B-&gt;A).</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22609,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/11/2013 06:14:18",
      "content": "<p>The rationale is that eventually we want to do massive causal data mining in publicly available data and rank pairs of variable in order of how promising the causal relationship looks like. In this way, we can walk through the list and conduct experimental\r\n validations until our budget is exhausted or we have enough interesting results. So we need a ranking score.</p>\r\n<p>The problem is symmetric in A and B. So it makes sense to have a symmetric score, with A-&gt;B for large positive scores and A&lt;-B for small negative scores and other cases in between. In this way, we can score the results as 2 classification problems: A-&gt;B\r\n vs. all other cases or A&lt;-B vs all other cases as we do in the challenge. See &quot;SCORING&quot; on page:&nbsp;http://www.causality.inf.ethz.ch/cause-effect.php?page=tasks.&nbsp;</p>\r\n<p>If you produce 2 numbers, you can just subtract them form one another: Z1-Z2.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22658,
      "author_name": "mangostein",
      "author_url": "",
      "post_date": "04/11/2013 21:35:02",
      "content": "<p>Hi Isabelle,</p>\r\n<p>Thanks for your reply--I know you must be pretty busy.</p>\r\n<p>I really like this challenge, I am just concerned the scoring system is not evaluating actual beliefs.</p>\r\n<p>Here is an example: suppose I think P(A-&gt;B) = 0.6 and P(B-&gt;A) =0.1. Then under your suggestion Yhat = logit 0.6 - logit 0.1 = 2.6. But I would get the same score if my beliefs were P(A-&gt;B) = 0.79 and P(B-&gt;A) = 0.21 or P(A-&gt;B) = 0.3 and P(B-&gt;A) = 0.03. While\r\n these always favour A-&gt;B over B-&gt;A, in the last case it much more likely that there is no direct causal connection at all!</p>\r\n<p>I have no problem turning a ternary classification problem into two one-against-the-rest classification problems, it just seems I should provide a number for each problem.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 22671,
      "author_name": "iguyon",
      "author_url": "",
      "post_date": "04/12/2013 00:40:15",
      "content": "<p>I was thinking that you would normalize such that P(A-&gt;B)&#43;P(B-&gt;A)=1, in which case you would obtain different values for each sets of results: 3.58, 2.64, and 6.81. But feel free to solve the problem in another way.</p>\r\n<p>I think it makes sense to have just one score and not two because the problem is completely symmetric in A and B and imposing to have just one score forces you to take this constraint into account rather than considering the problem as a general 3-class\r\n problem. In terms of a margin-based optimization problem in which you impose that there is a margin area around your decision boundary, you could formulate it as imposing that A-&gt;B examples fall on one side of the margin, B-&gt;A for on the other side of the\r\n margin, and the other cases (A-B and A|B) fall inside the margin. Then you can either exchange the roles of A and B (to get twice as many examples of A-&gt;B and B-&gt;A) or enforce the symmetry of the classes as another constraint.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "22080": "",
    "22084": "",
    "22596": "",
    "22609": "",
    "22658": "",
    "22671": ""
  },
  "source": "meta"
}