object DecisionTreeC45
The DecisionTreeC45
companion object provides factory methods.
- Alphabetic
- By Inheritance
- DecisionTreeC45
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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(x: MatriI, y: VectoI, fn: Strings, k: Int, cn: Strings, hparam: HyperParameter): Unit
Create a decision tree for the given data matrix and response/classification vector.
Create a decision tree for the given data matrix and response/classification vector. Takes all integer data (no continuous features).
- x
the data matrix (features)
- y
the response/classification vector
- fn
the names for all features/variables
- k
the number of classes
- cn
the names for all classes
- hparam
the hyper-parameters for the decision tree
-
def
apply(xy: MatriD, fn: Strings = null, k: Int = 2, cn: Strings = null, conts: Set[Int] = Set [Int] (), hparam: HyperParameter = hp): DecisionTreeC45
Create a decision tree for the given combined matrix where the last column is the response/classification vector.
Create a decision tree for the given combined matrix where the last column is the response/classification vector.
- xy
the combined data matrix (features and response)
- fn
the names for all features/variables
- k
the number of classes
- cn
the names for all classes
- conts
the set of feature indices for variables that are treated as continuous
- hparam
the hyper-parameters for the decision tree
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val drp: (Null, Int, Null, Int, Set[Int])
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test(xy: MatriD, fn: Strings, k: Int, cn: Strings, conts: Set[Int] = Set [Int] (), hparam: HyperParameter = hp): DecisionTreeC45
Test the decision tree on the given dataset passed in as a combined matrix.
Test the decision tree on the given dataset passed in as a combined matrix.
- xy
the combined data matrix (features and response)
- fn
the names for all features/variables
- k
the number of classes
- cn
the names for all classes
- conts
the set of feature indices for variables that are treated as continuous
- hparam
the hyper-parameters for the decision tree
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated