DecisionTree_ID3wp

scalation.modeling.classifying.DecisionTree_ID3wp
See theDecisionTree_ID3wp companion class

The DecisionTree_ID3wp companion object provides a factory function.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(xy: MatrixI, fname: Array[String], k: Int, cname: Array[String], hparam: HyperParameter)(col: Int): DecisionTree_ID3wp

Create a decision tree (with pruning) for the given combined matrix where the column col is the response/classification vector.

Create a decision tree (with pruning) for the given combined matrix where the column col is the response/classification vector.

Value parameters

cname

the names for all classes

col

the designated response column (defaults to the last column)

fname

the names for all features/variables

hparam

the hyper-parameters

k

the number of classes

xy

the combined data matrix (features and response)

Attributes