RegressionTreeRF4TS

scalation.modeling.forecasting_old.RegressionTreeRF4TS
See theRegressionTreeRF4TS companion class

The RegressionTreeRF4TS companion object provides factory methods.

Attributes

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

Members list

Value members

Concrete methods

def apply(y: VectorD, lags: Int, h: Int, intercept: Boolean, hparam: HyperParameter): RegressionTreeRF4TS

Create a RegressionTreeRF4TS object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x.

Create a RegressionTreeRF4TS object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x.

Value parameters

h

the forecasting horizon (1, 2, ... h)

hparam

the hyper-parameters (use RegressionTree.hp for default)

intercept

whether to add a column of all ones to the matrix (intercept)

lags

the maximum lag included (inclusive)

y

the original un-expanded output/response vector

Attributes

def exo(y: VectorD, lags: Int, ex: MatrixD, h: Int, intercept: Boolean, hparam: HyperParameter)(elag1: Int, elag2: Int): RegressionTreeRF4TS

Create a RegressionTreeRF4TS object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. In addition, lagged exogenous variables are added.

Create a RegressionTreeRF4TS object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. In addition, lagged exogenous variables are added.

Value parameters

elag1

the minimum exo lag included (inclusive)

elag2

the maximum exo lag included (inclusive)

h

the forecasting horizon (1, 2, ... h)

hparam

the hyper-parameters (use RegressionTree.hp for default)

intercept

whether to add a column of all ones to the matrix (intercept)

lags

the maximum lag included (inclusive)

y

the original un-expanded output/response vector

Attributes

def rescale(y: VectorD, lags: Int, h: Int, intercept: Boolean, hparam: HyperParameter): RegressionTreeRF4TS

Create a RegressionTreeRF4TS object from a response matrix. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. This method provides data rescaling.

Create a RegressionTreeRF4TS object from a response matrix. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. This method provides data rescaling.

Value parameters

h

the forecasting horizon (1, 2, ... h)

hparam

the hyper-parameters (use RegressionTree.hp for default)

intercept

whether to add a column of all ones to the matrix (intercept)

lags

the maximum lag included (inclusive)

y

the original un-expanded output/response vector

Attributes