# MLJ and DiffEqFlux

**URL:** <https://discourse.julialang.org/t/mlj-and-diffeqflux/84259>\
**Category:** Machine Learning\
**Created:** [July 15, 2022, 9:16am UTC](https://discourse.julialang.org/t/mlj-and-diffeqflux/84259 "2022-07-15T09:16:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bienpierre](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Post date:** [July 15, 2022, 9:16am UTC](https://discourse.julialang.org/t/mlj-and-diffeqflux/84259/1 "2022-07-15T09:16:22Z")

</div>

Hello everyone,

I would like to know if it is possible to use [MLJFlux](https://github.com/FluxML/MLJFlux.jl) with [DiffEqFlux](https://github.com/SciML/DiffEqFlux.jl), or does it exist a interface?

Do I have to add method, such as:

```julia
fit!(loss, penalty, chain::Something_related_to_DiffEqFlux, optimiser, epochs, verbosity, X, y)

#appropriate code to DiffEqFlux training neural ODE

end

```

Regards

---

<div class="post-metadata">

**Author:** ![ablaom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ablaom/32/4889_2.png) [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Post date:** [July 18, 2022, 4:02am UTC](https://discourse.julialang.org/t/mlj-and-diffeqflux/84259/2 "2022-07-18T04:02:55Z")

</div>

MLJFlux does not currently interface DiffEqFlux. I’m guessing that more than your suggestion would be involved, but I’m probably not familiar enough with DiffEqFlux to be sure.
