Skip to content

Fix tests#28

Closed
Michael-Howes wants to merge 3 commits intoaangelopoulos:mainfrom
Michael-Howes:main
Closed

Fix tests#28
Michael-Howes wants to merge 3 commits intoaangelopoulos:mainfrom
Michael-Howes:main

Conversation

@Michael-Howes
Copy link
Copy Markdown
Contributor

Fixed tests in tests/test_mean.py, tests/test_cross.py and tests/test_logistic.py.

For test_mean.py

  • Fixed broadcasting error in test_ppi_mean_multid.
  • Changed lambd_optim_mode to lam_optim_mode in test_ppi_mean_elem.
  • Changed conformal baseline to use np.inf instead of np.infty.

For test_cross.py and test_logistic.py changed the synthetic data generation in de-biasing tests to use binomial sampling instead of a threshold. This ensures the synthetic data is generated from a logistic model and so biased can be computed.

Also formatted entire repo with black.

- Fix broadcasting error in test_ppi_mean_multid.
- Change lambd_optim_mode to lam_optim_mode in test_ppi_mean_elem.
- Change confromal baseline to use np.inf instead of np.infty.
@Michael-Howes
Copy link
Copy Markdown
Contributor Author

Apologies. I moved this to a difference branch on: #29

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