object DecisionTreeID3
The DecisionTreeID3
companion object provides factory methods.
- Alphabetic
- By Inheritance
- DecisionTreeID3
- 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(xy: MatriI, fn: Strings, k: Int, cn: Strings, vc: Array[Int], td: Int): DecisionTreeID3
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.
- fn
the names for all features/variables
- k
the number of classes
- cn
the names for all classes
- vc
the value count array indicating number of distinct values per feature
- td
the maximum tree depth to allow (defaults to 0 => number of features, -1 no constraint
-
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
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
test(xy: MatriI, fn: Strings, k: Int, cn: Strings, vc: Array[Int] = null, td: Int = 0): DecisionTreeID3
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 data vectors along with their classifications stored as rows of a matrix
- fn
the names for all features/variables
- k
the number of classes
- cn
the names for all classes
- vc
the value count array indicating number of distinct values per feature
- td
the maximum tree depth to allow (defaults to 0 => number of features, -1 no constraint
-
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( ... )