fitGNN {gnn} | R Documentation |
Functions and Methods for Training of Generative Neural Networks
Description
Functions and methods for training generative neural networks.
Usage
## S3 method for class 'gnn_GNN'
fitGNN(x, data, batch.size = nrow(data), n.epoch = 100,
prior = NULL, max.n.prior = 5000, verbose = 2, ...)
## S3 method for class 'gnn_GNN'
fitGNNonce(x, data, batch.size = nrow(data), n.epoch = 100,
prior = NULL, verbose = 2, file = NULL, name = NULL, ...)
## S3 method for class 'gnn_GNN'
is.trained(x)
## S3 method for class 'list'
is.trained(x)
Arguments
x |
|
data |
|
batch.size |
number of samples used per stochastic gradient step. |
n.epoch |
number of epochs (one epoch equals one pass through the complete training dataset while updating the GNN's parameters through stochastic gradient steps). |
prior |
|
max.n.prior |
maximum number of prior samples stored in |
verbose |
|
file |
|
name |
|
... |
additional arguments passed to the underlying
|
Value
- fitGNN()
the trained
x
.- fitGNNonce()
object of class as
x
with the trained GNN.- is.trained.gnn_GNN()
logical
indicating whetherx
is trained.- is.trained.list()
logical
of lengthlength(x)
indicating, for each component, whether it is trained.
Author(s)
Marius Hofert
See Also
FNN()
, save_gnn()
,
load_gnn()
.