Machine Learning - Diagnostic - Table of Discriminant Function Coefficients extension

From Q
Jump to navigation Jump to search


Produces a table of coefficients of linear discriminant functions for each class of a Linear Discriminant Analysislinear discriminant analysis. The class of a new data point can be predicted by computing the functions for all classes and choosing the class with the highest function output.

Example

Code

includeWeb("QScript R Output Functions");

const menu_location = "Machine Learning > Diagnostic > " +
      "Table of Discriminant Function Coefficients";
errorIfExtensionsUnavailableInQVersion(menu_location);
createDiagnosticROutputFromSelection(menu_location);