View source: R/print.engression.R
print.engression | R Documentation |
This function is a utility that displays a summary of a fitted Engression model object.
## S3 method for class 'engression'
print(x, ...)
x |
A trained engression model returned from the engressionfit function. |
... |
additional arguments (currently ignored) |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.