If you have ever set up a linear regression, there is a good chance you’re familiar with the R² measure, also known as the coefficient of determination. Of course, this measure does not only appear...

# A Sequence-to-One Model in Flux

A sequence-to-one model is a model which takes a sequence of data as input and predicts a single value. A well-known application of such models is the classification of the sentiment of a sentence ...

# Flux and Time Series Batching

Following one of my previous posts, I recently received an email asking me about batching time series data in Flux and whether I could find the time to write about it. I am thrilled that this blog ...

# Working with Imbalanced Datasets

Say that you are working on a simple binary classification task. For instance, you have a dataset of credit card transactions, and you want to classify each trade as either legitimate or fraudulent...

# A Simple Recurrent Model in Flux

After spending some time in the Julia discourse forum, I noticed that there are some difficulties in understanding how one should implement recurrent neural networks in Flux. In this post, I will ...