# \[ANN\] FluxTraining.jl

**URL:** <https://discourse.julialang.org/t/ann-fluxtraining-jl/50856>\
**Category:** Package Announcements\
**Tags:** optimization, machine-learning\
**Created:** [November 27, 2020, 10:59am UTC](https://discourse.julialang.org/t/ann-fluxtraining-jl/50856 "2020-11-27T10:59:53Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![reemmasoud123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/reemmasoud123/32/26181_2.png) [@reemmasoud123](https://discourse.julialang.org/u/reemmasoud123)\
**Post date:** [June 20, 2021, 3:58pm UTC](https://discourse.julialang.org/t/ann-fluxtraining-jl/50856/12 "2021-06-20T15:58:56Z")

</div>

> [@LSTM training for a sequence of multiple features using a batch size 30](https://discourse.julialang.org/t/lstm-training-for-a-sequence-of-multiple-features-using-a-batch-size-30/63238):
>
> I am trying to do batch training using LSTM for a time series data with multiple features. Assuming I have 5000 samples and 5 features for each sample. The input uses 14 days into the past and the output is a single value on the 15th day. (My time step is 14). The size of my data is the following: xtrain: (5000,14,5) ytrain: (5000,1,1) My model is below. How do I train my data by using a batch size of 30? I tried using DataLoader and Flux.train but they are both not working with this input s…

Hello,

Is it possible to use FluxTraining to solve the issue mentioned in the post above?

---

_[View the full topic](https://discourse.julialang.org/t/ann-fluxtraining-jl/50856)._
