org.latinolib.model.LabeledDataset Maven / Gradle / Ivy
package org.latinolib.model;
import java.util.ArrayList;
import java.util.Collection;
/**
* Author saxo
*/
public class LabeledDataset
extends ArrayList> implements LabeledExampleCollection
{
private static final long serialVersionUID = -7356318873860736537L;
public LabeledDataset(int initialCapacity) {
super(initialCapacity);
}
public LabeledDataset() {
}
public LabeledDataset(Collection extends LabeledExampleEntry> c) {
super(c);
}
public void add(T label, U example) {
super.add(new LabeledExample(label, example));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy