{
  "version": "xarts.classifier-evaluation/1",
  "family": "classifier-evaluation",
  "provenance": {
    "legacyId": "roccurve"
  },
  "data": {
    "input": "roc-points",
    "models": [
      {
        "id": "model-1",
        "label": "Model ROC",
        "color": "series.blue",
        "rows": [
          {
            "id": "point-1",
            "fpr": 0,
            "tpr": 0
          },
          {
            "id": "point-2",
            "fpr": 0.01,
            "tpr": 0.12
          },
          {
            "id": "point-3",
            "fpr": 0.03,
            "tpr": 0.28
          },
          {
            "id": "point-4",
            "fpr": 0.05,
            "tpr": 0.39
          },
          {
            "id": "point-5",
            "fpr": 0.08,
            "tpr": 0.48
          },
          {
            "id": "point-6",
            "fpr": 0.1,
            "tpr": 0.55
          },
          {
            "id": "point-7",
            "fpr": 0.14,
            "tpr": 0.63
          },
          {
            "id": "point-8",
            "fpr": 0.18,
            "tpr": 0.69
          },
          {
            "id": "point-9",
            "fpr": 0.22,
            "tpr": 0.74
          },
          {
            "id": "point-10",
            "fpr": 0.27,
            "tpr": 0.79
          },
          {
            "id": "point-11",
            "fpr": 0.32,
            "tpr": 0.83
          },
          {
            "id": "point-12",
            "fpr": 0.38,
            "tpr": 0.86
          },
          {
            "id": "point-13",
            "fpr": 0.44,
            "tpr": 0.89
          },
          {
            "id": "point-14",
            "fpr": 0.5,
            "tpr": 0.91
          },
          {
            "id": "point-15",
            "fpr": 0.57,
            "tpr": 0.93
          },
          {
            "id": "point-16",
            "fpr": 0.64,
            "tpr": 0.95
          },
          {
            "id": "point-17",
            "fpr": 0.72,
            "tpr": 0.96
          },
          {
            "id": "point-18",
            "fpr": 0.8,
            "tpr": 0.97
          },
          {
            "id": "point-19",
            "fpr": 0.9,
            "tpr": 0.99
          },
          {
            "id": "point-20",
            "fpr": 1,
            "tpr": 1
          }
        ]
      }
    ]
  },
  "calculation": {
    "kind": "roc",
    "order": "input",
    "integration": "trapezoid",
    "coverage": "complete",
    "roundAreaDecimals": null,
    "calibrationMetric": "none"
  },
  "layout": {
    "margin": {
      "top": 24,
      "right": 20,
      "bottom": 56,
      "left": 48
    },
    "smartAxis": false,
    "gridColumns": false,
    "xTicks": null,
    "yTicks": 5,
    "axisTrim": true,
    "axisDecimals": 2,
    "axisMeasurementNumerals": "proportional-nums",
    "exportAxisMeasurement": "glyph-advances"
  },
  "marks": {
    "interpolation": "linear",
    "lineWidth": 2.5,
    "area": {
      "visible": true,
      "opacity": 0.12,
      "opacityAttribute": "opacity",
      "clipped": true
    },
    "point": {
      "visible": false,
      "sizing": "fixed",
      "minRadius": 4,
      "maxRadius": 12,
      "opacity": 0.8,
      "stroke": "surface",
      "strokeWidth": 1.5
    },
    "reference": {
      "kind": "diagonal",
      "prevalence": null,
      "color": "textMuted",
      "width": 1,
      "dash": "6 3",
      "legend": false
    }
  },
  "labels": {
    "x": "False positive rate",
    "y": "True positive rate",
    "counts": "Samples",
    "reference": "Random classifier",
    "metric": "AUC",
    "metricDecimals": 3,
    "annotationFontSize": 12
  },
  "legend": {
    "visible": false,
    "includeMetric": false,
    "shape": "line",
    "exportMeasurement": "basic-pairs"
  },
  "statistic": {
    "visible": true,
    "modelId": "model-1",
    "xFraction": 0.65,
    "yFraction": 0.55,
    "labelFontSize": 14,
    "valueFontSize": 22,
    "valueGap": 28,
    "color": "textPrimary",
    "fontWeight": 700
  },
  "interaction": {
    "tooltip": true,
    "legend": false
  },
  "annotations": [],
  "document": {
    "header": {
      "title": "Model ROC Curve",
      "subtitle": "True positive rate against false positive rate, with the area under the curve"
    },
    "footer": {
      "source": "xarts · demo data",
      "notes": "Illustrative data to explore the chart and replace with your own."
    },
    "spacing": {
      "horizontalPadding": 24,
      "topPadding": 22,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 800,
      "height": 480
    },
    "locale": "en-US",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "roccurve",
    "embedSpec": true,
    "geometryDecimals": 2
  }
}
