LearningDiscriminant

Discriminant-analysis models. Trainers in the scikit-learn Discriminant family, behind Learning's typed contract. Each requires a clean training set (``independent_target`` and no missing values) and stamps the model with the dataset's feature/class count. ``open LearningDiscriminant`` brings the core types in scope too.
Imports
open LearningCore;
Table of Contents

Functions

linear_discriminant_analysis

def linear_discriminant_analysis (ds: {d : Dataset | independent_target d = True && has_missing d = False}) : {m : SklearnClassifier | clf_features m = ds_features ds && clf_classes m = ds_classes ds}

quadratic_discriminant_analysis

def quadratic_discriminant_analysis (ds: {d : Dataset | independent_target d = True && has_missing d = False}) : {m : SklearnClassifier | clf_features m = ds_features ds && clf_classes m = ds_classes ds}