Skip to content

Compare Gaussian and SkewGaussian in F1 cut-off notebook - #37

Merged
lawrennd merged 4 commits into
mainfrom
f1-skew-vs-gaussian-comparison
Nov 25, 2026
Merged

lawrennd merged 4 commits into
mainfrom
f1-skew-vs-gaussian-comparison

Conversation

@lawrennd

Copy link
Copy Markdown
Member

Summary

  • Add side-by-side Gaussian vs SkewGaussian (CIP-0014) fits on the Silverstone FP3→Q1 cut-off notebook: log-likelihoods, predictions, P17 cut-off histograms, danger table, and partial-observation cut-offs.
  • Temporarily install GPy from SheffieldML/GPy main in the notebook setup and installs.yml until SkewGaussian ships on PyPI (not in 1.15.0).
  • Update the GPy index blurb and tutorial workflow comment to match.

Test plan

  • Run GPy/f1_2011_qualifying_cutoff.ipynb with a GPy build that includes SkewGaussian; confirm α learns positive and both cut-off histograms render.
  • Confirm setup cell upgrades an older PyPI GPy to git main when SkewGaussian is missing.
  • Check GPy tutorials CI (gpy-tutorials / gpy-tutorials-latest) installs and executes the notebook.

Demonstrate CIP-0014 skew likelihood against a Gaussian baseline on the
same team/driver compound kernel, and temporarily install GPy from main
until SkewGaussian ships on PyPI.
Replace the invalid #egg=gpy[plotting] fragment with PEP 508 Direct URL
syntax so tutorial CI can install CIP-0014 from GPy main.
The cip0005-f1-practice-qualifying branch is gone; f1_2011_practice_qualifying
already lives on ods main, which CI needs to clone.
sampling_hmc fails on GPy main because InferenceX assumes ObsAr .values;
point installs at SheffieldML/GPy#1329 until that lands on main/PyPI.
@lawrennd

Copy link
Copy Markdown
Member Author

CI failure after install fixes was not the F1 notebook (19/20 passed). The remaining failure was sampling_hmc.ipynb → m.infer_newX(...) on GPy main:

AttributeError: 'numpy.ndarray' object has no attribute 'values'

in InferenceX._init_X.

Pushed a pin to SheffieldML/GPy#1329 (fix/infer-newx-ndarray) which replaces .values with np.asarray(...).

@lawrennd
lawrennd merged commit b7bb2cd into main Nov 25, 2026
2 checks passed
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.

1 participant