In our previous work, we developed a new distance function based on a derivative and showed that our algorithm is effective. In contrast to well-known measures from the literature, our approach considers the general shape of a time series rather than standard distance of function (value) comparison. The new distance was used in classification with the nearest neighbor rule. Now we improve on our
... [Show full abstract] previous technique by adding the second derivative. In order to provide a comprehensive comparison, we conducted a set of experiments, testing effectiveness on 47 time series datasets from a wide variety of application domains. Our experiments show that this new method provides a significantly more accurate classification on the examined datasets.