Skip to content

Small cleanups to README#990

Merged
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged 2 commits intomainfrom
update-readme
Mar 19, 2026
Merged

Small cleanups to README#990
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged 2 commits intomainfrom
update-readme

Conversation

@MatthiasSchmidtblaicherQC
Copy link
Copy Markdown
Contributor

@MatthiasSchmidtblaicherQC Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) commented Mar 19, 2026

  • Make code example reproducible by using fetch_openml instead of a local parquet file.
  • Expand distribution list to include binomial, inverse Gaussian, and negative binomial (replacing the incorrect "logistic" label).
  • Add bullet point for multi-backend dataframe support (pandas, polars) via narwhals.
  • Fix some typos and stylistic issues: add Oxford commas, hyphenate compound modifiers ("cross-validation", "professional-sounding"), pluralize "architectures and operating systems."
  • Remove diagnostics section from code example. I daresay that the average user does not look into those diagnostics.

@MatthiasSchmidtblaicherQC Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) merged commit de9be2f into main Mar 19, 2026
25 checks passed
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) added a commit that referenced this pull request Mar 23, 2026
* Add `train_deviance_path_` to `GeneralizedLinearRegressorCV`

Expose training-set deviance alongside validation deviance so users can
diagnose over-/under-fitting as regularization changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Relax train deviance assertion to avoid flaky test

Compare overall means instead of per-alpha to avoid failures from
unlucky CV splits or high-regularization alphas.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* small changes to changelog

* Compute train deviance with standardized x_train

* remove comment

* test that train deviance is at correct scale; set to severe overfitting

* remove scaling test because it is too obvious

* simplify slightly

* do save file

* small comment why test deviance requires branching by fit_intercept

* small overhang from #990

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants