R/generics.R
, R/Cort.R
, R/CortForest.R
quad_norm-methods.Rd
Currently only implemented for Cort models. Compute the L2 norm of the model
quad_norm(object)
# S4 method for class 'Cort'
quad_norm(object)
# S4 method for class 'CortForest'
quad_norm(object)
the Integrated square error quad_norm of the model
quad_norm,Cort-method
: Method for the class Cort
quad_norm,CortForest-method
: Method for the class CortForest
cop <- Cort(cort::impossible_data)
#> Splitting...
#>
#> 1 leaves to split...
#> Enforcing constraints...
#> Done !
quad_norm(cop)
#> [1] 1