optuna.storages
The storages
module defines a BaseStorage
class which abstracts a backend database and provides library-internal interfaces to the read/write histories of the studies and trials. Library users who wish to use storage solutions other than the default in-memory storage should use one of the child classes of BaseStorage
documented below.
Storage class for RDB backend. |
|
Retry a failed trial up to a maximum number of times. |
|
Fail stale trials and run their failure callbacks. |
|
Storage class for Journal storage backend. |
|
File storage class for Journal log backend. |
|
Lock class for synchronizing processes for NFSv2 or later. |
|
Lock class for synchronizing processes for NFSv3 or later. |
|
Redis storage class for Journal log backend. |