public abstract class ScoreModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
_colNames |
java.lang.String |
_name |
Modifier and Type | Method and Description |
---|---|
int[] |
columnMapping(java.lang.String[] features) |
abstract double |
score(java.util.HashMap<java.lang.String,java.lang.Comparable> row)
Score this model on the specified row of data, where the data is
specified as a collection of K/V pairs - Values are one of String or
Boolean or Number (or subclasses of Number)
|
abstract double |
score(int[] MAP,
java.lang.String[] SS,
double[] DS)
Score this model on the specified row of data, where the data is
specified as the members of arrays.
|
protected static java.lang.String |
uniqueClassName(java.lang.String name) |
protected static java.lang.String |
xml2jname(java.lang.String xml) |
public final java.lang.String _name
public final java.lang.String[] _colNames
protected static java.lang.String xml2jname(java.lang.String xml)
protected static java.lang.String uniqueClassName(java.lang.String name)
public int[] columnMapping(java.lang.String[] features)
public abstract double score(java.util.HashMap<java.lang.String,java.lang.Comparable> row)
public abstract double score(int[] MAP, java.lang.String[] SS, double[] DS)