Wed Sep 20 14:59:29 2023 cancer_visualize_pca(): Python version: 3.8.10 scikit-learn version: 1.3.0 Work with data from the cancer dataset. Use principal component analysis to visualize differences between malignant and benign cases. Retrieve the cancer dataset, (X, y). Original shape: (569, 30) Reduced shape: (569, 2) Graphics saved as "cancer_visualize_pca_components.png" PCA component shape: (2, 30) PCA components: [[ 0.21890244 0.10372458 0.22753729 0.22099499 0.14258969 0.23928535 0.25840048 0.26085376 0.13816696 0.06436335 0.20597878 0.01742803 0.21132592 0.20286964 0.01453145 0.17039345 0.15358979 0.1834174 0.04249842 0.10256832 0.22799663 0.10446933 0.23663968 0.22487053 0.12795256 0.21009588 0.22876753 0.25088597 0.12290456 0.13178394] [-0.23385713 -0.05970609 -0.21518136 -0.23107671 0.18611302 0.15189161 0.06016536 -0.0347675 0.19034877 0.36657547 -0.10555215 0.08997968 -0.08945723 -0.15229263 0.20443045 0.2327159 0.19720728 0.13032156 0.183848 0.28009203 -0.21986638 -0.0454673 -0.19987843 -0.21935186 0.17230435 0.14359317 0.09796411 -0.00825724 0.14188335 0.27533947]] Graphics saved as "cancer_visualize_pca_coefficients.png" cancer_visualize_pca(): Normal end of execution. Wed Sep 20 14:59:31 2023