# \#sindy

**URL:** https://discourse.julialang.org/tag/sindy/1121.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Minimum Working Example (MWE) of a SINDy problem showing error](https://discourse.julialang.org/t/minimum-working-example-mwe-of-a-sindy-problem-showing-error/134013)

<div class="topic-metadata">

**Author:** [@Ashima\_Kalathingal](https://discourse.julialang.org/u/Ashima_Kalathingal)\
**Replies:** 2\
**Last updated:** [December 5, 2025, 11:45pm UTC](https://discourse.julialang.org/t/minimum-working-example-mwe-of-a-sindy-problem-showing-error/134013 "2025-12-05T23:45:26Z")

</div>

Hello all, The following is a MWE for a problem I am working on. Here I am trying to fit Qgen as a function of I,u\[1\],u\[2\] using a SINDy algorithm but I am running into errors. Here is the code using OrdinaryDiffEq us…

---

## [How to take the gradient of an ODE system with respect to many data points?](https://discourse.julialang.org/t/how-to-take-the-gradient-of-an-ode-system-with-respect-to-many-data-points/113368)

<div class="topic-metadata">

**Author:** [@ctessum](https://discourse.julialang.org/u/ctessum)\
**Replies:** 17\
**Last updated:** [April 25, 2024, 4:58pm UTC](https://discourse.julialang.org/t/how-to-take-the-gradient-of-an-ode-system-with-respect-to-many-data-points/113368 "2024-04-25T16:58:41Z")

</div>

Hello! I have an ode system (dx = f(x, ξ, k)), and I would like to find optimal values of ξ so that: \\mathrm{argmin}\_\\xi \\left( f(x, \\xi, k) - dx \\right)^2 where \\xi \\in R^{n\\xi} are the parameters I want to tune, x…

---

## [In DataDrivenDiffEq, how to get SINDy results as an array of numeric coefficients?](https://discourse.julialang.org/t/in-datadrivendiffeq-how-to-get-sindy-results-as-an-array-of-numeric-coefficients/108449)

<div class="topic-metadata">

**Author:** [@kmd](https://discourse.julialang.org/u/kmd)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 1:56pm UTC](https://discourse.julialang.org/t/in-datadrivendiffeq-how-to-get-sindy-results-as-an-array-of-numeric-coefficients/108449 "2024-01-07T13:56:08Z")

</div>

Hi, I would like to obtain the result of a SINDy model fitting as an array of coefficients I can convert to Float64. I can do this in PySINDy with the function \`\`model.coefficients()‘’, which will return the weights in…

---

## [DataDrivenDiffEq.jl sparse regression](https://discourse.julialang.org/t/datadrivendiffeq-jl-sparse-regression/86312)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 11:43am UTC](https://discourse.julialang.org/t/datadrivendiffeq-jl-sparse-regression/86312 "2022-08-25T11:43:19Z")

</div>

Regarding DataDrivenDiffEq.jl I have precalculated estimate of candidate\_matrix and also Derivative matrix… How do i use sparse regression to solve for sparse coefficient matrix ?? solve on SINDy assumes basis in symboli…
