{
  "name": "Held-out R-squared for PCR and PLS on the scikit-learn two-component toy dataset",
  "description": "Test-set R-squared values reported in the scikit-learn example comparing principal component regression and partial least squares on a 500-sample, two-dimensional Gaussian dataset whose target depends on the low-variance component.",
  "page": "https://casrai.org/guides/principal-component-analysis-regression",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-12T13:23:10Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Method",
      "unit": "",
      "description": ""
    },
    {
      "name": "Components retained",
      "unit": "",
      "description": ""
    },
    {
      "name": "Test R-squared",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Method": "PCR",
      "Components retained": 1,
      "Test R-squared": -0.026
    },
    {
      "Method": "PLS",
      "Components retained": 1,
      "Test R-squared": 0.658
    },
    {
      "Method": "PCR",
      "Components retained": 2,
      "Test R-squared": 0.673
    }
  ],
  "sources": [
    {
      "title": "scikit-learn: Principal Component Regression vs Partial Least Squares Regression",
      "url": "https://scikit-learn.org/stable/auto_examples/cross_decomposition/plot_pcr_vs_pls.html",
      "accessed": "2026-11-12"
    }
  ]
}