Constructs a structured hyperparameter list for use with
fit.spqrx(). This function allows users to explicitly
control tail modeling and training-related parameters.
Usage
create.packages.hyperparameter(
p_a = 0.9,
p_b = 0.99,
c1 = 25,
c2 = 5,
epochs = 200,
batch_size = 300,
activation = "relu"
)Value
A list containing hyperparameters that can be passed to
fit.spqrx().
Examples
hp <- create.package.hyperparameter(
p_a = 0.1,
p_b = 0.9,
c1 = 50,
c2 = 10,
batch_size = 500
)
#> Error in create.package.hyperparameter(p_a = 0.1, p_b = 0.9, c1 = 50, c2 = 10, batch_size = 500): could not find function "create.package.hyperparameter"
model <- fit.spqrx(
input_dim = 5,
hidden_dim = c(64, 32),
n.knots = 10,
x_training = X_train,
x_validation = X_val,
y_training = y_train,
y_validation = y_val,
hyperparameter = hp
)
#> Error in fit.spqrx(input_dim = 5, hidden_dim = c(64, 32), n.knots = 10, x_training = X_train, x_validation = X_val, y_training = y_train, y_validation = y_val, hyperparameter = hp): could not find function "fit.spqrx"
