object BoltzmannSplitter extends Serializable
- Alphabetic
- By Inheritance
- BoltzmannSplitter
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
SplitterResult(split: Split, variance: Double, rebasedScore: Double, base: Double) extends Product with Serializable
Container for function returns, like a decorated tuple
Container for function returns, like a decorated tuple
The true score (proportional to draw probability) is rebasedScore * Math.exp(base). This decomposition is such that rebasedScore should always be >= 1.0.
- Attributes
- protected
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBestCategoricalSplit(data: Seq[(Vector[AnyVal], Double, Double)], calculator: VarianceCalculator, index: Int, minCount: Int, beta: Double): Option[SplitterResult]
Find the best categorical splitter.
Find the best categorical splitter.
- data
to split
- calculator
that will efficiently compute the impurity (variance in this case)
- index
of the feature to split on
- minCount
minimum number of training instances to leave in each of the children nodes
- beta
the inverse temperature (1.0 / (temperature * initial variance)) to scale the variances by
- returns
the best split of this feature, along with its score, base, and result variance
-
def
getBestRealSplit(data: Seq[(Vector[AnyVal], Double, Double)], calculator: VarianceCalculator, index: Int, minCount: Int, beta: Double): Option[SplitterResult]
Find the best split on a continuous variable
Find the best split on a continuous variable
- data
to split
- calculator
that will efficiently compute the impurity (variance in this case)
- index
of the feature to split on
- minCount
minimum number of training instances to leave in each of the children nodes
- beta
the inverse temperature (1.0 / (temperature * initial variance)) to scale the variances by
- returns
the best split of this feature, along with its score, base, and result variance
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )