Regularized

scalation.modeling.Regularized
trait Regularized

The Regularized trait describes the center method that is to be supported by all companion objects supporting regularized regression.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

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

Create a Regularized Regression from a data matrix and response vector. This function centers the data. Implementations should return specific return types.

Create a Regularized Regression from a data matrix and response vector. This function centers the data. Implementations should return specific return types.

Value parameters

fname

the feature/variable names (defaults to null)

hparam

the shrinkage hyper-parameter (0 => OLS) in the penalty term 'lambda * norm of 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