get_inverse_GRAM: The function to get inverse Gram matrix

View source: R/lib_iKernel.R

get_inverse_GRAMR Documentation

The function to get inverse Gram matrix

Description

Function get_inverse_GRAM() allows to get inverse Gram matrix based on given positive regularization constant lambda

Function check_positive_definite() returns logical value about n trials on 'is Gram matrix positive definite or not?' Just incorrect trial returns FALSE

Usage

get_inverse_GRAM(G, l = 1e-06, check_pos_def = FALSE)

check_positive_definite(G, n = 10)

Arguments

G

Gram matrix gotten via GRAM_iKernel() function

l

Lambda parameter or positive regularization constant

check_pos_def

Logical parameter to check the Gram matrix is positive definite or do not check

n

Number of iterations to check the positive definite property

Value

Function get_inverse_GRAM() returns the inverse Gram matrix based on the given positive regularization constant lambda l

Function check_positive_definite() returns logical value:
TRUE if Gram matrix is positive definite, and FALSE if it is not

Functions

  • check_positive_definite(): The function to check the positive definite property of Gram matrix

Examples

NULL
NULL

MaxWiK documentation built on April 3, 2025, 8:47 p.m.