How to load 'best' model/emulator after training #708
Answered
by
jvwilliams23
jvwilliams23
asked this question in
Q&A
|
Hi, I loosely followed the quickstart example where we have some training data and find the best emulator doing something like: from autoemulate.core.compare import AutoEmulate
from autoemulate.emulators import GaussianProcess
ae = AutoEmulate(x_train, y_train, log_level="progress_bar", models=[GaussianProcess])
print(ae.summarise())
best = ae.best_result()
best_result_filepath = ae.save(best, "ae_best", use_timestamp=True)I then want to use the best emulator in another downstream application, but it seems that I cannot do that without retraining the model. E.g., the |
Answered by
jvwilliams23
Aug 12, 2025
Replies: 1 comment 4 replies
|
Hi @jvwilliams23! You do not need to retrain the model. The trained model has been saved in the results object and can be accessed as |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @radka-j
Yes, but I mean how to use the model in a different script at inference time. I think I found the answer:
I am not sure if this is the best/intended usage, since the function is prefixed with
_(_load_result) which usually means it is a private function.If I give
ModelSe…