Hyperparameter tuning CNN
hp_tuning_CNN(
data,
train_size = 0.8,
random_seed = 1234,
n_steps,
n_filter,
neuron,
learn_rate,
epoc
)
Dataset to split and tuning
Proportion of the x to split as train subset. By default the value is 0.8
An integer to control the random number generator used. By default the value is 1234
Number of steps to split into samples
Number of filters in the convolutional layer
Number of neuron in the dense layer
Learning rate in the compilation with Adam optimizer
Number of epochs in the training model
Returns: Dataframe with the combinations of the parameters and the calculated error Better combination of hyperparameters that minimizes the train and test error