generate.sample0()
# Generation of a data set with 60 500-dimensional examples, with the examples
# of the first class centered in the 500-dimensional 0 vector, the second class
# is centered in the 1 vector, the third in -1. The covariance matrix is the
# matrix with all 2 values on the diagonal elements
generate.sample0(n = 20, m = 1, sigma = 2, dim = 500)
Run the code above in your browser using DataLab