Visualization

Decsion surface

gdec = ShowDecisionSurface[μ1, Σ1, μ2, Σ2, {{xmin, xmax}, {ymin, ymax}, {zmin, zmax}}] ;

[Graphics:../HTMLFiles/index_117.gif]

Class #1

g1 = ContourPlot3D[lp1 - (lp1 /. {xμ1[[1]], yμ1[[2]], zμ1[[3]]}) + 1/2, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}] ;

[Graphics:../HTMLFiles/index_119.gif]

Class #2

g2 = ContourPlot3D[lp2 - (lp2 /. {xμ2[[1]], yμ2[[2]], zμ2[[3]]}) + 1/2, {x, 1/2, 7/2}, {y, 1, 3}, {z, 0, 4}] ;

[Graphics:../HTMLFiles/index_121.gif]

Show decision surface along with both Gaussian ellipsoids

gall = Show[g1, g2, gdec, PlotRangeAll, LightingTrue] ;

[Graphics:../HTMLFiles/index_123.gif]


Created by Mathematica  (September 8, 2003)