generate.sample7: Sample7 generator: multivariate normally distributed data...

generate.sample7R Documentation

Sample7 generator: multivariate normally distributed data synthetic generator

Description

n examples for each from 6 classes are generated. All classes (each one of n examples) has dim components The clusters have a hierarchical structure: 2 or 6 clusters may be detected. Anyway note that the structure of the data depends on the parameters: two main clusters are centered in m and -m. Around each main cluster two other subclusters are generated using the displacement d.

Usage

generate.sample7(n = 20, m = 10, dim = 1000, d = 3, s = 1)

Arguments

n

number of examples for each class

m

mean basic value

dim

amount of the displacement from m

d

dimension of the examples

s

value of the diagonal elements of the covariance matrix

Value

a matrix with dim rows (variables) and n*6 columns (examples)

Author(s)

Giorgio Valentini valentini@di.unimi.it

Examples

generate.sample7()
# Generation of a data set with 60 100-dimensional examples
# data have a two-level hierarchical structure with respectively 2 and 6 clusters 
generate.sample7(n = 10, m = 10, dim = 100, d = 4, s = 0.4)

clusterv documentation built on June 8, 2025, 10:21 a.m.