class LabeledVectorSet extends Dataset<Row> implements AutoCloseable {

    public void setLabel(int idx, double lb) {
        LabeledVector<Double> labeledVector = data[idx];

        if (labeledVector != null)
            labeledVector.setLabel(lb);
        else
            throw new NoLabelVectorException(idx);
    }

    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);

}