This PR addresses issue #243. The ExperimentalEmulator was being retrained every time it was initialized. This is not efficient and can lead to inconsistent results.
Changes made:
Added a condition in the train method of the ExperimentalEmulator class in summit/benchmarks/experimental_emulator.py to check if the emulator has already been trained. If it has, the retraining process is skipped.
This change will improve the efficiency of the ExperimentalEmulator and ensure consistent results across runs.
This PR addresses issue #243. The ExperimentalEmulator was being retrained every time it was initialized. This is not efficient and can lead to inconsistent results.
Changes made:
train
method of theExperimentalEmulator
class insummit/benchmarks/experimental_emulator.py
to check if the emulator has already been trained. If it has, the retraining process is skipped.This change will improve the efficiency of the ExperimentalEmulator and ensure consistent results across runs.
Fixes #243.