Plots Gaussian Mixture Model with Bayes decision boundaries, such that:
Black is the PDE of Data
Red is color of the GMM
Magenta are the Bayes boundaries
PlotMixturesAndBoundaries(Data, Means, SDs, Weights, IsLogDistribution = rep(FALSE, length(Means)), Plotter="native",
SingleColor = "blue", MixtureColor = "red", DataColor = "black",
BoundaryColor = "magenta", xlab, ylab,
SingleGausses =TRUE, ...)
vector (1:N) of data points
vector[1:L] of Means of Gaussians (of GMM),L == Number of Gaussians
vector of standard deviations, estimated Gaussian Kernels, has to be the same length as Means
vector of relative number of points in Gaussians (prior probabilities), has to be the same length as Means
Optional, ==1 if distribution(i) is a LogNormal, default vector of zeros of length 1:L
Optional, plotting package, either native or plotly
Optional, Color for line plot of all the single gaussians, default magenta
Optional, Color of line plot for the mixture, default red
Optional, Color of line plot for the data, default black
Optional, Color of bayesian boundaries
Optional, x label, see plot
Optional, y label, ee plot
Optional, SingleGausses=T than components of the mixture in blue will be shown.
Optional, see plot
for plot properties and for SingleGausses
PlotMixtures
Michael Thrun
BayesDecisionBoundaries
,PlotMixtures