# MLJFlux is a lot slower than the same algorithm written in Flux

**URL:** <https://discourse.julialang.org/t/mljflux-is-a-lot-slower-than-the-same-algorithm-written-in-flux/63253>\
**Category:** Performance\
**Tags:** flux, machine-learning, mlj, neural-network\
**Created:** [June 20, 2021, 7:06pm UTC](https://discourse.julialang.org/t/mljflux-is-a-lot-slower-than-the-same-algorithm-written-in-flux/63253 "2021-06-20T19:06:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [June 20, 2021, 11:29pm UTC](https://discourse.julialang.org/t/mljflux-is-a-lot-slower-than-the-same-algorithm-written-in-flux/63253/3 "2021-06-20T23:29:05Z")

</div>

Hi @ultrapoci, I find it’s easiest to get help when [MWEs](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757) included relevant data.

For example, I wanted [help w/ plotting](https://discourse.julialang.org/t/only-plot-a-subset-of-x/62485).  
So I created a [github repo](https://github.com/azev77/Synthetic_Control_in_Julia), and put the data `HP_q.csv` into this repo.  
The instructions to access it are pretty simple:

```julia
using CSV, HTTP, DataFrames

# Get Data 
link = "https://github.com/azev77/Synthetic_Control_in_Julia/raw/main/HP_q.csv"
r = HTTP.get(link)
df = CSV.read(r.body, DataFrame, missingstring="NA")

```

Thusly the code in my MWE was fully replicatable.

---

_[View the full topic](https://discourse.julialang.org/t/mljflux-is-a-lot-slower-than-the-same-algorithm-written-in-flux/63253)._
