class Node 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.
- Alphabetic
- By Inheritance
- Node
- HasScoreDistributions
- Predicate
- PmmlElement
- Serializable
- HasExtensions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Node(predicate: Predicate, children: Array[Node], id: Option[String] = None, score: Option[Any] = None, recordCount: Option[Double] = None, defaultChild: Option[String] = None, scoreDistributions: ScoreDistributions = new ScoreDistributions, partition: Option[Partition] = None, embeddedModel: Option[EmbeddedModel] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(i: Int): Node
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val children: Array[Node]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val defaultChild: Option[String]
- val defaultChildNode: Option[Node]
- val embeddedModel: Option[EmbeddedModel]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eval(series: Series): Predication
Evaluates the predicate.
- def extensions: Seq[Extension]
- Definition Classes
- HasExtensions
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfidence(value: Any): Double
- Definition Classes
- HasScoreDistributions
- def getProbability(value: Any): Double
- Definition Classes
- HasScoreDistributions
- def getScoreDistribution(value: Any): Option[ScoreDistribution]
- Definition Classes
- HasScoreDistributions
- def hasExtensions: Boolean
- Definition Classes
- HasExtensions
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isLeaf: Boolean
- val isSplit: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val partition: Option[Partition]
- val predicate: Predicate
- def probabilities: Map[Any, Double]
- Definition Classes
- HasScoreDistributions
- val recordCount: Option[Double]
- val score: Option[Any]
- val scoreDistributions: ScoreDistributions
- Definition Classes
- Node → HasScoreDistributions
- val size: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()