Skip to content

How to increase RDBStorage precision from "Float" to "Double" for stored param values #3227

@Sheldonfrith

Description

@Sheldonfrith

Hello I've just discovered that when optuna saves my param values to RDBStorage for each trial I am losing a lot of precision on those values, because they are going into a MySQL "FLOAT" column when they should be going into a "Double" or "Decimal" column.

Is there any way to solve this? I don't see any way of doing it through the RBDStorage class...

It creates large performance discrepancies when I try to reproduce models from studies using these modified param values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about Optuna.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions