Linear Discriminant Analysis

A classifier with a linear decision boundary.

Inputs

Outputs If classification is binary:

  • float: accuracy
  • float: recall
  • float: precision

If classification is multi-class:

  • float: accuracy

Use

widgets/images/lda1.png

  1. Results - Here are displayed results:
    • accuracy, recall and precision in binary classification
    • accuracy in multi-class classification
  2. solver - Solver to use, possible values:
    • svd: Singular value decomposition.
    • lsqr: Least squares solution, can be combined with shrinkage.
    • eigen: Eigenvalue decomposition, can be combined with shrinkage.
  3. shrinkage
    • None: no shrinkag.
    • auto: automatic shrinkage using the Ledoit-Wolf lemma.
    • float between 0 and 1: fixed shrinkage parameter. Note that shrinkage works only with lsqr and eigen solvers.

Example

widgets/images/exa9work.png

widgets/images/exa9plot.png

More information here