Closed bryanlimy closed 4 months ago
Click to see where and how coverage changed
File Statements Missing Coverage Coverage
(new stmts)Lines missing
autoemulate
compare.py
cross_validate.py
model_processing.py
autoemulate/emulators
neural_net_torch.py
autoemulate/emulators/neural_networks
base.py
28
get_module.py
mlp.py
rbf.py
16, 20, 24, 28, 32, 36, 112-133, 137-168, 192-201, 222-252, 257, 262, 267, 297-314, 318-340, 343
tests
test_emulators.py
test_torch.py
Project Total
This report was generated by python-coverage-comment-action
Attention: Patch coverage is 70.66667%
with 66 lines
in your changes are missing coverage. Please review.
Project coverage is 88.43%. Comparing base (
b31c26c
) to head (178b1a5
). Report is 2 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
autoemulate/emulators/neural_networks/rbf.py | 32.98% | 65 Missing :warning: |
autoemulate/emulators/neural_networks/base.py | 80.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
RFBModule
from https://github.com/rssalessio/PytorchRBFLayer/tree/mainmodule__input_size
andmodule__output_size
default values toNone
module
withinfit
andpartial_fit
by inferring the input and output dimensions fromX
andy
.check_estimators_empty_data_messages
test case because it expect the error message to contain the required size of the input data, however, at that point of the code, we don't know what is the expected input dimension.tests/test_torch.py
for all our custom test cases forTorchModule
andNeuralNetTorch
get_grid_params
asstaticmethod
so that we can obtain the search space for the TorchModule without initializing the model.address https://github.com/alan-turing-institute/autoemulate/issues/165 and https://github.com/alan-turing-institute/autoemulate/issues/160