{
  "coin": {
    "outcomes": [
      "H",
      "H",
      "T",
      "H",
      "H"
    ],
    "likelihoods": {
      "0.5": 0.03125,
      "0.8": 0.08191999999999999,
      "0.9": 0.06560999999999999
    },
    "mle": 0.8,
    "map": 0.7142857142857143,
    "predictive": 0.6666666666666667,
    "posterior": [
      6,
      3
    ]
  },
  "linear": {
    "hours": [
      1.0,
      2.0,
      3.0
    ],
    "y": [
      1.0,
      1.0,
      4.0
    ],
    "ols": [
      2,
      1.5
    ],
    "predictions": [
      0.5000000000000002,
      2.0,
      3.5
    ],
    "sse": 1.4999999999999998,
    "ridge": [
      2,
      0.75
    ],
    "ridge_sse": 2.625,
    "ridge_objective": 3.75,
    "first_gradient": [
      -6.0,
      -3.0
    ],
    "first_step": [
      0.6000000000000001,
      0.30000000000000004
    ]
  },
  "naive_bayes": {
    "counts": [
      [
        2,
        1,
        0
      ],
      [
        1,
        1,
        0
      ],
      [
        0,
        0,
        2
      ],
      [
        1,
        0,
        1
      ]
    ],
    "labels": [
      1,
      1,
      0,
      0
    ],
    "spam_probability": 0.8212290502793298,
    "gaussian_spam_probability": 0.8175744761936437
  },
  "logistic": {
    "probabilities": [
      0.18242552380635635,
      0.3775406687981454,
      0.6224593312018546,
      0.8175744761936437
    ],
    "gradient": [
      0.0,
      -0.2312043100543036
    ],
    "start_loss": 0.33774513108142956,
    "updated": [
      -1.5,
      1.1156021550271518
    ],
    "updated_loss": 0.3150321760477117
  },
  "clustering": {
    "points": [
      1.0,
      2.0,
      3.0,
      8.0,
      9.0,
      10.0
    ],
    "trace": [
      {
        "centers": [
          1.5,
          7.5
        ],
        "labels": [
          0,
          0,
          1,
          1,
          1,
          1
        ],
        "wcss": 29.5
      },
      {
        "centers": [
          2.0,
          9.0
        ],
        "labels": [
          0,
          0,
          0,
          1,
          1,
          1
        ],
        "wcss": 4.0
      },
      {
        "centers": [
          2.0,
          9.0
        ],
        "labels": [
          0,
          0,
          0,
          1,
          1,
          1
        ],
        "wcss": 4.0
      }
    ],
    "optimal_wcss": [
      77.5,
      4.0,
      2.5,
      1.0,
      0.5,
      0.0
    ],
    "silhouette": 0.8065476190476191,
    "dunn": 2.5,
    "kmeans_plus_plus_probabilities": [
      0.0,
      0.005025125628140704,
      0.020100502512562814,
      0.24623115577889448,
      0.32160804020100503,
      0.40703517587939697
    ]
  },
  "pca": {
    "data": [
      [
        1.0,
        1.0
      ],
      [
        2.0,
        3.0
      ],
      [
        3.0,
        2.0
      ],
      [
        4.0,
        4.0
      ]
    ],
    "covariance": [
      [
        1.6666666666666667,
        1.3333333333333333
      ],
      [
        1.3333333333333333,
        1.6666666666666667
      ]
    ],
    "variance_ratio": 0.9,
    "reconstructed": [
      [
        0.9999999999999998,
        1.0
      ],
      [
        2.5,
        2.5
      ],
      [
        2.5,
        2.5
      ],
      [
        3.9999999999999996,
        3.999999999999999
      ]
    ],
    "total_error": 1
  },
  "lda": {
    "class_a": [
      [
        4.0,
        1.0
      ],
      [
        2.0,
        4.0
      ],
      [
        2.0,
        3.0
      ],
      [
        3.0,
        6.0
      ],
      [
        4.0,
        4.0
      ]
    ],
    "class_b": [
      [
        9.0,
        10.0
      ],
      [
        6.0,
        8.0
      ],
      [
        9.0,
        5.0
      ],
      [
        8.0,
        7.0
      ],
      [
        10.0,
        8.0
      ]
    ],
    "means": [
      [
        3.0,
        3.6
      ],
      [
        8.4,
        7.6
      ]
    ],
    "scatter_a": [
      [
        4.0,
        -2.0
      ],
      [
        -2.0,
        13.200000000000001
      ]
    ],
    "scatter_b": [
      [
        9.2,
        -0.19999999999999998
      ],
      [
        -0.19999999999999998,
        13.2
      ]
    ],
    "between_scatter": [
      [
        72.9,
        54.0
      ],
      [
        54.0,
        39.99999999999999
      ]
    ],
    "fisher_scores": [
      2.2090909090909094,
      0.606060606060606,
      2.8632679650470605,
      3.131370038412292
    ],
    "maximum_fisher": 3.131370038412292,
    "within_scatter": [
      [
        13.2,
        -2.2
      ],
      [
        -2.2,
        26.4
      ]
    ],
    "direction": [
      0.9195593176455571,
      0.39295122004039795
    ],
    "projected_means": [
      4.173302345082104,
      10.710727540529703
    ],
    "equal_prior_boundary": 7.442014942805904
  },
  "lda_classification": {
    "class_a": [
      [
        1.0,
        2.0
      ],
      [
        3.0,
        2.0
      ],
      [
        2.0,
        1.0
      ],
      [
        2.0,
        3.0
      ]
    ],
    "class_b": [
      [
        5.0,
        4.0
      ],
      [
        7.0,
        4.0
      ],
      [
        6.0,
        3.0
      ],
      [
        6.0,
        5.0
      ]
    ],
    "means": [
      [
        2.0,
        2.0
      ],
      [
        6.0,
        4.0
      ]
    ],
    "priors": [
      0.5,
      0.5
    ],
    "covariance_mle": [
      [
        0.5,
        0.0
      ],
      [
        0.0,
        0.5
      ]
    ],
    "class_weights": [
      [
        4.0,
        4.0
      ],
      [
        12.0,
        8.0
      ]
    ],
    "class_offsets": [
      -8.693147180559945,
      -52.69314718055995
    ],
    "new_point": [
      4.0,
      4.0
    ],
    "scores": [
      23.306852819440053,
      27.306852819440053
    ],
    "posterior": [
      0.017986209962091555,
      0.9820137900379085
    ],
    "prediction": "B",
    "boundary_weights": [
      8,
      4
    ],
    "boundary_intercept": -44
  }
}
