public class EvalParameters extends Object
| Constructor and Description |
|---|
EvalParameters(Context[] params,
double correctionParam,
double correctionConstant,
int numOutcomes)
Creates a set of paramters which can be evaulated with the eval method.
|
EvalParameters(Context[] params,
int numOutcomes) |
| Modifier and Type | Method and Description |
|---|---|
double |
getConstantInverse() |
double |
getCorrectionConstant() |
double |
getCorrectionParam() |
int |
getNumOutcomes() |
Context[] |
getParams() |
void |
setCorrectionParam(double correctionParam) |
public EvalParameters(Context[] params, double correctionParam, double correctionConstant, int numOutcomes)
params - The parameters of the model.correctionParam - The correction paramter.correctionConstant - The correction constant.numOutcomes - The number of outcomes.public EvalParameters(Context[] params, int numOutcomes)
public Context[] getParams()
public int getNumOutcomes()
public double getCorrectionConstant()
public double getConstantInverse()
public double getCorrectionParam()
public void setCorrectionParam(double correctionParam)
Copyright © 2015 The Apache Software Foundation. All rights reserved.