A program to recognize and reward our most engaged community members
<p>Measures the number of times a regression prediction correctly determines the trend. * This performance measure assumes that the attributes of each example represents the * values of a time window, the label is a value after a certain horizon which should * be predicted. All examples build a consecutive series description, i.e. the labels * of all examples build the series itself (this is, for example, the case for a windowing * step size of 1). This format will be delivered by the Series2ExampleSet operators provided by * RapidMiner.</p> * * <p>Example: Lets think of a series v1...v10 and a sliding window with window width 3, * step size 1 and prediction horizon 1. The resulting example set is then</p> * * <pre> * T1 T2 T3 L P * --------------- * v1 v2 v3 v4 p1 * v2 v3 v4 v5 p2 * v3 v4 v5 v6 p3 * v4 v5 v6 v7 p4 * v5 v6 v7 v8 p5 * v6 v7 v8 v9 p6 * v7 v8 v9 v10 p7 * </pre> * * <p>The second last column (L) corresponds to the label, i.e. the value which should be * predicted and the last column (P) corresponds to the predictions. The columns T1, T2, * and T3 correspond to the regular attributes, i.e. the points which should be used as * learning input.</p> * * <p>This performance measure then calculates the actuals trend between the last time point * in the series (T3 here) and the actual label (L) and compares it to the trend between T3 * and the prediction (P), sums the products between both trends, and divides this sum by the * total number of examples, i.e. [(if ((v4-v3)*(p1-v3)>=0), 1, 0) + (if ((v5-v4)*(p2-v4)>=0), 1, 0) +...] / 7 in this example.</p> *