Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytorch net #42

Merged
merged 4 commits into from
Nov 8, 2023
Merged

Pytorch net #42

merged 4 commits into from
Nov 8, 2023

Conversation

mastoffel
Copy link
Collaborator

  • adds a Pytorch MLP wrapped in Skorch
  • Problem: Sklearn tests don't work because it subclasses

Copy link
Contributor

github-actions bot commented Nov 8, 2023

Coverage report

The coverage rate went from 89.58% to 85.96% ⬇️

54.76% of new lines are covered.

Diff Coverage details (click to unfold)

autoemulate/compare.py

100% of new lines are covered (66.66% of the complete file).

autoemulate/emulators/init.py

100% of new lines are covered (100% of the complete file).

autoemulate/emulators/gaussian_process.py

100% of new lines are covered (88.88% of the complete file).

autoemulate/emulators/neural_net_sk.py

100% of new lines are covered (93.75% of the complete file).

autoemulate/emulators/neural_net_torch.py

45.71% of new lines are covered (44.11% of the complete file).
Missing lines: 16, 17, 23, 24, 25, 27, 28, 31, 32, 33, 34, 37, 38, 39, 40, 41, 64, 83, 90

autoemulate/emulators/radial_basis.py

100% of new lines are covered (93.1% of the complete file).

tests/test_estimators.py

100% of new lines are covered (100% of the complete file).

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch

change to cpu build torch
@mastoffel mastoffel merged commit 2d4f7d9 into main Nov 8, 2023
3 checks passed
@mastoffel mastoffel deleted the pytorch-net branch January 11, 2024 11:22
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