Training data (one row per line: class, feature1, feature2, …)
Samples to classify (optional, one per line: feature1, feature2, …)
🤖 AI Interpretation
AI is analyzing, please wait…
Notes
· Linear Discriminant (LDA): estimate each class mean and the pooled within-class covariance Σ, then use the discriminant score δ_k(x)=x′Σ⁻¹μ_k−½μ_k′Σ⁻¹μ_k+ln p_k and take the largest as the predicted class; suitable for numeric features with approximately equal covariance across classes.
· Feature dimension ≥2 recommended; each class ≥3 samples, and total samples > number of features.
About Discriminant Analysis (LDA) Calculator
Free linear discriminant analysis (LDA) calculator: build discriminant functions, classify samples, and view confusion matrix and cross-validation accuracy.