Open galenseilis opened 8 months ago
We used to have .yml files for this, however it got much more complicated when some inputs were functions or objects, and it got a bit messy when combining with numpy arrays.
I find that the Python file itself if sufficient, as the inputs to ciw.create_network
are so readable.
I would recommend keeping models as separate Python files creating the networks, and just importing them into the main script.
I am thinking about how to develop and maintain model configurations.
ciw.create_network
to develop an instance of theciw.network
class and then serialize it.Whichever way I would want to keep things in a versioning system (git).