summary.ahn {ahnr} | R Documentation |
Summary Artificial Hydrocarbon Network
Description
Summary method for objects of class ahn
.
Usage
## S3 method for class 'ahn'
summary(object, ...)
Arguments
object |
an object of class " |
... |
further arguments passed to or from other methods. |
Value
summary description of the AHN.
Examples
## Not run:
# Create data
x <- 2 * runif(1000) - 1;
x <- sort(x)
y <- (x < 0.1) * (0.05 * runif(100) + atan(pi*x)) +
(x >= 0.1 & x < 0.6) * (0.05 * runif(1000) + sin(pi*x)) +
(x >= 0.6) * (0.05 * runif(1000) + cos(pi*x))
# Create Sigma list
Sigma <- list(X = data.frame(x = x), Y = data.frame(y = y))
# Train AHN
ahn <- fit(Sigma, 5, 0.01, 500)
# Summary AHN
summary(ahn)
## End(Not run)
[Package ahnr version 0.3.1 Index]