|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.ml.tree.Node
org.apache.spark.ml.tree.LeafNode
public final class LeafNode
:: DeveloperApi :: Decision tree leaf node. param: prediction Prediction this node makes param: impurity Impurity measure at this node (for training data)
| Method Summary | |
|---|---|
double |
impurity()
Impurity measure at this node (for training data) |
double |
prediction()
Prediction a leaf node makes, or which an internal node would make if it were a leaf node |
String |
toString()
|
| Methods inherited from class org.apache.spark.ml.tree.Node |
|---|
fromOld |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public double prediction()
Node
prediction in class Nodepublic double impurity()
Node
impurity in class Nodepublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||