Validation and out-of-sample testing

Validation and out-of-sample testing

These are all the available library functions that users have available for validation and out-of-sample testing. Refer to the corresponding usage page to see examples and explanations behind these functions.

lambda(M) returns the lambda used during training. If multiple lambda values were specified, returns the optimal one

source

lambdaopt(M) returns the optimal lambda computed during training of M

source

lambdapath(M) returns the vector of lambdas used

source

testloss(M) returns the average testing loss

source

testlosspath(M) returns the vector of test losses at various lambdas

source

thetaopt(M) returns the optimal theta chosen during training

source

thetapath(M) returns the vector of optimal thetas at various lambdas

source

trainloss(M) returns the average training loss

source

trainlosspath(M) returns the vector of train losses at various lambdas

source