The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
mlp():
backend = "torch" (torch is optional, in Suggests). By
default it reproduces neuralnet’s training setup (logistic hidden
layers, Rprop, the same stopping rule and starting weights drawn as
neuralnet draws them). Activation functions (act.fct) and
optimizers (algorithm) can be switched, using neuralnet’s
or torch’s names. All ensemble members are trained simultaneously as one
batch of tensors.hd can be a function
returning the hidden layers as a torch module; nnfor handles inputs,
output layer and forecasting.compare_backends(): fits and forecasts a series
with each backend, reporting run times and in-sample and out-of-sample
MSE.?mlp documents the torch settings, suggested settings
for torch and the differences between the backends.nnfor_map() shows the backend used by a fitted
network.hd.auto.type = "valid" or
"cv") now uses the training settings passed in
..., so the size is chosen for the network that is then
trained. Previously it used default settings.hd.auto.type is set but ignored
because hd is given.par(), layouts, colours) and default line colours
follow par("fg").nnfor_map() shows how information flows through the
package when fitting (stage = "fit") or forecasting
(stage = "forecast") with mlp() or
elm(). Plot it for a diagram or print it for an outline.
Given a fitted network, the map shows the values that fit used and greys
out unused steps.m when used, it overrides the seasonal periods of
y (vector for multiple seasonalities). Its default is now
NULL. The periods are stored in the fitted object as
ff.... for the plot frame and
*.args lists for each drawn component. Time series plots
accept add = TRUE.plot(fit, which = "fit") reproduces the
outplot figure after fitting. plot_network()
and plot_fit() are exported.plot(forecast) can show the in-sample fit
(fitted = TRUE). Default y-limits follow
xlim.fitted.all).options(nnfor.cores = ), giving an integer or a cluster
from parallel::makeCluster(). This covers MLP training, the
hidden-node search, ELM output weights and elm.fast().
Random numbers are drawn before members are dispatched, so results are
identical for any number of cores and to sequential runs.elm.fast() logistic output applies the logistic
function (the inverse link of the binomial model the output weights are
estimated with) and reverses the stored target scaling, as linear output
does. Previously the hidden-layer activation was used and predictions
were rescaled by their own range (a single prediction gave NaN).model =) copies its specification
exactly, rather than re-detecting differencing and seasonality on the
new data.mlp() failed with “argument is of length zero” when
only some ensemble members converged (a neuralnet issue). Members that
do not converge are now dropped, with a warning, as intended.mlp.thief() and elm.thief() passed
xreg as y to forecast().elm(barebone = TRUE, type = "lm") failed;
"lm" and "ls" are now synonyms.xreg,
when no network converges, and for barebone = TRUE with
several hidden layers.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.