Jacob Stevens-Haas

Results 192 comments of Jacob Stevens-Haas

Here's the output of `pstree -pacts 3211769` (the process I originally started). nbclient is launched through a python entry point/console script `mitosis`, which checks that the repository is on a...

This is a great idea, it's just hard. Multiprocessing could speed up any multi-target optimizer that trains each target independently, not just MIOSR. But there exist cases where multiprocessing would...

Is the solution to use parametrized alias, not union aliases? e.g. ``` _ArrayInt_co: TypeAlias = NDArray[np.bool | integer[Any]] ``` would be replaced with: ```python from typing import TypeVar Int_co =...

Full pysindy version, with patch? Also, please work to minimize your example so it's easier to read and run. You rely on several variables that you haven't defined.

patch version is the third number, e.g. the 5 in 1.7.5. You should be able to see this if you do `pip show pysindy`

Some issues with your MWE: indentation errors, `hill_function` is undefined, `sim_calc` is a list and has no attribute `'t'`. Try saving that code in a file like debug.py and running...

> It is just the 1.7 version, there is no patch version: Gotcha... That's an error on our part to release a version without a patch number. Probably 1.7.0, thanks!...

The TL;DR is that the [code ](https://github.com/dynamicslab/pysindy/blob/024bc9e58fd48776e221e455ba16586fc682d806/pysindy/pysindy.py#L718) uses `scipy.integrate.odeint` or `solve_ivp` depending on integration keywords. Also, to clarify, by "third order", you mean $d^3 x/dt^3=f(x, x_t, x_{tt})$? Or do you...

In general, there's no guarantee that models discovered by pysindy are bounded. 3rd degree polynomial ODEs can experience blow up, reaching inifinity in finite time. Even if blow up doesn't...