Node

class Node(val predicate: Predicate, val children: Array[Node], val id: Option[String], val score: Option[Any], val recordCount: Option[Double], val defaultChild: Option[String], val scoreDistributions: ScoreDistributions, val partition: Option[Partition], val embeddedModel: Option[EmbeddedModel]) extends Predicate with HasScoreDistributions

This element is an encapsulation for either defining a split or a leaf in a tree model. Every Node contains a predicate that identifies a rule for choosing itself or any of its siblings. A predicate may be an expression composed of other nested predicates.

trait Predicate
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(i: Int): Node
def eval(series: Series): Predication

Inherited methods

Inherited from:
HasExtensions
def getConfidence(value: Any): Double
Inherited from:
HasScoreDistributions
def getProbability(value: Any): Double
Inherited from:
HasScoreDistributions
def getScoreDistribution(value: Any): Option[ScoreDistribution]
Inherited from:
HasScoreDistributions
def hasExtensions: Boolean
Inherited from:
HasExtensions
def probabilities: Map[Any, Double]
Inherited from:
HasScoreDistributions

Concrete fields

val children: Array[Node]
val defaultChild: Option[String]
val defaultChildNode: Option[Node]
val id: Option[String]
val isLeaf: Boolean
val isSplit: Boolean
val partition: Option[Partition]
val recordCount: Option[Double]
val score: Option[Any]
val size: Int