SolverConfig

class franken.config.SolverConfig(l2_penalty: franken.config.HPSearchConfig | list[float] | float = <factory>, force_weight: franken.config.HPSearchConfig | list[float] | float = <factory>)

Bases: object

force_weight: HPSearchConfig | list[float] | float

Controls how much weight the forces term, as opposed to the energy term has in the loss. Should be a number between 0 and 1.

l2_penalty: HPSearchConfig | list[float] | float

The amount of regularization. Should be a small positive number.