MakeMatrix4TS

scalation.modeling.forecasting.MakeMatrix4TS
See theMakeMatrix4TS companion object

The MakeMatrix4TS trait provides factory method templates for for invoking ARX* constructors.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ARX
object ARX_D
object ARX_Quad
object ARX_Quad_D
object ARX_Symb
object ARX_Symb_D
Show all

Members list

Value members

Abstract methods

def apply(xe: MatrixD, y: VectorD, hh: Int, fname_: Array[String], tRng: Range, hparam: HyperParameter, fEndo: Array[Transform], fExo: Array[Transform], bakcast: Boolean): Forecaster_Reg | Forecaster_D

Create an ARX* object by building an input matrix xy and then calling the ARX* constructor.

Create an ARX* object by building an input matrix xy and then calling the ARX* constructor.

Value parameters

bakcast

whether a backcasted value is prepended to the time series (defaults to false)

fEndo

the array of functions used to transform endogenous variables

fExo

the array of functions used to transform exogenous variables

fname_

the feature/variable names

hh

the maximum forecasting horizon (h = 1 to hh)

hparam

the hyper-parameters

tRng

the time range, if relevant (time index may suffice)

xe

the matrix of exogenous variable values

y

the endogenous/response vector (main time series data)

Attributes

def formNames(n_exo: Int, hp_: HyperParameter, n_fEn: Int, n_fEx: Int): Array[String]

Form an array of names for the features included in the model.

Form an array of names for the features included in the model.

Value parameters

hp_

the hyper-parameters

n_exo

the number of exogenous variable

n_fEn

the number of functions used to map endogenous variables

n_fEx

the number of functions used to map exogenous variables

Attributes

def rescale(xe: MatrixD, y: VectorD, hh: Int, fname_: Array[String], tRng: Range, hparam: HyperParameter, fEndo: Array[Transform], fExo: Array[Transform], bakcast: Boolean, tForm: (VectorD | MatrixD) => Transform): Forecaster_Reg | Forecaster_D

Create an ARX* object by building an input matrix xy and then calling the ARX* constructor. Rescale the input data.

Create an ARX* object by building an input matrix xy and then calling the ARX* constructor. Rescale the input data.

Value parameters

bakcast

whether a backcasted value is prepended to the time series (defaults to false)

fEndo

the array of functions used to transform endogenous variables

fExo

the array of functions used to transform exogenous variables

hh

the maximum forecasting horizon (h = 1 to hh)

hparam

the hyper-parameters

tForm

the z-transform (rescale to standard normal)

tRng

the time range, if relevant (time index may suffice)

xe

the matrix of exogenous variable values

y

the endogenous/response vector (main time series data)

Attributes