generate2ClassGaussian: Generate data from 2 Gaussian distributed classes

Description Usage Arguments See Also Examples

Description

Generate data from 2 Gaussian distributed classes

Usage

1
generate2ClassGaussian(n = 10000, d = 100, var = 1, expected = TRUE)

Arguments

n

integer; Number of examples to generate

d

integer; dimensionality of the problem

var

numeric; size of the variance parameter

expected

logical; whether the decision boundary should be the expected or perpendicular

See Also

Other RSSL datasets: generateABA, generateCrescentMoon, generateFourClusters, generateParallelPlanes, generateSlicedCookie, generateSpirals, generateTwoCircles

Examples

1
2
data <- generate2ClassGaussian(n=1000,d=2,expected=FALSE)
plot(data[,1],data[,2],col=data$Class,asp=1)


Search within the RSSL package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.