BaggingTrees

scalation.modeling.classifying.BaggingTrees
See theBaggingTrees companion class
object BaggingTrees

The BaggingTrees companion object provides a factory method.

Attributes

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

Members list

Value members

Concrete methods

def apply(xy: MatrixD, fname: Array[String], k: Int, cname: Array[String], conts: Set[Int], hparam: HyperParameter)(col: Int): BaggingTrees

Create a bag of trees for the given combined matrix where the column col is the response/classification vector.

Create a bag of trees 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)

conts

the set of feature indices for variables that are treated as continuous

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