process-improve deprecated PCA.predict in 1.38.1 in favour of PCA.diagnose (same Bunch(scores, hotellings_t2, spe); removal scheduled for 2.0.0). Running the book's blocks emits:
DeprecationWarning: PCA.predict is deprecated and will be removed in 2.0.0; use PCA.diagnose instead.
Occurrences:
latent-variable-modelling/principal-component-analysis/pca-exercises.rst:297
product-development-product-improvement/multivariate-process-monitoring.rst:419 (prose), :423 (code), :614 (prose)
Fix: rename to diagnose in all five places; the fields read afterwards (hotellings_t2, spe, scores) are unchanged. Found by executing every code block of the book with deprecation warnings treated as failures (#274).
process-improve deprecated
PCA.predictin 1.38.1 in favour ofPCA.diagnose(sameBunch(scores, hotellings_t2, spe); removal scheduled for 2.0.0). Running the book's blocks emits:Occurrences:
latent-variable-modelling/principal-component-analysis/pca-exercises.rst:297product-development-product-improvement/multivariate-process-monitoring.rst:419(prose),:423(code),:614(prose)Fix: rename to
diagnosein all five places; the fields read afterwards (hotellings_t2,spe,scores) are unchanged. Found by executing every code block of the book with deprecation warnings treated as failures (#274).