print.engression {engression} | R Documentation |
Print an Engression Model Object
Description
This function is a utility that displays a summary of a fitted Engression model object.
Usage
## S3 method for class 'engression'
print(x, ...)
Arguments
x |
A trained engression model returned from the engressionfit function. |
... |
additional arguments (currently ignored) |
Value
This function does not return anything. It prints a summary of the model, including information about its architecture and training process, and the loss values achieved at several epochs during training.
Examples
n = 1000
p = 5
X = matrix(rnorm(n*p),ncol=p)
Y = (X[,1]+rnorm(n)*0.1)^2 + (X[,2]+rnorm(n)*0.1) + rnorm(n)*0.1
## fit engression object
engr = engression(X,Y)
print(engr)
[Package engression version 0.1.4 Index]