Prediction with several attributes

elham_calmelham_calm Member Posts: 18 Contributor I
edited December 2018 in Help
I have new question:

to predict a target by using several attributes ( for example in my data set : target is : predict heating load of building .....attributes are : 1-dry bulb temeperture 2-dew poin temperture 3-heating load , this dataset is for one year and I want predictfor 100 houre)

I dont know excactly what do I do,

please help me
XML codes :
I have new question:

to predict a target by using several attributes ( for example in my data set : target is : predict heating load of building and attributes : 1-dry bulb temeperture 2-dew poin temperture 3-heating load , this dataset is for one year and I want predictfor 100 houre)

I dont know excactly what do I do,

p.s : I posted my XML that I select one attribute but I want change this to several attributes.

Thanks very much
XML code :
<PROCESS version="8.1.000"> <CONTEXT> <INPUT /> <OUTPUT></OUTPUT> <MACROS></MACROS> </CONTEXT> <OPERATOR activated="true" class="process" compatibility="8.1.000" expanded="true" name="Process"> <PROCESS expanded="true"> <OPERATOR activated="true" class="retrieve" compatibility="8.1.000" expanded="true" height="68" name="Retrieve first test" width="90" x="112" y="136"> <PARAMETER key="repository_entry" value="//Local Repository/first test"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="rename" compatibility="8.1.000" expanded="true" height="82" name="Rename" width="90" x="313" y="187"> <PARAMETER key="old_name" value="Date/Time"></PARAMETER> <PARAMETER key="new_name" value="Date"></PARAMETER> <LIST key="rename_additional_attributes"> <PARAMETER key="Zone Sensible Heating" value="Zone Heating"></PARAMETER> </LIST> </OPERATOR> <OPERATOR activated="true" class="set_role" compatibility="5.3.013" expanded="true" height="82" name="Set Role" width="90" x="313" y="289"> <PARAMETER key="attribute_name" value="Date"></PARAMETER> <PARAMETER key="target_role" value="id"></PARAMETER> <LIST key="set_additional_roles"></LIST> </OPERATOR> <OPERATOR activated="true" class="subprocess" compatibility="8.1.000" expanded="true" height="82" name="Set Predictions_Params (2)" width="90" x="313" y="391"> <PROCESS expanded="true"> <OPERATOR activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Window_Size (2)" width="90" x="45" y="187"> <PARAMETER key="macro" value="WindowSize"></PARAMETER> <PARAMETER key="value" value="40"></PARAMETER> </OPERATOR> <OPERATOR activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Horizon (2)" width="90" x="179" y="238"> <PARAMETER key="macro" value="horizon"></PARAMETER> <PARAMETER key="value" value="1"></PARAMETER> </OPERATOR> <OPERATOR activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Future_Month (2)" width="90" x="313" y="238"> <PARAMETER key="macro" value="futureMonth"></PARAMETER> <PARAMETER key="value" value="100"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="set_macros" compatibility="8.1.000" expanded="true" height="82" name="Set Macros" width="90" x="246" y="34"> <LIST key="macros"> <PARAMETER key="forecast_horizon" value="2"></PARAMETER> <PARAMETER key="window_size" value="40"></PARAMETER> <PARAMETER key="future_month" value="100"></PARAMETER> </LIST> <DESCRIPTION align="center" color="transparent" colored="false" width="126">Set your Window and Horizon parameters here.</DESCRIPTION> </OPERATOR> <CONNECT from_port="in 1" to_op="Set Macros" to_port="through 1"></CONNECT> <CONNECT from_op="Set Macros" from_port="through 1" to_port="out 1"></CONNECT> <PORTSPACING port="source_in 1" spacing="0"></PORTSPACING> <PORTSPACING port="source_in 2" spacing="0"></PORTSPACING> <PORTSPACING port="sink_out 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_out 2" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> <OPERATOR activated="true" class="select_attributes" compatibility="8.1.000" expanded="true" height="82" name="Select Attributes" width="90" x="313" y="493"> <PARAMETER key="attribute_filter_type" value="subset"></PARAMETER> <PARAMETER key="attributes" value="Date|Zone Heating"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="filter_examples" compatibility="6.4.000" expanded="true" height="103" name="Filter Examples" width="90" x="313" y="595"> <PARAMETER key="condition_class" value="no_missing_attributes"></PARAMETER> <LIST key="filters_list"></LIST> </OPERATOR> <OPERATOR activated="true" class="series:windowing" compatibility="7.4.000" expanded="true" height="82" name="Windowing" width="90" x="514" y="136"> <PARAMETER key="window_size" value="%{window_size}"></PARAMETER> <PARAMETER key="create_label" value="true"></PARAMETER> <PARAMETER key="label_attribute" value="Zone Heating"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="series:windowing" compatibility="7.4.000" expanded="true" height="82" name="Windowing (2)" width="90" x="514" y="238"> <PARAMETER key="window_size" value="%{window_size}"></PARAMETER> <PARAMETER key="label_attribute" value="Close"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="extract_macro" compatibility="8.1.000" expanded="true" height="68" name="Extract Macro" width="90" x="514" y="391"> <PARAMETER key="macro" value="n_examples"></PARAMETER> <LIST key="additional_macros"></LIST> </OPERATOR> <OPERATOR activated="true" class="generate_macro" compatibility="8.1.000" expanded="true" height="82" name="Generate Macro" width="90" x="514" y="493"> <LIST key="function_descriptions"> <PARAMETER key="filter_range" value="eval(%{n_examples})-1"></PARAMETER> </LIST> </OPERATOR> <OPERATOR activated="true" class="filter_example_range" compatibility="8.1.000" expanded="true" height="82" name="Filter Example Range" width="90" x="514" y="595"> <PARAMETER key="first_example" value="1"></PARAMETER> <PARAMETER key="last_example" value="%{filter_range}"></PARAMETER> <PARAMETER key="invert_filter" value="true"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="remember" compatibility="8.1.000" expanded="true" height="68" name="Remember" width="90" x="648" y="595"> <PARAMETER key="name" value="LastRow"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="series:sliding_window_validation" compatibility="7.4.000" expanded="true" height="124" name="Validation (2)" width="90" x="715" y="187"> <PARAMETER key="training_window_width" value="40"></PARAMETER> <PARAMETER key="test_window_width" value="10"></PARAMETER> <PARAMETER key="horizon" value="%{forecast_horizon}"></PARAMETER> <PROCESS expanded="true"> <OPERATOR activated="true" class="support_vector_machine" compatibility="8.1.000" expanded="true" height="124" name="SVM (2)" width="90" x="179" y="34"> <PARAMETER key="kernel_type" value="radial"></PARAMETER> </OPERATOR> <CONNECT from_port="training" to_op="SVM (2)" to_port="training set"></CONNECT> <CONNECT from_op="SVM (2)" from_port="model" to_port="model"></CONNECT> <PORTSPACING port="source_training" spacing="0"></PORTSPACING> <PORTSPACING port="sink_model" spacing="0"></PORTSPACING> <PORTSPACING port="sink_through 1" spacing="0"></PORTSPACING> </PROCESS> <PROCESS expanded="true"> <OPERATOR activated="true" class="apply_model" compatibility="8.1.000" expanded="true" height="82" name="Apply Model (3)" width="90" x="45" y="34"> <LIST key="application_parameters"></LIST> </OPERATOR> <OPERATOR activated="true" class="series:forecasting_performance" compatibility="7.4.000" expanded="true" height="82" name="Performance (2)" width="90" x="246" y="34"> <PARAMETER key="horizon" value="%{forecast_horizon}"></PARAMETER> <PARAMETER key="main_criterion" value="prediction_trend_accuracy"></PARAMETER> </OPERATOR> <CONNECT from_port="model" to_op="Apply Model (3)" to_port="model"></CONNECT> <CONNECT from_port="test set" to_op="Apply Model (3)" to_port="unlabelled data"></CONNECT> <CONNECT from_op="Apply Model (3)" from_port="labelled data" to_op="Performance (2)" to_port="labelled data"></CONNECT> <CONNECT from_op="Performance (2)" from_port="performance" to_port="averagable 1"></CONNECT> <PORTSPACING port="source_model" spacing="0"></PORTSPACING> <PORTSPACING port="source_test set" spacing="0"></PORTSPACING> <PORTSPACING port="source_through 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_averagable 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_averagable 2" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> <OPERATOR activated="true" class="optimize_parameters_grid" compatibility="8.1.000" expanded="true" height="103" name="Optimize Parameters (Grid)" width="90" x="849" y="340"> <LIST key="parameters"> <PARAMETER key="Performance.prediction_trend_accuracy" value="true,false"></PARAMETER> <PARAMETER key="SVM.kernel_gamma" value="[0.0;1;5;linear]"></PARAMETER> <PARAMETER key="SVM.C" value="[1;20;2;linear]"></PARAMETER> </LIST> <PROCESS expanded="true"> <OPERATOR activated="true" class="series:sliding_window_validation" compatibility="7.4.000" expanded="true" height="124" name="Validation" width="90" x="112" y="34"> <PARAMETER key="training_window_width" value="40"></PARAMETER> <PARAMETER key="test_window_width" value="10"></PARAMETER> <PARAMETER key="horizon" value="%{forecast_horizon}"></PARAMETER> <PROCESS expanded="true"> <OPERATOR activated="true" class="support_vector_machine" compatibility="8.1.000" expanded="true" height="124" name="SVM" width="90" x="179" y="34"> <PARAMETER key="kernel_type" value="radial"></PARAMETER> <PARAMETER key="C" value="20.0"></PARAMETER> </OPERATOR> <CONNECT from_port="training" to_op="SVM" to_port="training set"></CONNECT> <CONNECT from_op="SVM" from_port="model" to_port="model"></CONNECT> <PORTSPACING port="source_training" spacing="0"></PORTSPACING> <PORTSPACING port="sink_model" spacing="0"></PORTSPACING> <PORTSPACING port="sink_through 1" spacing="0"></PORTSPACING> </PROCESS> <PROCESS expanded="true"> <OPERATOR activated="true" class="apply_model" compatibility="8.1.000" expanded="true" height="82" name="Apply Model (2)" width="90" x="45" y="34"> <LIST key="application_parameters"></LIST> </OPERATOR> <OPERATOR activated="true" class="series:forecasting_performance" compatibility="7.4.000" expanded="true" height="82" name="Performance" width="90" x="246" y="34"> <PARAMETER key="horizon" value="%{forecast_horizon}"></PARAMETER> <PARAMETER key="main_criterion" value="prediction_trend_accuracy"></PARAMETER> <PARAMETER key="prediction_trend_accuracy" value="false"></PARAMETER> </OPERATOR> <CONNECT from_port="model" to_op="Apply Model (2)" to_port="model"></CONNECT> <CONNECT from_port="test set" to_op="Apply Model (2)" to_port="unlabelled data"></CONNECT> <CONNECT from_op="Apply Model (2)" from_port="labelled data" to_op="Performance" to_port="labelled data"></CONNECT> <CONNECT from_op="Performance" from_port="performance" to_port="averagable 1"></CONNECT> <PORTSPACING port="source_model" spacing="0"></PORTSPACING> <PORTSPACING port="source_test set" spacing="0"></PORTSPACING> <PORTSPACING port="source_through 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_averagable 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_averagable 2" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> <OPERATOR activated="true" class="log" compatibility="8.1.000" expanded="true" height="82" name="Log" width="90" x="313" y="85"> <PARAMETER key="filename" value="tmp"></PARAMETER> <LIST key="log"> <PARAMETER key="Gamma" value="operator.SVM.parameter.kernel_gamma"></PARAMETER> <PARAMETER key="C" value="operator.SVM.parameter.C"></PARAMETER> <PARAMETER key="Forecast Perf" value="operator.Validation.value.performance"></PARAMETER> </LIST> </OPERATOR> <CONNECT from_port="input 1" to_op="Validation" to_port="training"></CONNECT> <CONNECT from_op="Validation" from_port="averagable 1" to_op="Log" to_port="through 1"></CONNECT> <CONNECT from_op="Log" from_port="through 1" to_port="performance"></CONNECT> <PORTSPACING port="source_input 1" spacing="0"></PORTSPACING> <PORTSPACING port="source_input 2" spacing="0"></PORTSPACING> <PORTSPACING port="sink_performance" spacing="0"></PORTSPACING> <PORTSPACING port="sink_result 1" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> <OPERATOR activated="true" class="loop" compatibility="8.1.000" expanded="true" height="124" name="Loop" width="90" x="916" y="187"> <PARAMETER key="macro_name" value="loop_forecasts"></PARAMETER> <PARAMETER key="iterations" value="%{future_month}"></PARAMETER> <PROCESS expanded="true"> <OPERATOR activated="true" class="recall" compatibility="8.1.000" expanded="true" height="68" name="Recall" width="90" x="45" y="85"> <PARAMETER key="name" value="LastRow"></PARAMETER> <PARAMETER key="remove_from_store" value="false"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="apply_model" compatibility="7.1.001" expanded="true" height="82" name="Apply Model" width="90" x="246" y="34"> <LIST key="application_parameters"></LIST> </OPERATOR> <OPERATOR activated="true" class="multiply" compatibility="8.1.000" expanded="true" height="103" name="Multiply" width="90" x="581" y="238"></OPERATOR> <OPERATOR activated="true" class="materialize_data" compatibility="8.1.000" expanded="true" height="82" name="Materialize Data (3)" width="90" x="313" y="373"></OPERATOR> <OPERATOR activated="true" class="generate_attributes" compatibility="6.4.000" expanded="true" height="82" name="Increase Date (2)" width="90" x="447" y="373"> <LIST key="function_descriptions"> <PARAMETER key="Date" value="date_add(Date, 1, DATE_UNIT_HOUR)"></PARAMETER> </LIST> </OPERATOR> <OPERATOR activated="true" class="set_role" compatibility="5.3.013" expanded="true" height="82" name="Set Role (3)" width="90" x="581" y="373"> <PARAMETER key="attribute_name" value="prediction(label)"></PARAMETER> <LIST key="set_additional_roles"></LIST> </OPERATOR> <OPERATOR activated="true" class="select_attributes" compatibility="8.1.000" expanded="true" height="82" name="Select Attributes (2)" width="90" x="313" y="497"> <PARAMETER key="attribute_filter_type" value="single"></PARAMETER> <PARAMETER key="attribute" value="Zone Heating-39"></PARAMETER> <PARAMETER key="invert_selection" value="true"></PARAMETER> </OPERATOR> <OPERATOR activated="true" class="rename" compatibility="8.1.000" expanded="true" height="82" name="Rename (2)" width="90" x="447" y="497"> <PARAMETER key="old_name" value="Zone Heating-38"></PARAMETER> <PARAMETER key="new_name" value="Zone Heating-39"></PARAMETER> <LIST key="rename_additional_attributes"> <PARAMETER key="Zone Heating-37" value="Zone Heating-38"></PARAMETER> <PARAMETER key="Zone Heating-36" value="Zone Heating-37"></PARAMETER> <PARAMETER key="Zone Heating-35" value="Zone Heating-36"></PARAMETER> <PARAMETER key="Zone Heating-34" value="Zone Heating-35"></PARAMETER> <PARAMETER key="Zone Heating-33" value="Zone Heating-34"></PARAMETER> <PARAMETER key="Zone Heating-32" value="Zone Heating-33"></PARAMETER> <PARAMETER key="Zone Heating-31" value="Zone Heating-32"></PARAMETER> <PARAMETER key="Zone Heating-30" value="Zone Heating-31"></PARAMETER> <PARAMETER key="Zone Heating-29" value="Zone Heating-30"></PARAMETER> <PARAMETER key="Zone Heating-28" value="Zone Heating-29"></PARAMETER> <PARAMETER key="Zone Heating-27" value="Zone Heating-28"></PARAMETER> <PARAMETER key="Zone Heating-26" value="Zone Heating-27"></PARAMETER> <PARAMETER key="Zone Heating-25" value="Zone Heating-26"></PARAMETER> <PARAMETER key="Zone Heating-24" value="Zone Heating-25"></PARAMETER> <PARAMETER key="Zone Heating-23" value="Zone Heating-24"></PARAMETER> <PARAMETER key="Zone Heating-22" value="Zone Heating-23"></PARAMETER> <PARAMETER key="Zone Heating-21" value="Zone Heating-22"></PARAMETER> <PARAMETER key="Zone Heating-20" value="Zone Heating-21"></PARAMETER> <PARAMETER key="Zone Heating-19" value="Zone Heating-20"></PARAMETER> <PARAMETER key="Zone Heating-18" value="Zone Heating-19"></PARAMETER> <PARAMETER key="Zone Heating-17" value="Zone Heating-18"></PARAMETER> <PARAMETER key="Zone Heating-16" value="Zone Heating-17"></PARAMETER> <PARAMETER key="Zone Heating-15" value="Zone Heating-16"></PARAMETER> <PARAMETER key="Zone Heating-14" value="Zone Heating-15"></PARAMETER> <PARAMETER key="Zone Heating-13" value="Zone Heating-14"></PARAMETER> <PARAMETER key="Zone Heating-12" value="Zone Heating-13"></PARAMETER> <PARAMETER key="Zone Heating-11" value="Zone Heating-12"></PARAMETER> <PARAMETER key="Zone Heating-10" value="Zone Heating-11"></PARAMETER> <PARAMETER key="Zone Heating-9" value="Zone Heating-10"></PARAMETER> <PARAMETER key="Zone Heating-8" value="Zone Heating-9"></PARAMETER> <PARAMETER key="Zone Heating-7" value="Zone Heating-8"></PARAMETER> <PARAMETER key="Zone Heating-6" value="Zone Heating-7"></PARAMETER> <PARAMETER key="Zone Heating-5" value="Zone Heating-6"></PARAMETER> <PARAMETER key="Zone Heating-4" value="Zone Heating-5"></PARAMETER> <PARAMETER key="Zone Heating-3" value="Zone Heating-4"></PARAMETER> <PARAMETER key="Zone Heating-2" value="Zone Heating-3"></PARAMETER> <PARAMETER key="Zone Heating-1" value="Zone Heating-2"></PARAMETER> <PARAMETER key="Zone Heating-0" value="Zone Heating-1"></PARAMETER> <PARAMETER key="prediction(label)" value="Zone Heating-0"></PARAMETER> </LIST> </OPERATOR> <OPERATOR activated="true" class="remember" compatibility="8.1.000" expanded="true" height="68" name="Remember (2)" width="90" x="581" y="493"> <PARAMETER key="name" value="LastRow"></PARAMETER> </OPERATOR> <CONNECT from_port="input 1" to_op="Apply Model" to_port="model"></CONNECT> <CONNECT from_op="Recall" from_port="result" to_op="Apply Model" to_port="unlabelled data"></CONNECT> <CONNECT from_op="Apply Model" from_port="labelled data" to_op="Multiply" to_port="input"></CONNECT> <CONNECT from_op="Multiply" from_port="output 1" to_port="output 1"></CONNECT> <CONNECT from_op="Multiply" from_port="output 2" to_op="Materialize Data (3)" to_port="example set input"></CONNECT> <CONNECT from_op="Materialize Data (3)" from_port="example set output" to_op="Increase Date (2)" to_port="example set input"></CONNECT> <CONNECT from_op="Increase Date (2)" from_port="example set output" to_op="Set Role (3)" to_port="example set input"></CONNECT> <CONNECT from_op="Set Role (3)" from_port="example set output" to_op="Select Attributes (2)" to_port="example set input"></CONNECT> <CONNECT from_op="Select Attributes (2)" from_port="example set output" to_op="Rename (2)" to_port="example set input"></CONNECT> <CONNECT from_op="Rename (2)" from_port="example set output" to_op="Remember (2)" to_port="store"></CONNECT> <PORTSPACING port="source_input 1" spacing="0"></PORTSPACING> <PORTSPACING port="source_input 2" spacing="0"></PORTSPACING> <PORTSPACING port="source_input 3" spacing="0"></PORTSPACING> <PORTSPACING port="source_input 4" spacing="0"></PORTSPACING> <PORTSPACING port="sink_output 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_output 2" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> <OPERATOR activated="true" class="append" compatibility="8.1.000" expanded="true" height="82" name="Append" width="90" x="1050" y="340"></OPERATOR> <CONNECT from_op="Retrieve first test" from_port="output" to_op="Rename" to_port="example set input"></CONNECT> <CONNECT from_op="Rename" from_port="example set output" to_op="Set Role" to_port="example set input"></CONNECT> <CONNECT from_op="Set Role" from_port="example set output" to_op="Set Predictions_Params (2)" to_port="in 1"></CONNECT> <CONNECT from_op="Set Predictions_Params (2)" from_port="out 1" to_op="Select Attributes" to_port="example set input"></CONNECT> <CONNECT from_op="Select Attributes" from_port="example set output" to_op="Filter Examples" to_port="example set input"></CONNECT> <CONNECT from_op="Filter Examples" from_port="example set output" to_op="Windowing" to_port="example set input"></CONNECT> <CONNECT from_op="Windowing" from_port="example set output" to_op="Validation (2)" to_port="training"></CONNECT> <CONNECT from_op="Windowing" from_port="original" to_op="Windowing (2)" to_port="example set input"></CONNECT> <CONNECT from_op="Windowing (2)" from_port="example set output" to_op="Extract Macro" to_port="example set"></CONNECT> <CONNECT from_op="Extract Macro" from_port="example set" to_op="Generate Macro" to_port="through 1"></CONNECT> <CONNECT from_op="Generate Macro" from_port="through 1" to_op="Filter Example Range" to_port="example set input"></CONNECT> <CONNECT from_op="Filter Example Range" from_port="example set output" to_op="Remember" to_port="store"></CONNECT> <CONNECT from_op="Validation (2)" from_port="model" to_op="Loop" to_port="input 1"></CONNECT> <CONNECT from_op="Validation (2)" from_port="training" to_op="Optimize Parameters (Grid)" to_port="input 1"></CONNECT> <CONNECT from_op="Validation (2)" from_port="averagable 1" to_op="Loop" to_port="input 3"></CONNECT> <CONNECT from_op="Optimize Parameters (Grid)" from_port="performance" to_port="result 1"></CONNECT> <CONNECT from_op="Optimize Parameters (Grid)" from_port="parameter" to_op="Loop" to_port="input 2"></CONNECT> <CONNECT from_op="Loop" from_port="output 1" to_op="Append" to_port="example set 1"></CONNECT> <CONNECT from_op="Append" from_port="merged set" to_port="result 2"></CONNECT> <PORTSPACING port="source_input 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_result 1" spacing="0"></PORTSPACING> <PORTSPACING port="sink_result 2" spacing="0"></PORTSPACING> <PORTSPACING port="sink_result 3" spacing="0"></PORTSPACING> </PROCESS> </OPERATOR> </PROCESS>

&nbsp;

Best Answer

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
    Solution Accepted

    @elham_calm can you just edit your first post and put the XML code into the </>? It's a mess to look at. 

     

    If you want to train your target with more features, then just remove the first Select Attributes operator. 

Answers

  • elham_calmelham_calm Member Posts: 18 Contributor I
    <?xml version="1.0" encoding="UTF-8"?><process version="8.1.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="8.1.000" expanded="true" name="Process"> <process expanded="true"> <operator activated="true" class="retrieve" compatibility="8.1.000" expanded="true" height="68" name="Retrieve first test" width="90" x="112" y="136"> <parameter key="repository_entry" value="//Local Repository/first test"/> </operator> <operator activated="true" class="rename" compatibility="8.1.000" expanded="true" height="82" name="Rename" width="90" x="313" y="187"> <parameter key="old_name" value="Date/Time"/> <parameter key="new_name" value="Date"/> <list key="rename_additional_attributes"> <parameter key="Zone Sensible Heating" value="Zone Heating"/> </list> </operator> <operator activated="true" class="set_role" compatibility="5.3.013" expanded="true" height="82" name="Set Role" width="90" x="313" y="289"> <parameter key="attribute_name" value="Date"/> <parameter key="target_role" value="id"/> <list key="set_additional_roles"/> </operator> <operator activated="true" class="subprocess" compatibility="8.1.000" expanded="true" height="82" name="Set Predictions_Params (2)" width="90" x="313" y="391"> <process expanded="true"> <operator activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Window_Size (2)" width="90" x="45" y="187"> <parameter key="macro" value="WindowSize"/> <parameter key="value" value="40"/> </operator> <operator activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Horizon (2)" width="90" x="179" y="238"> <parameter key="macro" value="horizon"/> <parameter key="value" value="1"/> </operator> <operator activated="false" class="set_macro" compatibility="8.1.000" expanded="true" height="68" name="Set Future_Month (2)" width="90" x="313" y="238"> <parameter key="macro" value="futureMonth"/> <parameter key="value" value="100"/> </operator> <operator activated="true" class="set_macros" compatibility="8.1.000" expanded="true" height="82" name="Set Macros" width="90" x="246" y="34"> <list key="macros"> <parameter key="forecast_horizon" value="2"/> <parameter key="window_size" value="40"/> <parameter key="future_month" value="100"/> </list> <description align="center" color="transparent" colored="false" width="126">Set your Window and Horizon parameters here.</description> </operator> <connect from_port="in 1" to_op="Set Macros" to_port="through 1"/> <connect from_op="Set Macros" from_port="through 1" to_port="out 1"/> <portSpacing port="source_in 1" spacing="0"/> <portSpacing port="source_in 2" spacing="0"/> <portSpacing port="sink_out 1" spacing="0"/> <portSpacing port="sink_out 2" spacing="0"/> </process> </operator> <operator activated="true" class="select_attributes" compatibility="8.1.000" expanded="true" height="82" name="Select Attributes" width="90" x="313" y="493"> <parameter key="attribute_filter_type" value="subset"/> <parameter key="attributes" value="Date|Zone Heating"/> </operator> <operator activated="true" class="filter_examples" compatibility="6.4.000" expanded="true" height="103" name="Filter Examples" width="90" x="313" y="595"> <parameter key="condition_class" value="no_missing_attributes"/> <list key="filters_list"/> </operator> <operator activated="true" class="series:windowing" compatibility="7.4.000" expanded="true" height="82" name="Windowing" width="90" x="514" y="136"> <parameter key="window_size" value="%{window_size}"/> <parameter key="create_label" value="true"/> <parameter key="label_attribute" value="Zone Heating"/> </operator> <operator activated="true" class="series:windowing" compatibility="7.4.000" expanded="true" height="82" name="Windowing (2)" width="90" x="514" y="238"> <parameter key="window_size" value="%{window_size}"/> <parameter key="label_attribute" value="Close"/> </operator> <operator activated="true" class="extract_macro" compatibility="8.1.000" expanded="true" height="68" name="Extract Macro" width="90" x="514" y="391"> <parameter key="macro" value="n_examples"/> <list key="additional_macros"/> </operator> <operator activated="true" class="generate_macro" compatibility="8.1.000" expanded="true" height="82" name="Generate Macro" width="90" x="514" y="493"> <list key="function_descriptions"> <parameter key="filter_range" value="eval(%{n_examples})-1"/> </list> </operator> <operator activated="true" class="filter_example_range" compatibility="8.1.000" expanded="true" height="82" name="Filter Example Range" width="90" x="514" y="595"> <parameter key="first_example" value="1"/> <parameter key="last_example" value="%{filter_range}"/> <parameter key="invert_filter" value="true"/> </operator> <operator activated="true" class="remember" compatibility="8.1.000" expanded="true" height="68" name="Remember" width="90" x="648" y="595"> <parameter key="name" value="LastRow"/> </operator> <operator activated="true" class="series:sliding_window_validation" compatibility="7.4.000" expanded="true" height="124" name="Validation (2)" width="90" x="715" y="187"> <parameter key="training_window_width" value="40"/> <parameter key="test_window_width" value="10"/> <parameter key="horizon" value="%{forecast_horizon}"/> <process expanded="true"> <operator activated="true" class="support_vector_machine" compatibility="8.1.000" expanded="true" height="124" name="SVM (2)" width="90" x="179" y="34"> <parameter key="kernel_type" value="radial"/> </operator> <connect from_port="training" to_op="SVM (2)" to_port="training set"/> <connect from_op="SVM (2)" from_port="model" to_port="model"/> <portSpacing port="source_training" spacing="0"/> <portSpacing port="sink_model" spacing="0"/> <portSpacing port="sink_through 1" spacing="0"/> </process> <process expanded="true"> <operator activated="true" class="apply_model" compatibility="8.1.000" expanded="true" height="82" name="Apply Model (3)" width="90" x="45" y="34"> <list key="application_parameters"/> </operator> <operator activated="true" class="series:forecasting_performance" compatibility="7.4.000" expanded="true" height="82" name="Performance (2)" width="90" x="246" y="34"> <parameter key="horizon" value="%{forecast_horizon}"/> <parameter key="main_criterion" value="prediction_trend_accuracy"/> </operator> <connect from_port="model" to_op="Apply Model (3)" to_port="model"/> <connect from_port="test set" to_op="Apply Model (3)" to_port="unlabelled data"/> <connect from_op="Apply Model (3)" from_port="labelled data" to_op="Performance (2)" to_port="labelled data"/> <connect from_op="Performance (2)" from_port="performance" to_port="averagable 1"/> <portSpacing port="source_model" spacing="0"/> <portSpacing port="source_test set" spacing="0"/> <portSpacing port="source_through 1" spacing="0"/> <portSpacing port="sink_averagable 1" spacing="0"/> <portSpacing port="sink_averagable 2" spacing="0"/> </process> </operator> <operator activated="true" class="optimize_parameters_grid" compatibility="8.1.000" expanded="true" height="103" name="Optimize Parameters (Grid)" width="90" x="849" y="340"> <list key="parameters"> <parameter key="Performance.prediction_trend_accuracy" value="true,false"/> <parameter key="SVM.kernel_gamma" value="[0.0;1;5;linear]"/> <parameter key="SVM.C" value="[1;20;2;linear]"/> </list> <process expanded="true"> <operator activated="true" class="series:sliding_window_validation" compatibility="7.4.000" expanded="true" height="124" name="Validation" width="90" x="112" y="34"> <parameter key="training_window_width" value="40"/> <parameter key="test_window_width" value="10"/> <parameter key="horizon" value="%{forecast_horizon}"/> <process expanded="true"> <operator activated="true" class="support_vector_machine" compatibility="8.1.000" expanded="true" height="124" name="SVM" width="90" x="179" y="34"> <parameter key="kernel_type" value="radial"/> <parameter key="C" value="20.0"/> </operator> <connect from_port="training" to_op="SVM" to_port="training set"/> <connect from_op="SVM" from_port="model" to_port="model"/> <portSpacing port="source_training" spacing="0"/> <portSpacing port="sink_model" spacing="0"/> <portSpacing port="sink_through 1" spacing="0"/> </process> <process expanded="true"> <operator activated="true" class="apply_model" compatibility="8.1.000" expanded="true" height="82" name="Apply Model (2)" width="90" x="45" y="34"> <list key="application_parameters"/> </operator> <operator activated="true" class="series:forecasting_performance" compatibility="7.4.000" expanded="true" height="82" name="Performance" width="90" x="246" y="34"> <parameter key="horizon" value="%{forecast_horizon}"/> <parameter key="main_criterion" value="prediction_trend_accuracy"/> <parameter key="prediction_trend_accuracy" value="false"/> </operator> <connect from_port="model" to_op="Apply Model (2)" to_port="model"/> <connect from_port="test set" to_op="Apply Model (2)" to_port="unlabelled data"/> <connect from_op="Apply Model (2)" from_port="labelled data" to_op="Performance" to_port="labelled data"/> <connect from_op="Performance" from_port="performance" to_port="averagable 1"/> <portSpacing port="source_model" spacing="0"/> <portSpacing port="source_test set" spacing="0"/> <portSpacing port="source_through 1" spacing="0"/> <portSpacing port="sink_averagable 1" spacing="0"/> <portSpacing port="sink_averagable 2" spacing="0"/> </process> </operator> <operator activated="true" class="log" compatibility="8.1.000" expanded="true" height="82" name="Log" width="90" x="313" y="85"> <parameter key="filename" value="tmp"/> <list key="log"> <parameter key="Gamma" value="operator.SVM.parameter.kernel_gamma"/> <parameter key="C" value="operator.SVM.parameter.C"/> <parameter key="Forecast Perf" value="operator.Validation.value.performance"/> </list> </operator> <connect from_port="input 1" to_op="Validation" to_port="training"/> <connect from_op="Validation" from_port="averagable 1" to_op="Log" to_port="through 1"/> <connect from_op="Log" from_port="through 1" to_port="performance"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="source_input 2" spacing="0"/> <portSpacing port="sink_performance" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator> <operator activated="true" class="loop" compatibility="8.1.000" expanded="true" height="124" name="Loop" width="90" x="916" y="187"> <parameter key="macro_name" value="loop_forecasts"/> <parameter key="iterations" value="%{future_month}"/> <process expanded="true"> <operator activated="true" class="recall" compatibility="8.1.000" expanded="true" height="68" name="Recall" width="90" x="45" y="85"> <parameter key="name" value="LastRow"/> <parameter key="remove_from_store" value="false"/> </operator> <operator activated="true" class="apply_model" compatibility="7.1.001" expanded="true" height="82" name="Apply Model" width="90" x="246" y="34"> <list key="application_parameters"/> </operator> <operator activated="true" class="multiply" compatibility="8.1.000" expanded="true" height="103" name="Multiply" width="90" x="581" y="238"/> <operator activated="true" class="materialize_data" compatibility="8.1.000" expanded="true" height="82" name="Materialize Data (3)" width="90" x="313" y="373"/> <operator activated="true" class="generate_attributes" compatibility="6.4.000" expanded="true" height="82" name="Increase Date (2)" width="90" x="447" y="373"> <list key="function_descriptions"> <parameter key="Date" value="date_add(Date, 1, DATE_UNIT_HOUR)"/> </list> </operator> <operator activated="true" class="set_role" compatibility="5.3.013" expanded="true" height="82" name="Set Role (3)" width="90" x="581" y="373"> <parameter key="attribute_name" value="prediction(label)"/> <list key="set_additional_roles"/> </operator> <operator activated="true" class="select_attributes" compatibility="8.1.000" expanded="true" height="82" name="Select Attributes (2)" width="90" x="313" y="497"> <parameter key="attribute_filter_type" value="single"/> <parameter key="attribute" value="Zone Heating-39"/> <parameter key="invert_selection" value="true"/> </operator> <operator activated="true" class="rename" compatibility="8.1.000" expanded="true" height="82" name="Rename (2)" width="90" x="447" y="497"> <parameter key="old_name" value="Zone Heating-38"/> <parameter key="new_name" value="Zone Heating-39"/> <list key="rename_additional_attributes"> <parameter key="Zone Heating-37" value="Zone Heating-38"/> <parameter key="Zone Heating-36" value="Zone Heating-37"/> <parameter key="Zone Heating-35" value="Zone Heating-36"/> <parameter key="Zone Heating-34" value="Zone Heating-35"/> <parameter key="Zone Heating-33" value="Zone Heating-34"/> <parameter key="Zone Heating-32" value="Zone Heating-33"/> <parameter key="Zone Heating-31" value="Zone Heating-32"/> <parameter key="Zone Heating-30" value="Zone Heating-31"/> <parameter key="Zone Heating-29" value="Zone Heating-30"/> <parameter key="Zone Heating-28" value="Zone Heating-29"/> <parameter key="Zone Heating-27" value="Zone Heating-28"/> <parameter key="Zone Heating-26" value="Zone Heating-27"/> <parameter key="Zone Heating-25" value="Zone Heating-26"/> <parameter key="Zone Heating-24" value="Zone Heating-25"/> <parameter key="Zone Heating-23" value="Zone Heating-24"/> <parameter key="Zone Heating-22" value="Zone Heating-23"/> <parameter key="Zone Heating-21" value="Zone Heating-22"/> <parameter key="Zone Heating-20" value="Zone Heating-21"/> <parameter key="Zone Heating-19" value="Zone Heating-20"/> <parameter key="Zone Heating-18" value="Zone Heating-19"/> <parameter key="Zone Heating-17" value="Zone Heating-18"/> <parameter key="Zone Heating-16" value="Zone Heating-17"/> <parameter key="Zone Heating-15" value="Zone Heating-16"/> <parameter key="Zone Heating-14" value="Zone Heating-15"/> <parameter key="Zone Heating-13" value="Zone Heating-14"/> <parameter key="Zone Heating-12" value="Zone Heating-13"/> <parameter key="Zone Heating-11" value="Zone Heating-12"/> <parameter key="Zone Heating-10" value="Zone Heating-11"/> <parameter key="Zone Heating-9" value="Zone Heating-10"/> <parameter key="Zone Heating-8" value="Zone Heating-9"/> <parameter key="Zone Heating-7" value="Zone Heating-8"/> <parameter key="Zone Heating-6" value="Zone Heating-7"/> <parameter key="Zone Heating-5" value="Zone Heating-6"/> <parameter key="Zone Heating-4" value="Zone Heating-5"/> <parameter key="Zone Heating-3" value="Zone Heating-4"/> <parameter key="Zone Heating-2" value="Zone Heating-3"/> <parameter key="Zone Heating-1" value="Zone Heating-2"/> <parameter key="Zone Heating-0" value="Zone Heating-1"/> <parameter key="prediction(label)" value="Zone Heating-0"/> </list> </operator> <operator activated="true" class="remember" compatibility="8.1.000" expanded="true" height="68" name="Remember (2)" width="90" x="581" y="493"> <parameter key="name" value="LastRow"/> </operator> <connect from_port="input 1" to_op="Apply Model" to_port="model"/> <connect from_op="Recall" from_port="result" to_op="Apply Model" to_port="unlabelled data"/> <connect from_op="Apply Model" from_port="labelled data" to_op="Multiply" to_port="input"/> <connect from_op="Multiply" from_port="output 1" to_port="output 1"/> <connect from_op="Multiply" from_port="output 2" to_op="Materialize Data (3)" to_port="example set input"/> <connect from_op="Materialize Data (3)" from_port="example set output" to_op="Increase Date (2)" to_port="example set input"/> <connect from_op="Increase Date (2)" from_port="example set output" to_op="Set Role (3)" to_port="example set input"/> <connect from_op="Set Role (3)" from_port="example set output" to_op="Select Attributes (2)" to_port="example set input"/> <connect from_op="Select Attributes (2)" from_port="example set output" to_op="Rename (2)" to_port="example set input"/> <connect from_op="Rename (2)" from_port="example set output" to_op="Remember (2)" to_port="store"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="source_input 2" spacing="0"/> <portSpacing port="source_input 3" spacing="0"/> <portSpacing port="source_input 4" spacing="0"/> <portSpacing port="sink_output 1" spacing="0"/> <portSpacing port="sink_output 2" spacing="0"/> </process> </operator> <operator activated="true" class="append" compatibility="8.1.000" expanded="true" height="82" name="Append" width="90" x="1050" y="340"/> <connect from_op="Retrieve first test" from_port="output" to_op="Rename" to_port="example set input"/> <connect from_op="Rename" from_port="example set output" to_op="Set Role" to_port="example set input"/> <connect from_op="Set Role" from_port="example set output" to_op="Set Predictions_Params (2)" to_port="in 1"/> <connect from_op="Set Predictions_Params (2)" from_port="out 1" to_op="Select Attributes" to_port="example set input"/> <connect from_op="Select Attributes" from_port="example set output" to_op="Filter Examples" to_port="example set input"/> <connect from_op="Filter Examples" from_port="example set output" to_op="Windowing" to_port="example set input"/> <connect from_op="Windowing" from_port="example set output" to_op="Validation (2)" to_port="training"/> <connect from_op="Windowing" from_port="original" to_op="Windowing (2)" to_port="example set input"/> <connect from_op="Windowing (2)" from_port="example set output" to_op="Extract Macro" to_port="example set"/> <connect from_op="Extract Macro" from_port="example set" to_op="Generate Macro" to_port="through 1"/> <connect from_op="Generate Macro" from_port="through 1" to_op="Filter Example Range" to_port="example set input"/> <connect from_op="Filter Example Range" from_port="example set output" to_op="Remember" to_port="store"/> <connect from_op="Validation (2)" from_port="model" to_op="Loop" to_port="input 1"/> <connect from_op="Validation (2)" from_port="training" to_op="Optimize Parameters (Grid)" to_port="input 1"/> <connect from_op="Validation (2)" from_port="averagable 1" to_op="Loop" to_port="input 3"/> <connect from_op="Optimize Parameters (Grid)" from_port="performance" to_port="result 1"/> <connect from_op="Optimize Parameters (Grid)" from_port="parameter" to_op="Loop" to_port="input 2"/> <connect from_op="Loop" from_port="output 1" to_op="Append" to_port="example set 1"/> <connect from_op="Append" from_port="merged set" to_port="result 2"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> <portSpacing port="sink_result 3" spacing="0"/> </process> </operator> </process> 

    This is my xml codes but with just one attribute and niw i want to change it to several attributes for predicting one target

    Thanks

Sign In or Register to comment.