Skip to content

Deprecated PCA.predict used in the PCA exercises and the multivariate monitoring chapter #276

Description

@kgdunn

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions