Occasionally analysis won't start for one of the initialized models. This means a checkpoint is never issued. As a workaround, I interrupt the multiprocessing execution and serialize the engine myself:
Interrupt the analysis using jupyter's terminate button or killall -INT "python".
Retrieve your generator_idfrom the bayesdb_generator table.
Serialize the engine, while the collected data is still in memory:
Occasionally analysis won't start for one of the initialized models. This means a checkpoint is never issued. As a workaround, I interrupt the multiprocessing execution and serialize the engine myself:
jupyter
's terminate button orkillall -INT "python"
.generator_id
from thebayesdb_generator
table.