params_nn = {
‘neurons’ : (10,100),
‘activation’ : (0, 9),
‘optimizer’ : (0,7),
‘learning_rate’ : (1e-4,1e-2),
‘batch_size’ : (200, 1000),
‘epochs’ : (20, 100)
}
nn_bo = BayesianOptimization(nn_cl_bo, params_nn, random_state=111)
nn_bo.maximize(init_points=25, n_iter=4)
respose: ValueError: Argument(s) not recognized: {‘lr’: 0.007715698477978917}
I tried to optimize the sequential model using Bayesian optimization. I want to know what actually goes wrong here in the parameter optimization. Why this partcular givs as error.