public class Genesis
extends java.lang.Object
Class Genesis
| Constructor and Description |
|---|
Genesis()
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DatasetToArray(double[][] array,
OpenDataset dataset)
Transform dataset into a double matrix
|
static double |
frandom(double min,
double max)
Generate random number between min and max
|
static int |
irandom(double min,
double max)
Generate random integer number between min and max
|
static void |
main(java.lang.String[] args)
Main function
|
public static void main(java.lang.String[] args)
Main function
args - to the main methodpublic static void DatasetToArray(double[][] array,
OpenDataset dataset)
Transform dataset into a double matrix
array - Output matrixdataset - Input datasetpublic static double frandom(double min,
double max)
Generate random number between min and max
min - Min valuemax - Max valuepublic static int irandom(double min,
double max)
Generate random integer number between min and max
min - Min valuemax - Max value