Description Usage Arguments Value
Predictions are made by feeding new data through the network (see
feedforward
. For networks with latent variables
(mistnet_network
s), these variables are sampled randomly from their
prior distribution and then each batch of samples is fed through the network
1 2 3 4 5 6 |
object |
an object of class |
newdata |
a matrix with the same columns as |
full_state |
should the predictions include the full list of
|
... |
further arguments passed to or from other methods. |
n_samples |
(for |
For generic networks, a matrix of output variables (one row per
row in newdata
, one column per node in the network's final layer).
For mistnet networks, a three-dimensional array, with the first two
indices matching the generic case and with the third dimension indexing
the Monte Carlo samples.
Alternatively, if is TRUE
, a network_state
object
is returned, as in feedforward
. For mistnet networks,
a list of such objects, a list of such objects (one for each Monte Carlo
sample) is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.