bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
111 stars 29 forks source link

Implement callback functionality to optimization #261

Closed mpvanderschelling closed 4 months ago

mpvanderschelling commented 6 months ago

Problem

By tackling #259 , there exists a use-case where the user wants to only store selected information (e.g. the loss) instead of the entire history of evaluations. A user-defined callback functionality could be of use here

Possible solution

Implement a callback functionality to the .optimize function of ExperimentData

mpvanderschelling commented 4 months ago

Fixed in v1.4.7