generate.sample1()
# Generation of a data set with 30 1000-dimensional examples, with the examples
# of the first class centered in 0 for the first 500 variables, the second class
# is centered in 1 for the first 500 variables, the third in -1.
# The covariance matrix is the matrix with all values different from 0 (equal to 3)
# on the diagonal elements.
generate.sample1(n = 10, m = 1, sigma = 3, dim = 1000)
Run the code above in your browser using DataLab