RidgeBridgeRegression

scalation.modeling.RidgeBridgeRegression
See theRidgeBridgeRegression companion class

The RidgeBridgeRegression companion object provides default hyper-parameters and convenience factory methods.

Attributes

Companion
class
Graph
Supertypes
trait Regularized
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 = ...): RidgeBridgeRegression

Create a Ridge-Bridge Regression from a combined xy matrix.

Create a Ridge-Bridge Regression from a combined xy matrix.

Value parameters

col

the column used for response variable

fname_

the feature/variable names (defaults to null)

hparam

the regularization hyper-parameters (lambda for ridge, beta for bridge, q)

xy

the centered combines x and y matrix

Attributes

def center(x: MatrixD, y: VectorD, fname: Array[String] = ..., hparam: HyperParameter = ...): RidgeBridgeRegression

Create a Ridge-Bridge Regression from an x matrix and y vector.

Create a Ridge-Bridge Regression from an x matrix and y vector.

Value parameters

fname_

the feature/variable names (defaults to null)

hparam

the regularization hyper-parameters (lambda for ridge, beta for bridge, q)

x

the centered data/input matrix

y

the centered response/output vector

Attributes

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

Create a Ridge-Bridge Regression object from a data matrix and a response vector. This method provides data rescaling of x and centering of y.

Create a Ridge-Bridge Regression object from a data matrix and a response vector. This method provides data rescaling of x and centering of y.

Value parameters

fname

the feature/variable names (defaults to null)

hparam

the shrinkage hyper-parameter (0 => OLS) in the penalty term 'lambda * b dot b'

x

the un-centered data/input m-by-n matrix, NOT augmented with a first column of ones

y

the un-centered response/output vector

Attributes

Concrete fields