# Function fitting neural network

**URL:** <https://discourse.julialang.org/t/function-fitting-neural-network/97425>\
**Category:** New to Julia\
**Created:** [April 13, 2023, 11:24am UTC](https://discourse.julialang.org/t/function-fitting-neural-network/97425 "2023-04-13T11:24:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vahagn](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@Vahagn](https://discourse.julialang.org/u/Vahagn)\
**Post date:** [April 13, 2023, 11:24am UTC](https://discourse.julialang.org/t/function-fitting-neural-network/97425/1 "2023-04-13T11:24:59Z")

</div>

Hi everyone,  
I am a beginner in using Julia and I want to ask how to use neural network in Julia.  
To be more specific, I have a target matrix 8x5000 and an input matrix 300x5000 and I want to find coefficients for fitting function. In matlab I can do it using fitnet command, but it takes too much time to solve the model in matlab, so I want to do it in Julia. Can You provide some hints how to do it?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 13, 2023, 11:53am UTC](https://discourse.julialang.org/t/function-fitting-neural-network/97425/2 "2023-04-13T11:53:32Z")

</div>

Hi @Vahagn, welcome!  
You could check out the foremost deep learning libraries in Julia: Flux.jl ([Welcome · Flux](https://fluxml.ai/Flux.jl/stable/)) and Lux.jl ([Lux.jl](https://lux.csail.mit.edu/stable/))
