/home/john/.local/lib/python3.8/site-packages/sklearn/neural_network/_multilayer_perceptron.py:691: ConvergenceWarning: Stochastic Optimizer: Maximum iterations (200) reached and the optimization hasn't converged yet. warnings.warn( Sun Aug 6 21:30:02 2023 cancer_classify_mlp(): Python version: 3.8.10 scikit-learn version: 1.3.0 Use a multilayer perceptron to classify cancer data. Retrieve the cancer dataset, (X, y). Training accuracy = 0.9389671361502347 Testing accuracy = 0.916083916083916 Compute mean and standard deviation, and rescale the data. Training accuracy = 0.9953051643192489 Testing accuracy = 0.951048951048951 Increase the number of iterations, and repeat classification. Increase alpha, and repeat classification. Training accuracy = 0.9906103286384976 Testing accuracy = 0.972027972027972 Plot the weight learned for the first hidden layer. Graphics saved as "cancer_classify_mlp.png" cancer_classify_mlp(): Normal end of execution. Sun Aug 6 21:30:05 2023