"Windowing Operator and Generate Attribute"

habibalex
habibalex New Altair Community Member
edited November 5 in Community Q&A
I have to use the rename operator after the windowing attribute if I want to use the Generate operator.

For example I have a data set with the attribute Close.
I use the windowing operator, with a window size of 2 that creates a new label.

<operator activated="true" class="series:windowing" compatibility="5.1.002" expanded="true" height="76" name="Windowing" width="90" x="179" y="30">
        <parameter key="horizon" value="1"/>
        <parameter key="window_size" value="2"/>
        <parameter key="create_single_attributes" value="false"/>
        <parameter key="create_label" value="true"/>
        <parameter key="label_attribute" value="Close"/>
      </operator>

Now I have attributes for Close-0, Close-1, and the new label

Answers