c
io.citrine.lolo.trees.classification
ClassificationTrainingNode
Companion object ClassificationTrainingNode
class ClassificationTrainingNode extends TrainingNode[AnyVal, Char]
Created by maxhutch on 1/12/17.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClassificationTrainingNode
- TrainingNode
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ClassificationTrainingNode(trainingData: Seq[(Vector[AnyVal], Char, Double)], leafLearner: Learner, split: Split, deltaImpurity: Double, numFeatures: Int, minLeafInstances: Int, remainingDepth: Int, maxDepth: Int, numClasses: Int, splitter: Splitter[Char])
- trainingData
that this node sees
- leafLearner
to train on leaves
- split
used to split this node's direct descendants
- deltaImpurity
change in training set impurity between this node vs direct descendants
- numFeatures
number of features used in selecting splits
- minLeafInstances
minimum training instances per node
- remainingDepth
to stop growing the node
- maxDepth
maximum depth of tree
- numClasses
total number of classes, used as an output dimensionality
- splitter
used to select splits
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 getFeatureImportance(): ArraySeq[Double]
Get the feature importance of the subtree below this node
Get the feature importance of the subtree below this node
- returns
feature importance as a vector
- Definition Classes
- ClassificationTrainingNode → TrainingNode
- def getNode(): ModelNode[PredictionResult[Char]]
Get the lightweight prediction node for the output tree
Get the lightweight prediction node for the output tree
- returns
lightweight prediction node
- Definition Classes
- ClassificationTrainingNode → TrainingNode
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val leftChild: TrainingNode[AnyVal, Char]
- lazy val leftTrain: Seq[(Vector[AnyVal], Char, Double)]
- 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()
- lazy val rightChild: TrainingNode[AnyVal, Char]
- lazy val rightTrain: Seq[(Vector[AnyVal], Char, Double)]
- 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()