Package org.apache.solr.ltr.model
Class MultipleAdditiveTreesModel.RegressionTreeNode
- java.lang.Object
-
- org.apache.solr.ltr.model.MultipleAdditiveTreesModel.RegressionTreeNode
-
- Enclosing class:
- MultipleAdditiveTreesModel
public class MultipleAdditiveTreesModel.RegressionTreeNode extends Object
-
-
Constructor Summary
Constructors Constructor Description RegressionTreeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
explain(float[] featureVector)
boolean
isLeaf()
float
score(float[] featureVector)
void
setFeature(String feature)
void
setLeft(Object left)
void
setRight(Object right)
void
setThreshold(float threshold)
void
setThreshold(String threshold)
void
setValue(float value)
void
setValue(String value)
String
toString()
void
validate()
-
-
-
Method Detail
-
setValue
public void setValue(float value)
-
setValue
public void setValue(String value)
-
setFeature
public void setFeature(String feature)
-
setThreshold
public void setThreshold(float threshold)
-
setThreshold
public void setThreshold(String threshold)
-
setLeft
public void setLeft(Object left)
-
setRight
public void setRight(Object right)
-
isLeaf
public boolean isLeaf()
-
score
public float score(float[] featureVector)
-
explain
public String explain(float[] featureVector)
-
validate
public void validate() throws ModelException
- Throws:
ModelException
-
-