downs.train: Switch to selected downscale method.

View source: R/downscaleTrain.R

downs.trainR Documentation

Switch to selected downscale method.

Description

Internal function of downscaleTrain that switches to the selected method.

Usage

downs.train(x, y, method, model.verbose = TRUE, ...)

Arguments

x

The input grid. Class: matrix.

y

The observations dataset. Class: matrix.

method

Type of transer function. Options are: analogs, GLM and NN.

model.verbose

Logic value. Indicates wether the information concerning the model infered is limited to the essential information (model.verbose = FALSE) or a more detailed information (model.verbose = TRUE, DEFAULT). This is recommended when you want to save memory. Only operates for GLM.

...

Optional parameters. These parameters are different depending on the method selected. Every parameter has a default value set in the atomic functions in case that no selection is wanted. For this reason see the atomic functions for more details: glm.train and nn.train.

Details

The optional parameters of neural networks can be found in the library deepnet via nn.trainThis function is internal and should not be used by the user. The user should use downscaleTrain.

Value

An object with the information of the selected model.

Author(s)

J. Bano-Medina


SantanderMetGroup/downscaleR documentation built on July 4, 2023, 4:28 a.m.