example.database2
is a database conformed of 100 series of length 100 obtained from 6 different classes. Each class is represented by the following function:
The class to which each series belongs is given in the classes
vector.$$f1(t)=80+r(t)+n(t)$$
- Class 2: periodic function
{$$f2(t)=80+15\sin(\frac{2\pi t + sh}{T})+n(t)$$}
- Class 3: increasing linear trend
{$$f3(t)=f_3(t)=80+0.4t+n(t)+sh$$}
- Class 4: decreasing linear trend
{$$f4(t)=80-0.4t+n(t)+sh$$}
- Class 5: piecewise linear function which takes a value of $80+n(t)$ for the first L/2+sh of the series and a value of $90+n(t)$ for the rest of the points.
- Class 6: piecewise linear function which takes a value of $90+n(t)$ for the first L/2+sh of the series and a value of $80+n(t)$ for the rest of the points.
$r(t)$ is a random value issued from a $N(0,3)$ distribution, $L$ is the length of the series, 100 in this case, and $T$ is the period and is defined as a third of the length of the series. $n(t)$ is a random noise obtained from a $N(0,2.8)$ distribution.. Finally, $sh$ is an integer value that takes a random value between $(-7,7)$ and shifts the series sh positions to the right or left, depending on the sign.