package test; import ALI.*; public class Test { public static void main(String[] args) { // Calling Iris dataset in iris.dst Dataset dataset=new Dataset("iris", "supervised"); // Number of classes in the dataset (only in supervised) int k=dataset.k; // Number of data in the dataset int n=dataset.n; // Number of dimensions in the dataset int dimensi=dataset.dimensi; // Data in the dataset double[][] data=dataset.data; // Data class labels in the dataset (only in supervised) int[] label=dataset.label; } } |