zhangxyPHD / BubbleRising_MachineLearning

0 stars 0 forks source link

BPNN_minmax_grid.py cant convergence #1

Open Markh0308 opened 4 months ago

Markh0308 commented 4 months ago

I can run RF_minmax_grid.py and SVM_minmax_grid.py, but when i run the BPNN_minmax_grid.py, it showD:\Python\Lib\site-packages\sklearn\neural_network_multilayer_perceptron.py:546: ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.

Increase the number of iterations (max_iter) or scale the data as shown in: https://scikit-learn.org/stable/modules/preprocessing.html self.niter = _check_optimize_result("lbfgs", opt_res, self.max_iter) 1

it can't convergence, and i change the max_iter=2000 to 4000, 6000 ,it still cant convergence

Markh0308 commented 4 months ago

在solver只保留“adam“就不会报错