Open
Description
# Open the pkl file and load the return message
import pickle
with open(return_message_filepath, 'rb') as f:
return_msg = pickle.load(f)
print(f"New model's accuracy (0.0 = 0%, 1.0 = 100%): {return_msg.acc}")
print(
f"Previous models' accuracies on the validation set:"
f" {return_msg.pc_accs}")
print(
"New model's accuracy progression (calculated on the reference set)"
f" after each epoch of training: {return_msg.ref_accs}")
print(f"Training runtime: {return_msg.runtime:.1f} s")
Error:
AttributeError: 'CalibratedClassifierCV' object has no attribute 'acc'
previously I believe _acc was accessible ?
Metadata
Metadata
Assignees
Labels
No labels