class MultiImpurityCalculator extends ImpurityCalculator[Array[AnyVal]]
Compute the impurity of array-valued labels by summing over the impurity of each index on its own
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MultiImpurityCalculator
- ImpurityCalculator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
MultiImpurityCalculator(calculators: Seq[ImpurityCalculator[AnyVal]])
- calculators
to use to compute the impurity of each index
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
add(value: Array[AnyVal], weight: Double): Double
Add the value to each calculator
Add the value to each calculator
- value
to add
- weight
of the value
- returns
the impurity after adding
- Definition Classes
- MultiImpurityCalculator → ImpurityCalculator
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getImpurity: Double
Get the impurity as the sum of the impurities
Get the impurity as the sum of the impurities
- returns
impurity
- Definition Classes
- MultiImpurityCalculator → ImpurityCalculator
-
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()
-
def
remove(value: Array[AnyVal], weight: Double): Double
Remove the value from each calculator
Remove the value from each calculator
- value
to remove
- weight
of the value
- returns
the impurity after removing
- Definition Classes
- MultiImpurityCalculator → ImpurityCalculator
-
def
reset(): Unit
Reset each calculator
Reset each calculator
- Definition Classes
- MultiImpurityCalculator → ImpurityCalculator
-
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( ... )