class LabeledVectorSet extends Dataset<Row> implements AutoCloseable {

    public double[] labels() {
        assert data != null;
        assert data.length > 0;

        double[] labels = new double[data.length];

        for (int i = 0; i < data.length; i++)
            labels[i] = (double)data[i].label();

        return labels;
    }

    public  LabeledVectorSet();
    public  LabeledVectorSet(int rowSize, int colSize, boolean isDistributed);
    public  LabeledVectorSet(int rowSize, int colSize);
    public  LabeledVectorSet(int rowSize, int colSize, String[] featureNames, boolean isDistributed);
    public  LabeledVectorSet(Row[] data);
    public  LabeledVectorSet(Row[] data, int colSize);
    public  LabeledVectorSet(double[][] mtx, double[] lbs);
    public  LabeledVectorSet(double[][] mtx, double[] lbs, String[] featureNames, boolean isDistributed);

}