Difficult to classify example #2 (normal density)

Special data generation functions

Idealized data classes

idealPlot = specialClassPlot ;

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

Generate data from above distributions

Number of points in each class

Generate data

Visualize data

gd1 = PlotData2D[data1, pr, style1, nS] ; gd2 = PlotData2D[data2, pr, style2, nS] ; gd = Show[gd1, gd2, FS] ;

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

Gaussian probability density functions

Compute Gaussian pdfs

View Gaussian pdfs

ShowTwoGaussianPDFs[pdf1, pdf2, pr, x, y, yS, imSize] ;

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

Classification of input space

Show[GraphicsArray[{PlotTwoClassificationRegions[pdf1, pdf2, pr, x, y, {class1Color, class2Color}, AxesFalse, FrameTrue, nF, nS], idealPlot}], yS, imSize] ;

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


Created by Mathematica  (September 8, 2003)