public class DataGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.math.random.RandomDataImpl |
rand |
Constructor and Description |
---|
DataGenerator() |
Modifier and Type | Method and Description |
---|---|
private static InputDatum |
generatePoint(String name,
double[] mean,
double[] sigma) |
static InputDatum[] |
generatePoints(String name,
int num,
double[] mean,
double[] sigma) |
static void |
main(String[] args) |
public static void main(String[] args) throws IOException, SOMLibFileFormatException
IOException
SOMLibFileFormatException
public static InputDatum[] generatePoints(String name, int num, double[] mean, double[] sigma)
private static InputDatum generatePoint(String name, double[] mean, double[] sigma)