LDA plot from a discriminant function

조회 수: 1 (최근 30일)
fafz1203
fafz1203 2016년 9월 23일
Hi, given the following training samples and linear discriminant function: training samples: N = 10 samples from a normal distribution with mean = [1,1] and sigma = [2,-1;-1,1] and N= 10 samples from a normal distribution with mean = [3,3] and sigma = [1,0.5;0.5,1] discriminant function: delta_k(x) = x^T\Sigma^{-1}\{\mu}_k-\frac{1}{2}\mu^T_k\Sigma^{-1}\{\mu}_k+\log{\pi_k} i want to plot the linear discriminant analysis for two classes It should be a scatter plot with the decision boundary indicated
let me know if u have any questions, your help is much appreciated

답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by