You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pyciemss/PetriNetODE/interfaces.py, the type hints for the functions load_and_optimize_and_sample_petri_model and load_and_calibrate_and_optimize_and_sample_petri_model appear to be incorrect.
The arguments initial_guess and bounds both have type hints Iterable[float] and default values 0.5 and [[0.0], [1.0]] respectively. Based on the context and examples, they may need to be replaced with
Unrelated: load_and_calibrate_and_optimize_and_sample_petri_model has the argument deterministic_learnable_parameters but it is missing from the docstring. Please fix this so one can read about what this argument does.
The text was updated successfully, but these errors were encountered:
In pyciemss/PetriNetODE/interfaces.py, the type hints for the functions
load_and_optimize_and_sample_petri_model
andload_and_calibrate_and_optimize_and_sample_petri_model
appear to be incorrect.The arguments
initial_guess
andbounds
both have type hintsIterable[float]
and default values0.5
and[[0.0], [1.0]]
respectively. Based on the context and examples, they may need to be replaced withinitial_guess: Iterable[float] = [0.5]
bounds: Iterable[Iterable[float]] = [[0.0], [1.0]]
Unrelated:
load_and_calibrate_and_optimize_and_sample_petri_model
has the argumentdeterministic_learnable_parameters
but it is missing from the docstring. Please fix this so one can read about what this argument does.The text was updated successfully, but these errors were encountered: