### Posts

Thoughts in data science, time-series and R.

## Time Series Introduction with R codes

1 What is a Time Series A set of observed values ordered in time, or we can say, repeated measurement of something usually with the same fixed interval of time (hourly, weekly, monthly). A collection of observations made sequentially in time[1]. If the variable we are measuring is a count variable, we may have a Poisson Time Series (that is for later). A time series $$T \in \mathbb{R}^n$$ is a sequence of real-valued numbers $$t_i \in \mathbb{R} : T=[t_1,t_2,\dots,t_n]$$ where $$n$$ is the length of $$T$$.

## Presenting 'matrixprofiler' a fast Matrix Profile implementation in R

img { display: block; margin-left: auto; margin-right: auto; } It took some time, as you can see in the previous post, but the matrixprofiler package is done! What does this mean? The UCR Matrix Pofile is growing, undoubtedly, and the tsmp package is getting almost 700 downloads per month. We decided that we needed to separate the core from the practical usage of Matrix Profile. So the matrixprofiler package has been born and is focused on having the low-level code (C/C++), for speed and robustness.

## Using RStudio with Github Classroom

img { display: block; margin-left: auto; margin-right: auto; } In March, 12th, Github has launched the Github Classroom platform. TL; DR, you can continue. For the long story, click here. Classroom For those that want to know more about the capabilities of Github Classroom, I recommend you start here. Using RStudio Why do we need this tutorial? Well, Github Classroom already allows an auto-integration with Microsoft MakeCode and Repl.

## Using RStudio with Github Classroom - long version

img { display: block; margin-left: auto; margin-right: auto; } In March, 12th, Github has launched the Github Classroom platform. TL; DR, click here. Disclaimer: Everything I say here is only my opinion, and some better solution may exist that I could not find yet. Here is the long story: Classroom For those that want to know more about the capabilities of Github Classroom, I recommend you start here.

## 100 Time Series Data Mining Questions - Part 8

In the last post, we were able to identify when a regime change occurs. Today we will focus on speed (well, a trade-off) For the next question, we will still be using the datasets available at https://github.com/matrix-profile-foundation/mpf-datasets so you can try this at home. The original code (MATLAB) and data are here. Now let’s start: How do I quickly search this long dataset for patterns, if an approximate search is acceptable?

## 100 Time Series Data Mining Questions - Part 7

In the last post, we were able to identify when a regime change occurs. Today we will focus on speed (well, a trade-off) For the next question, we will still be using the datasets available at https://github.com/matrix-profile-foundation/mpf-datasets so you can try this at home. The original code (MATLAB) and data are here. Now let’s start: How do I quickly search this long dataset for patterns, if an approximate search is acceptable?

## 100 Time Series Data Mining Questions - Part 6

In the last post took a very long time series, and we summarize it. Now we will do something that seems related when we look at the regime bar: regime change detection. For the next question, we will still be using the datasets available at https://github.com/matrix-profile-foundation/mpf-datasets so you can try this at home. The original code (MATLAB) and data are here. Now let’s start: When does the regime change in this time series?

## 100 Time Series Data Mining Questions - Part 5

In the last post we managed to find similar patterns between two time series. For the next question, we will still be using the datasets available at https://github.com/matrix-profile-foundation/mpf-datasets so you can try this at home. The original code (MATLAB) and data are here. Now let’s start: If you had to summarize this long time series with just two shorter examples, what would they be? This is a new kind of question.