twocan.SaveTrialsDFCallback
- class twocan.SaveTrialsDFCallback(filepath: str, save_frequency: int = 1)[source]
Bases:
objectCallback to save optimization trials to a CSV file during study execution.
This callback writes trial results to a CSV file after each trial completion, allowing for real-time monitoring and persistent storage of optimization progress. Useful for long-running optimizations or when resuming studies.
- Parameters: