RegressionTreeMT

scalation.modeling.RegressionTreeMT
See theRegressionTreeMT companion class

The RegressionTreeMT companion object is used to count the number of leaves and provide factory methods for creating regression model trees.

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], hparam: HyperParameter)(col: Int): RegressionTreeMT

Create a RegressionTree object from a combined data-response matrix.

Create a RegressionTree object from a combined data-response matrix.

Value parameters

col

the designated response column (defaults to the last column)

fname

the names for all features/variables (defaults to null)

hparam

the hyper-parameters (defaults to RegressionTree.hp)

xy

the combined data-response matrix

Attributes

def rescale(x: MatrixD, y: VectorD, fname: Array[String], hparam: HyperParameter): RegressionTreeMT

Create a RegressionTree object from a data matrix and response vector, where the data is rescaled.

Create a RegressionTree object from a data matrix and response vector, where the data is rescaled.

Value parameters

fname

the names for all features/variables (defaults to null)

hparam

the hyper-parameters (defaults to RegressionTree.hp)

x

the input/data matrix

y

the output/response vector

Attributes