public class ScorecardModel extends ScoreModel
| Modifier and Type | Class and Description |
|---|---|
static class |
ScorecardModel.Rule
Scorecard decision rule
|
static class |
ScorecardModel.RuleTable
Feature decision table
|
_colNames, _name| Modifier | Constructor and Description |
|---|---|
protected |
ScorecardModel(ScorecardModel base) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getName(String pname,
PMMLParser.DataTypes type,
StringBuilder sb) |
static ScorecardModel |
make(String name,
double initialScore,
ScorecardModel.RuleTable[] rules)
Scorecard model builder: JIT a subclass with the fast version wired in to
'score(row)'
|
void |
makeScoreAryMethod(javassist.CtClass scClass) |
void |
makeScoreHashMethod(javassist.CtClass scClass) |
static ScorecardModel |
parse(PMMLParser pmml) |
double |
score_interpreter(HashMap<String,Comparable> row) |
double |
score(HashMap<String,Comparable> row)
Score this model on the specified row of data.
|
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.
|
String |
toString() |
columnMapping, uniqueClassName, xml2jnameprotected ScorecardModel(ScorecardModel base)
public double score(HashMap<String,Comparable> row)
score in class ScoreModelpublic double score_interpreter(HashMap<String,Comparable> row)
public double score(int[] MAP,
String[] SS,
double[] DS)
ScoreModelscore in class ScoreModelpublic void makeScoreHashMethod(javassist.CtClass scClass)
public void makeScoreAryMethod(javassist.CtClass scClass)
public static String getName(String pname, PMMLParser.DataTypes type, StringBuilder sb)
public static ScorecardModel make(String name, double initialScore, ScorecardModel.RuleTable[] rules)
public static ScorecardModel parse(PMMLParser pmml)
Copyright © 2013–2014 0xdata. All rights reserved.