public abstract class ScoreModel extends Object
| Modifier and Type | Method and Description |
|---|---|
int[] |
columnMapping(String[] features) |
abstract double |
score(HashMap<String,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,
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 String |
uniqueClassName(String name) |
protected static String |
xml2jname(String xml) |
public int[] columnMapping(String[] features)
public abstract double score(HashMap<String,Comparable> row)
public abstract double score(int[] MAP,
String[] SS,
double[] DS)
Copyright © 2013–2014 0xdata. All rights reserved.