{
  "candidates": [
    {
      "threshold": 0.2,
      "tp": 5,
      "fp": 6,
      "tn": 1,
      "fn": 0,
      "precision": 0.4545,
      "recall": 1.0,
      "cost": 12.0
    },
    {
      "threshold": 0.3,
      "tp": 5,
      "fp": 5,
      "tn": 2,
      "fn": 0,
      "precision": 0.5,
      "recall": 1.0,
      "cost": 10.0
    },
    {
      "threshold": 0.4,
      "tp": 4,
      "fp": 4,
      "tn": 3,
      "fn": 1,
      "precision": 0.5,
      "recall": 0.8,
      "cost": 20.0
    },
    {
      "threshold": 0.5,
      "tp": 4,
      "fp": 2,
      "tn": 5,
      "fn": 1,
      "precision": 0.6667,
      "recall": 0.8,
      "cost": 16.0
    },
    {
      "threshold": 0.6,
      "tp": 3,
      "fp": 2,
      "tn": 5,
      "fn": 2,
      "precision": 0.6,
      "recall": 0.6,
      "cost": 28.0
    },
    {
      "threshold": 0.7,
      "tp": 3,
      "fp": 1,
      "tn": 6,
      "fn": 2,
      "precision": 0.75,
      "recall": 0.6,
      "cost": 26.0
    },
    {
      "threshold": 0.8,
      "tp": 2,
      "fp": 0,
      "tn": 7,
      "fn": 3,
      "precision": 1.0,
      "recall": 0.4,
      "cost": 36.0
    },
    {
      "threshold": 0.9,
      "tp": 1,
      "fp": 0,
      "tn": 7,
      "fn": 4,
      "precision": 1.0,
      "recall": 0.2,
      "cost": 48.0
    }
  ],
  "selected": {
    "threshold": 0.3,
    "tp": 5,
    "fp": 5,
    "tn": 2,
    "fn": 0,
    "precision": 0.5,
    "recall": 1.0,
    "cost": 10.0
  },
  "decision": "use_threshold"
}
