largeRCRF-Java/src/main/java/ca/joeltherrien/randomforest/Row.java

28 lines
399 B
Java
Raw Normal View History

package ca.joeltherrien.randomforest;
import java.util.Map;
public class Row<Y> extends CovariateRow {
private final Y response;
public Row(Map<String, Value> valueMap, int id, Y response){
super(valueMap, id);
this.response = response;
}
public Y getResponse() {
return this.response;
}
@Override
public String toString() {
return "Row " + this.getId();
}
}