Options

RENAME does not show all available fields

sebastian_gonzasebastian_gonza RapidMiner Certified Analyst, Member Posts: 52 Guru
edited November 2018 in Help

Hi, I want to rename all columns in a short format but some of the columns are said to not come from an input when they are coming, and when I check in the rename old name they are not available there, why that happens?

p1.pngp2.png

Best Answer

  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    Solution Accepted

    Hi again @sebastian_gonza,

     

    The problem seems solved : 

    it is a mistake of "inattention" (maximum(Consumo_minutos)_AAA renamed two times) : 

    Classification_Automobile.png

     

    I corrected this issue and here the new process : 

    <?xml version="1.0" encoding="UTF-8"?><process version="8.2.000">
    <context>
    <input/>
    <output/>
    <macros/>
    </context>
    <operator activated="true" class="process" compatibility="8.2.000" expanded="true" name="Process">
    <process expanded="true">
    <operator activated="true" class="retrieve" compatibility="8.2.000" expanded="true" height="68" name="Retrieve anytime_partitioned_limpia" width="90" x="45" y="34">
    <parameter key="repository_entry" value="//Rapidminer_Tests/data/anytime_partitioned_limpia"/>
    </operator>
    <operator activated="true" class="select_attributes" compatibility="8.2.000" expanded="true" height="82" name="Select Attributes" width="90" x="179" y="34">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="bda_contract|dba_genre|dba_hr_start|dba_hr_end|fecha_hr_inicio|fecha_hr_fin|cambio_prog|dba_duration"/>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.2.000" expanded="true" height="82" name="Generate Attributes" width="90" x="313" y="34">
    <list key="function_descriptions">
    <parameter key="Dur_minutos" value="dba_duration/60"/>
    <parameter key="hora_inicio_ok" value="cut(dba_hr_start,0,2)"/>
    <parameter key="ID" value="replace(bda_contract,&quot;.&quot;,&quot;&quot;)"/>
    </list>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.2.000" expanded="true" height="82" name="Generate Attributes (14)" width="90" x="447" y="34">
    <list key="function_descriptions">
    <parameter key="ID_ok" value="if(length(ID)==9,concat(&quot;0&quot;,ID),ID)"/>
    </list>
    </operator>
    <operator activated="true" class="nominal_to_numerical" compatibility="8.2.000" expanded="true" height="103" name="Nominal to Numerical" width="90" x="581" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="hora_inicio_ok"/>
    <parameter key="coding_type" value="unique integers"/>
    <list key="comparison_groups"/>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.2.000" expanded="true" height="82" name="Generate Attributes (2)" width="90" x="715" y="34">
    <list key="function_descriptions">
    <parameter key="Franjas" value="if(hora_inicio_ok&gt;=6 &amp;&amp; hora_inicio_ok&lt;12,&quot;A&quot;,if(hora_inicio_ok&gt;=12 &amp;&amp; hora_inicio_ok&lt;18,&quot;AA&quot;,if(hora_inicio_ok&gt;=18 &amp;&amp; hora_inicio_ok&lt;24,&quot;AAA&quot;,&quot;ON&quot;)))"/>
    </list>
    </operator>
    <operator activated="true" class="nominal_to_date" compatibility="8.2.000" expanded="true" height="82" name="Nominal to Date" width="90" x="849" y="34">
    <parameter key="attribute_name" value="fecha_hr_inicio"/>
    <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/>
    </operator>
    <operator activated="true" class="date_to_numerical" compatibility="8.2.000" expanded="true" height="82" name="Date to Numerical" width="90" x="983" y="34">
    <parameter key="attribute_name" value="fecha_hr_inicio"/>
    <parameter key="time_unit" value="day"/>
    <parameter key="day_relative_to" value="week"/>
    </operator>
    <operator activated="true" class="numerical_to_polynominal" compatibility="8.2.000" expanded="true" height="82" name="Numerical to Polynominal (4)" width="90" x="1117" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_hr_inicio"/>
    </operator>
    <operator activated="true" class="map" compatibility="8.2.000" expanded="true" height="82" name="Map (5)" width="90" x="1251" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_hr_inicio"/>
    <list key="value_mappings">
    <parameter key="1" value="Entre semana"/>
    <parameter key="2" value="Entre semana"/>
    <parameter key="3" value="Entre semana"/>
    <parameter key="4" value="Entre semana"/>
    <parameter key="5" value="Entre semana"/>
    <parameter key="6" value="Fin de semana"/>
    <parameter key="7" value="Fin de semana"/>
    </list>
    </operator>
    <operator activated="true" class="select_attributes" compatibility="8.2.000" expanded="true" height="82" name="Select Attributes (2)" width="90" x="1385" y="34">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Dur_minutos|Franjas|ID|bda_contract|cambio_prog|dba_genre|fecha_hr_inicio|ID_ok"/>
    </operator>
    <operator activated="true" class="rename" compatibility="8.2.000" expanded="true" height="82" name="Rename" width="90" x="1117" y="187">
    <parameter key="old_name" value="Dur_minutos"/>
    <parameter key="new_name" value="Consumo_minutos"/>
    <list key="rename_additional_attributes">
    <parameter key="bda_contract" value="ID_final"/>
    <parameter key="cambio_prog" value="Cambio_programa"/>
    <parameter key="dba_genre" value="Genero"/>
    <parameter key="fecha_hr_inicio" value="Dia semana"/>
    </list>
    </operator>
    <operator activated="true" class="multiply" compatibility="8.2.000" expanded="true" height="124" name="Multiply" width="90" x="45" y="238"/>
    <operator activated="true" class="aggregate" compatibility="8.2.000" expanded="true" height="82" name="Aggregate (3)" width="90" x="179" y="442">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Genero|ID_final"/>
    </operator>
    <operator activated="true" class="map" compatibility="8.2.000" expanded="true" height="82" name="Map" width="90" x="313" y="442">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="Genero"/>
    <list key="value_mappings">
    <parameter key="Animación" value="Animacion"/>
    <parameter key="Animacion" value="Animacion"/>
    <parameter key="Infinity" value="Infinity"/>
    <parameter key="-Infinity" value="Infinity"/>
    <parameter key="Deporte" value="Deportes"/>
    <parameter key="Deportes" value="Deportes"/>
    <parameter key="Mundo Animal" value="Mundo Animal"/>
    <parameter key="Reino Animal" value="Mundo Animal"/>
    </list>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.2.000" expanded="true" height="82" name="Genero (2)" width="90" x="447" y="442">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Genero"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="aggregate" compatibility="8.2.000" expanded="true" height="82" name="Aggregate" width="90" x="179" y="238">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Dia semana|ID_final"/>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.2.000" expanded="true" height="82" name="Dayweek (2)" width="90" x="313" y="238">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Dia semana"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="aggregate" compatibility="8.2.000" expanded="true" height="82" name="Aggregate (2)" width="90" x="179" y="340">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Franjas|ID_final"/>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.2.000" expanded="true" height="82" name="Franjas (3)" width="90" x="313" y="340">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Franjas"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="concurrency:join" compatibility="8.2.000" expanded="true" height="82" name="Join" width="90" x="581" y="289">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_final" value="ID_final"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="true" class="concurrency:join" compatibility="8.2.000" expanded="true" height="82" name="Join (2)" width="90" x="648" y="391">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_final_from_ES2" value="ID_final"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="true" class="replace_missing_values" compatibility="8.2.000" expanded="true" height="103" name="Replace Missing Values" width="90" x="782" y="391">
    <parameter key="attribute_filter_type" value="regular_expression"/>
    <parameter key="regular_expression" value="maximum.+"/>
    <parameter key="default" value="zero"/>
    <list key="columns"/>
    </operator>
    <operator activated="true" class="rename" compatibility="8.2.000" expanded="true" height="82" name="Rename (2)" width="90" x="916" y="391">
    <parameter key="old_name" value="maximum(Consumo_minutos)_Automóviles"/>
    <parameter key="new_name" value="ANY_Autos"/>
    <list key="rename_additional_attributes">
    <parameter key="maximum(Consumo_minutos)_Accion" value="ANY_Accion"/>
    <parameter key="maximum(Consumo_minutos)_Adultos" value="ANY_Adultos"/>
    <parameter key="maximum(Consumo_minutos)_Animacion" value="ANY_Animacion"/>
    <parameter key="maximum(Consumo_minutos)_Aventura" value="ANY_Aventura"/>
    <parameter key="maximum(Consumo_minutos)_Baile" value="ANY_Baile"/>
    <parameter key="maximum(Consumo_minutos)_Belleza" value="ANY_Belleza"/>
    <parameter key="maximum(Consumo_minutos)_Box" value="ANY_Box"/>
    <parameter key="maximum(Consumo_minutos)_Caricaturas" value="ANY_Caricaturas"/>
    <parameter key="maximum(Consumo_minutos)_Ciclismo" value="ANY_Ciclismo"/>
    <parameter key="maximum(Consumo_minutos)_Ciencia ficcion" value="ANY_Ciencia ficcion"/>
    <parameter key="maximum(Consumo_minutos)_Cocina" value="ANY_Cocina"/>
    <parameter key="maximum(Consumo_minutos)_Comedia" value="ANY_Comedia"/>
    <parameter key="maximum(Consumo_minutos)_Concurso" value="ANY_Concurso"/>
    <parameter key="maximum(Consumo_minutos)_Crimen" value="ANY_Crimen"/>
    <parameter key="maximum(Consumo_minutos)_Deportes" value="ANY_Deportes"/>
    <parameter key="maximum(Consumo_minutos)_Documental" value="ANY_Documental"/>
    <parameter key="maximum(Consumo_minutos)_Drama" value="ANY_Drama"/>
    <parameter key="maximum(Consumo_minutos)_Educativo" value="ANY_Educativo"/>
    <parameter key="maximum(Consumo_minutos)_Entretenimiento" value="ANY_Entretenimiento"/>
    <parameter key="maximum(Consumo_minutos)_Espectáculos" value="ANY_Espectaculos"/>
    <parameter key="maximum(Consumo_minutos)_Familiar" value="ANY_Familiar"/>
    <parameter key="maximum(Consumo_minutos)_Fantasía" value="ANY_Fantasia"/>
    <parameter key="maximum(Consumo_minutos)_Futbol Soccer" value="ANY_Futbol"/>
    <parameter key="maximum(Consumo_minutos)_Horror" value="ANY_Horror"/>
    <parameter key="maximum(Consumo_minutos)_Infantil" value="ANY_Infantil"/>
    <parameter key="maximum(Consumo_minutos)_Informativo" value="ANY_Informativo"/>
    <parameter key="maximum(Consumo_minutos)_Investigación" value="ANY_Investigacion"/>
    <parameter key="maximum(Consumo_minutos)_Lucha Libre" value="ANY_Lucha libre"/>
    <parameter key="maximum(Consumo_minutos)_Melodrama" value="ANY_Melodrama"/>
    <parameter key="maximum(Consumo_minutos)_Mundo animal" value="ANY_Mundo animal"/>
    <parameter key="maximum(Consumo_minutos)_Musical" value="ANY_Musical"/>
    <parameter key="maximum(Consumo_minutos)_Noticias" value="ANY_Noticias"/>
    <parameter key="maximum(Consumo_minutos)_Publicidad" value="ANY_Publicidad"/>
    <parameter key="maximum(Consumo_minutos)_Reality TV" value="ANY_Reality"/>
    <parameter key="maximum(Consumo_minutos)_Religión" value="ANY_Religion"/>
    <parameter key="maximum(Consumo_minutos)_Romance" value="ANY_Romance"/>
    <parameter key="maximum(Consumo_minutos)_Serie Animada" value="ANY_Serie animada"/>
    <parameter key="maximum(Consumo_minutos)_Serie Infantil" value="ANY_Serie infantil"/>
    <parameter key="maximum(Consumo_minutos)_Series" value="ANY_Series"/>
    <parameter key="maximum(Consumo_minutos)_Suspenso" value="ANY_Suspenso"/>
    <parameter key="maximum(Consumo_minutos)_Terror" value="ANY_Terror"/>
    <parameter key="maximum(Consumo_minutos)_Tv-show" value="ANY_Show"/>
    <parameter key="maximum(Consumo_minutos)_Fin de semana" value="ANY_FS"/>
    <parameter key="maximum(Consumo_minutos)_Entre semana" value="ANY_ES"/>
    <parameter key="maximum(Consumo_minutos)_AAA" value="ANY_AAA"/>
    <parameter key="maximum(Consumo_minutos)_AA" value="ANY_AA"/>
    <parameter key="maximum(Consumo_minutos)_A" value="ANY_A"/>
    <parameter key="maximum(Consumo_minutos)_ON" value="ANY_ON"/>
    </list>
    </operator>
    <operator activated="true" class="set_role" compatibility="8.2.000" expanded="true" height="82" name="Set Role (4)" width="90" x="1184" y="391">
    <parameter key="attribute_name" value="ID_final"/>
    <parameter key="target_role" value="id"/>
    <list key="set_additional_roles">
    <parameter key="ID_final_from_ES2" value="id"/>
    <parameter key="ID_final_from_ES2_from_ES2" value="id"/>
    </list>
    </operator>
    <operator activated="true" class="store" compatibility="8.2.000" expanded="true" height="68" name="Store (4)" width="90" x="1318" y="391">
    <parameter key="repository_entry" value="Offline data ok para clusters/any_para_cluster"/>
    </operator>
    <connect from_op="Retrieve anytime_partitioned_limpia" from_port="output" to_op="Select Attributes" to_port="example set input"/>
    <connect from_op="Select Attributes" from_port="example set output" to_op="Generate Attributes" to_port="example set input"/>
    <connect from_op="Generate Attributes" from_port="example set output" to_op="Generate Attributes (14)" to_port="example set input"/>
    <connect from_op="Generate Attributes (14)" from_port="example set output" to_op="Nominal to Numerical" to_port="example set input"/>
    <connect from_op="Nominal to Numerical" from_port="example set output" to_op="Generate Attributes (2)" to_port="example set input"/>
    <connect from_op="Generate Attributes (2)" from_port="example set output" to_op="Nominal to Date" to_port="example set input"/>
    <connect from_op="Nominal to Date" from_port="example set output" to_op="Date to Numerical" to_port="example set input"/>
    <connect from_op="Date to Numerical" from_port="example set output" to_op="Numerical to Polynominal (4)" to_port="example set input"/>
    <connect from_op="Numerical to Polynominal (4)" from_port="example set output" to_op="Map (5)" to_port="example set input"/>
    <connect from_op="Map (5)" 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" to_port="example set input"/>
    <connect from_op="Rename" from_port="example set output" to_op="Multiply" to_port="input"/>
    <connect from_op="Multiply" from_port="output 1" to_op="Aggregate (2)" to_port="example set input"/>
    <connect from_op="Multiply" from_port="output 2" to_op="Aggregate" to_port="example set input"/>
    <connect from_op="Multiply" from_port="output 3" to_op="Aggregate (3)" to_port="example set input"/>
    <connect from_op="Aggregate (3)" from_port="example set output" to_op="Map" to_port="example set input"/>
    <connect from_op="Map" from_port="example set output" to_op="Genero (2)" to_port="example set input"/>
    <connect from_op="Genero (2)" from_port="example set output" to_op="Join (2)" to_port="right"/>
    <connect from_op="Aggregate" from_port="example set output" to_op="Dayweek (2)" to_port="example set input"/>
    <connect from_op="Dayweek (2)" from_port="example set output" to_op="Join" to_port="left"/>
    <connect from_op="Aggregate (2)" from_port="example set output" to_op="Franjas (3)" to_port="example set input"/>
    <connect from_op="Franjas (3)" from_port="example set output" to_op="Join" to_port="right"/>
    <connect from_op="Join" from_port="join" to_op="Join (2)" to_port="left"/>
    <connect from_op="Join (2)" from_port="join" to_op="Replace Missing Values" to_port="example set input"/>
    <connect from_op="Replace Missing Values" 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="Set Role (4)" to_port="example set input"/>
    <connect from_op="Set Role (4)" from_port="example set output" to_op="Store (4)" to_port="input"/>
    <connect from_op="Store (4)" from_port="through" to_port="result 1"/>
    <portSpacing port="source_input 1" spacing="0"/>
    <portSpacing port="sink_result 1" spacing="0"/>
    <portSpacing port="sink_result 2" spacing="0"/>
    <description align="center" color="yellow" colored="false" height="120" resized="false" width="180" x="1280" y="224">anytime</description>
    </process>
    </operator>
    </process>

    Regards,

     

     

    Lionel

     

     

     

Answers

  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn

    Hi @sebastian_gonza,

     

    Try to go in the menu : 

    Process --> Check Synchronize Meta Data with Real Data

     

    If it is not working could you share your process and your dataset(s) ?

     

    Regards,

     

    Lionel

     

  • Options
    sebastian_gonzasebastian_gonza RapidMiner Certified Analyst, Member Posts: 52 Guru
    <?xml version="1.0" encoding="UTF-8"?><process version="8.1.003">
    <context>
    <input/>
    <output/>
    <macros/>
    </context>
    <operator activated="true" class="process" compatibility="8.1.003" expanded="true" name="Process">
    <process expanded="true">
    <operator activated="true" class="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve anytime_partitioned_limpia" width="90" x="45" y="34">
    <parameter key="repository_entry" value="//Local Repository/Offline data/anytime_partitioned_limpia"/>
    </operator>
    <operator activated="true" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes" width="90" x="179" y="34">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="bda_contract|dba_genre|dba_hr_start|dba_hr_end|fecha_hr_inicio|fecha_hr_fin|cambio_prog|dba_duration"/>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes" width="90" x="313" y="34">
    <list key="function_descriptions">
    <parameter key="Dur_minutos" value="dba_duration/60"/>
    <parameter key="hora_inicio_ok" value="cut(dba_hr_start,0,2)"/>
    <parameter key="ID" value="replace(bda_contract,&quot;.&quot;,&quot;&quot;)"/>
    </list>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (14)" width="90" x="447" y="34">
    <list key="function_descriptions">
    <parameter key="ID_ok" value="if(length(ID)==9,concat(&quot;0&quot;,ID),ID)"/>
    </list>
    </operator>
    <operator activated="true" class="nominal_to_numerical" compatibility="8.1.003" expanded="true" height="103" name="Nominal to Numerical" width="90" x="581" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="hora_inicio_ok"/>
    <parameter key="coding_type" value="unique integers"/>
    <list key="comparison_groups"/>
    </operator>
    <operator activated="true" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (2)" width="90" x="715" y="34">
    <list key="function_descriptions">
    <parameter key="Franjas" value="if(hora_inicio_ok&gt;=6 &amp;&amp; hora_inicio_ok&lt;12,&quot;A&quot;,if(hora_inicio_ok&gt;=12 &amp;&amp; hora_inicio_ok&lt;18,&quot;AA&quot;,if(hora_inicio_ok&gt;=18 &amp;&amp; hora_inicio_ok&lt;24,&quot;AAA&quot;,&quot;ON&quot;)))"/>
    </list>
    </operator>
    <operator activated="true" class="nominal_to_date" compatibility="8.1.003" expanded="true" height="82" name="Nominal to Date" width="90" x="849" y="34">
    <parameter key="attribute_name" value="fecha_hr_inicio"/>
    <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/>
    </operator>
    <operator activated="true" class="date_to_numerical" compatibility="8.1.003" expanded="true" height="82" name="Date to Numerical" width="90" x="983" y="34">
    <parameter key="attribute_name" value="fecha_hr_inicio"/>
    <parameter key="time_unit" value="day"/>
    <parameter key="day_relative_to" value="week"/>
    </operator>
    <operator activated="true" class="numerical_to_polynominal" compatibility="8.1.003" expanded="true" height="82" name="Numerical to Polynominal (4)" width="90" x="1117" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_hr_inicio"/>
    </operator>
    <operator activated="false" class="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve items_granular" width="90" x="45" y="697">
    <parameter key="repository_entry" value="items_granular"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (3)" width="90" x="179" y="697">
    <list key="function_descriptions">
    <parameter key="ano" value="cut(fecha,0,4)"/>
    <parameter key="mes" value="cut(fecha,4,2)"/>
    <parameter key="dia" value="cut(fecha,6,2)"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (4)" width="90" x="313" y="697">
    <list key="function_descriptions">
    <parameter key="fecha_ok" value="concat(mes,&quot;/&quot;,dia,&quot;/&quot;,ano)"/>
    </list>
    </operator>
    <operator activated="false" class="nominal_to_date" compatibility="8.1.003" expanded="true" height="82" name="Nominal to Date (2)" width="90" x="447" y="697">
    <parameter key="attribute_name" value="fecha_ok"/>
    <parameter key="date_format" value="MM/dd/yyyy"/>
    </operator>
    <operator activated="false" class="date_to_numerical" compatibility="8.1.003" expanded="true" height="82" name="Date to Numerical (2)" width="90" x="581" y="697">
    <parameter key="attribute_name" value="fecha_ok"/>
    <parameter key="time_unit" value="day"/>
    <parameter key="day_relative_to" value="week"/>
    </operator>
    <operator activated="false" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map (4)" width="90" x="715" y="697">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="dia"/>
    <list key="value_mappings">
    <parameter key="1" value="Entre semana"/>
    <parameter key="2" value="Entre semana"/>
    <parameter key="3" value="Entre semana"/>
    <parameter key="4" value="Entre semana"/>
    <parameter key="5" value="Entre semana"/>
    <parameter key="6" value="Fin de semana"/>
    <parameter key="7" value="Fin de semana"/>
    </list>
    </operator>
    <operator activated="false" class="numerical_to_polynominal" compatibility="8.1.003" expanded="true" height="82" name="Numerical to Polynominal" width="90" x="849" y="697">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_ok"/>
    </operator>
    <operator activated="false" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map (2)" width="90" x="983" y="697">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_ok"/>
    <list key="value_mappings">
    <parameter key="1" value="Entre semana"/>
    <parameter key="2" value="Entre semana"/>
    <parameter key="3" value="Entre semana"/>
    <parameter key="4" value="Entre semana"/>
    <parameter key="5" value="Entre semana"/>
    <parameter key="6" value="Fin de semana"/>
    <parameter key="7" value="Fin de semana"/>
    </list>
    </operator>
    <operator activated="false" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map (6)" width="90" x="1117" y="697">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="data_"/>
    <list key="value_mappings">
    <parameter key="Coco" value="Coco"/>
    <parameter key="Coco " value="Coco"/>
    <parameter key="Gamefly" value="Gamefly"/>
    <parameter key="Game fly" value="Gamefly"/>
    <parameter key="Game FLY" value="Gamefly"/>
    <parameter key="GameFLY" value="Gamefly"/>
    <parameter key="Geo-tormenta" value="Geo tormenta"/>
    <parameter key="VOD infantiles" value="Infantiles"/>
    <parameter key="VOD infantil" value="Infantiles"/>
    <parameter key="Game Fly" value="Gamefly"/>
    <parameter key="Gamefly " value="Gamefly"/>
    <parameter key="Geo-Tormenta" value="Geo tormenta"/>
    <parameter key="Fox_play" value="Fox play"/>
    <parameter key="Foxplay" value="Fox play"/>
    <parameter key="Gamefly " value="Game fly"/>
    <parameter key="GameFLY " value="Game fly"/>
    <parameter key="Infantiles" value="Infantiles"/>
    <parameter key="Geo tormenta" value="Geo tormenta"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (5)" width="90" x="1318" y="697">
    <list key="function_descriptions">
    <parameter key="Franjas" value="if(hora&gt;=6 &amp;&amp; hora&lt;12,&quot;A&quot;,if(hora&gt;=12 &amp;&amp; hora&lt;18,&quot;AA&quot;,if(hora&gt;=18 &amp;&amp; hora&lt;24,&quot;AAA&quot;,&quot;ON&quot;)))"/>
    </list>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (3)" width="90" x="1452" y="697">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Franjas|cluster_|data_|dia|numero_veces_ocupado|plan|fecha_ok"/>
    </operator>
    <operator activated="false" class="multiply" compatibility="8.1.003" expanded="true" height="145" name="Multiply (2)" width="90" x="45" y="952"/>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (7)" width="90" x="179" y="1309">
    <list key="aggregation_attributes">
    <parameter key="numero_veces_ocupado" value="average"/>
    </list>
    <parameter key="group_by_attributes" value="cluster_|data_"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Canal (2)" width="90" x="380" y="1309">
    <parameter key="group_attribute" value="cluster_"/>
    <parameter key="index_attribute" value="data_"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (6)" width="90" x="179" y="1156">
    <list key="aggregation_attributes">
    <parameter key="numero_veces_ocupado" value="average"/>
    </list>
    <parameter key="group_by_attributes" value="cluster_|plan"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Plan" width="90" x="380" y="1156">
    <parameter key="group_attribute" value="cluster_"/>
    <parameter key="index_attribute" value="plan"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (4)" width="90" x="179" y="850">
    <list key="aggregation_attributes">
    <parameter key="numero_veces_ocupado" value="average"/>
    </list>
    <parameter key="group_by_attributes" value="cluster_|Franjas"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (5)" width="90" x="179" y="1003">
    <list key="aggregation_attributes">
    <parameter key="numero_veces_ocupado" value="average"/>
    </list>
    <parameter key="group_by_attributes" value="cluster_|fecha_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Dayweek" width="90" x="380" y="1003">
    <parameter key="group_attribute" value="cluster_"/>
    <parameter key="index_attribute" value="fecha_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Franjas (2)" width="90" x="380" y="850">
    <parameter key="group_attribute" value="cluster_"/>
    <parameter key="index_attribute" value="Franjas"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (3)" width="90" x="648" y="901">
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="cluster_" value="cluster_"/>
    </list>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (4)" width="90" x="782" y="1054">
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="cluster_" value="cluster_"/>
    </list>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (5)" width="90" x="916" y="1207">
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="cluster_" value="cluster_"/>
    </list>
    </operator>
    <operator activated="false" class="replace_missing_values" compatibility="8.1.003" expanded="true" height="103" name="Replace Missing Values (2)" width="90" x="1117" y="1207">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="average(numero_veces_ocupado)_¡Madre!|average(numero_veces_ocupado)_scooby y batman|average(numero_veces_ocupado)_el tamaño si importa|average(numero_veces_ocupado)_YouTube|average(numero_veces_ocupado)_Warriors vs Kings|average(numero_veces_ocupado)_VOD infantil|average(numero_veces_ocupado)_VOD Infantiles|average(numero_veces_ocupado)_Tunein|average(numero_veces_ocupado)_Tiësto - Clublife 500|average(numero_veces_ocupado)_Tijuana vs. UNAM|average(numero_veces_ocupado)_The history of us|average(numero_veces_ocupado)_The Handmaid´s Tale|average(numero_veces_ocupado)_TRIPLE PLAY|average(numero_veces_ocupado)_Soccer Total|average(numero_veces_ocupado)_Rockets vs Cavaliers|average(numero_veces_ocupado)_PRM Nick Play|average(numero_veces_ocupado)_PRM APP MTV|average(numero_veces_ocupado)_PRM AMERICAN CRIME VERSACE TRIVIA|average(numero_veces_ocupado)_Nickelodeon|average(numero_veces_ocupado)_Netflix|average(numero_veces_ocupado)_NCIS|average(numero_veces_ocupado)_Media Center|average(numero_veces_ocupado)_Mas alla de la montaña|average(numero_veces_ocupado)_MTV|average(numero_veces_ocupado)_Liga de la justicia|average(numero_veces_ocupado)_La estrella de Belén|average(numero_veces_ocupado)_La cordillera|average(numero_veces_ocupado)_Juventus vs. Tottenham|average(numero_veces_ocupado)_Jumanji|average(numero_veces_ocupado)_Jigsaw: El Juego Continúa|average(numero_veces_ocupado)_Internet Total|average(numero_veces_ocupado)_IT (ESO)|average(numero_veces_ocupado)_Horoscopos|average(numero_veces_ocupado)_Geo-Tormenta|average(numero_veces_ocupado)_Gamefly|average(numero_veces_ocupado)_GameFly|average(numero_veces_ocupado)_Game fly|average(numero_veces_ocupado)_Game Fly|average(numero_veces_ocupado)_GEO TORMENTA|average(numero_veces_ocupado)_FoxPlay|average(numero_veces_ocupado)_Fox Play|average(numero_veces_ocupado)_FOX V3 Prueba|average(numero_veces_ocupado)_FOX App|average(numero_veces_ocupado)_El rebelde oculto|average(numero_veces_ocupado)_El castillo de cristal|average(numero_veces_ocupado)_Edo de cuenta|average(numero_veces_ocupado)_EMPRESARIAL TRIPLE PLAY|average(numero_veces_ocupado)_Discovery Kids App|average(numero_veces_ocupado)_Discovery Kids|average(numero_veces_ocupado)_Deezer|average(numero_veces_ocupado)_DOBLE PLAY TELEVISION|average(numero_veces_ocupado)_DOBLE PLAY TELEFONIA|average(numero_veces_ocupado)_Crackle|average(numero_veces_ocupado)_Como Cortar a tu patán|average(numero_veces_ocupado)_Comedy Central|average(numero_veces_ocupado)_Coco |average(numero_veces_ocupado)_Coco|average(numero_veces_ocupado)_Clima Mundial|average(numero_veces_ocupado)_Cbeebies|average(numero_veces_ocupado)_CBeebies App|average(numero_veces_ocupado)_Asesinato en el expreso oriente|average(numero_veces_ocupado)"/>
    <parameter key="default" value="zero"/>
    <list key="columns"/>
    </operator>
    <operator activated="false" class="rename" compatibility="8.1.003" expanded="true" height="82" name="Rename (4)" width="90" x="1251" y="1207">
    <parameter key="old_name" value="average(numero_veces_ocupado)_Asesinato en el expreso oriente"/>
    <parameter key="new_name" value="asesinato en el expreso oriente"/>
    <list key="rename_additional_attributes">
    <parameter key="average(numero_veces_ocupado)_CBeebies App" value="cbeebies app"/>
    <parameter key="average(numero_veces_ocupado)_Cbeebies" value="cbeebies"/>
    <parameter key="average(numero_veces_ocupado)_Clima Mundial" value="clima mundial"/>
    <parameter key="average(numero_veces_ocupado)_Coco" value="coco"/>
    <parameter key="average(numero_veces_ocupado)_Comedy Central" value="comedy central"/>
    <parameter key="average(numero_veces_ocupado)_Como Cortar a tu patán" value="como cortar a tu patan"/>
    <parameter key="average(numero_veces_ocupado)_Crackle" value="crackle"/>
    <parameter key="average(numero_veces_ocupado)_DOBLE PLAY TELEFONIA" value="doble play telefonia"/>
    <parameter key="average(numero_veces_ocupado)_DOBLE PLAY TELEVISION" value="doble play television"/>
    <parameter key="average(numero_veces_ocupado)_Deezer" value="deezer"/>
    <parameter key="average(numero_veces_ocupado)_Discovery Kids" value="discovery kids"/>
    <parameter key="average(numero_veces_ocupado)_Discovery Kids App" value="discovery kids app"/>
    <parameter key="average(numero_veces_ocupado)_EMPRESARIAL TRIPLE PLAY" value="empresarial triple play"/>
    <parameter key="average(numero_veces_ocupado)_Edo de cuenta" value="estado de cuenta"/>
    <parameter key="average(numero_veces_ocupado)_El castillo de cristal" value="el castillo de cristal"/>
    <parameter key="average(numero_veces_ocupado)_El rebelde oculto" value="el rebelde oculto"/>
    <parameter key="average(numero_veces_ocupado)_FOX App" value="fox app"/>
    <parameter key="average(numero_veces_ocupado)_FOX V3 Prueba" value="fox v3 prueba"/>
    <parameter key="average(numero_veces_ocupado)_Fox Play" value="fox play"/>
    <parameter key="average(numero_veces_ocupado)_GEO TORMENTA" value="geo tormenta"/>
    <parameter key="average(numero_veces_ocupado)_Horoscopos" value="Horoscopos"/>
    <parameter key="average(numero_veces_ocupado)_IT (ESO)" value="eso"/>
    <parameter key="average(numero_veces_ocupado)_Internet Total" value="Internet total"/>
    <parameter key="average(numero_veces_ocupado)_Jigsaw: El Juego Continúa" value="Jigsaw"/>
    <parameter key="average(numero_veces_ocupado)_Jumanji" value="Jumanji"/>
    <parameter key="average(numero_veces_ocupado)_Juventus vs. Tottenham" value="Juventus vs tottenham"/>
    <parameter key="average(numero_veces_ocupado)_La cordillera" value="la cordillera"/>
    <parameter key="average(numero_veces_ocupado)_La estrella de Belén" value="la estrella de belen"/>
    <parameter key="average(numero_veces_ocupado)_Liga de la justicia" value="liga de la justicia"/>
    <parameter key="average(numero_veces_ocupado)_MTV" value="mtv"/>
    <parameter key="average(numero_veces_ocupado)_Mas alla de la montaña" value="mas alla de la montaña"/>
    <parameter key="average(numero_veces_ocupado)_Media Center" value="Media center"/>
    <parameter key="average(numero_veces_ocupado)_NCIS" value="ncis"/>
    <parameter key="average(numero_veces_ocupado)_Netflix" value="netflix"/>
    <parameter key="average(numero_veces_ocupado)_Nickelodeon" value="nick"/>
    <parameter key="average(numero_veces_ocupado)_PRM AMERICAN CRIME VERSACE TRIVIA" value="prm american crime"/>
    <parameter key="average(numero_veces_ocupado)_PRM APP MTV" value="prm app mtv"/>
    <parameter key="average(numero_veces_ocupado)_PRM Nick Play" value="prm nickplay"/>
    <parameter key="average(numero_veces_ocupado)_Rockets vs Cavaliers" value="rockets vs cavaliers"/>
    <parameter key="average(numero_veces_ocupado)_Soccer Total" value="soccer total"/>
    <parameter key="average(numero_veces_ocupado)_TRIPLE PLAY" value="triple play"/>
    <parameter key="average(numero_veces_ocupado)_The Handmaid´s Tale" value="the handmaids tale"/>
    <parameter key="average(numero_veces_ocupado)_The history of us" value="the history of us"/>
    <parameter key="average(numero_veces_ocupado)_Tijuana vs. UNAM" value="tijuana vs unam"/>
    <parameter key="average(numero_veces_ocupado)_Tiësto - Clublife 500" value="tiesto clublife"/>
    <parameter key="average(numero_veces_ocupado)_Tunein" value="tunein"/>
    <parameter key="average(numero_veces_ocupado)_VOD Infantiles" value="vod infantiles"/>
    <parameter key="average(numero_veces_ocupado)_Warriors vs Kings" value="warriors vs kings"/>
    <parameter key="average(numero_veces_ocupado)_YouTube" value="youtube"/>
    <parameter key="average(numero_veces_ocupado)_el tamaño si importa" value="el tamaño si importa"/>
    <parameter key="average(numero_veces_ocupado)_scooby y batman" value="scooby y batman"/>
    <parameter key="average(numero_veces_ocupado)_¡Madre!" value="madre"/>
    <parameter key="average(numero_veces_ocupado)_GameFly" value="Game fly1"/>
    <parameter key="average(numero_veces_ocupado)_FoxPlay" value="Fox Play"/>
    <parameter key="average(numero_veces_ocupado)_A" value="A"/>
    <parameter key="average(numero_veces_ocupado)_AA" value="AA"/>
    <parameter key="average(numero_veces_ocupado)_AAA" value="AAA"/>
    <parameter key="average(numero_veces_ocupado)_ON" value="ON"/>
    <parameter key="average(numero_veces_ocupado)_Entre semana" value="Entre semana"/>
    <parameter key="average(numero_veces_ocupado)_Fin de semana" value="Fin de semana"/>
    <parameter key="average(numero_veces_ocupado)_?" value="TBD"/>
    </list>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (8)" width="90" x="1385" y="1207">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="asesinato en el expreso oriente|Media center|Juventus vs tottenham|Jumanji|Jigsaw|Internet total|Horoscopos|Game fly1|Fox Play|youtube|warriors vs kings|vod infantiles|tunein|triple play|tijuana vs unam|tiesto clublife|the history of us|the handmaids tale|soccer total|scooby y batman|rockets vs cavaliers|prm nickplay|prm app mtv|prm american crime|nick|netflix|ncis|mtv|mas alla de la montaña|madre|liga de la justicia|la estrella de belen|la cordillera|geo tormenta|fox v3 prueba|fox play|fox app|estado de cuenta|eso|empresarial triple play|el tamaño si importa|el rebelde oculto|el castillo de cristal|doble play television|doble play telefonia|discovery kids app|discovery kids|deezer|crackle|como cortar a tu patan|comedy central|coco|cluster_|clima mundial|cbeebies app|cbeebies"/>
    </operator>
    <operator activated="false" class="store" compatibility="8.1.003" expanded="true" height="68" name="Store (3)" width="90" x="1586" y="1207">
    <parameter key="repository_entry" value="Offline data ok para clusters/VOD_para_cluster"/>
    </operator>
    <operator activated="false" class="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve live-depuracion_snse_pl2" width="90" x="45" y="1564">
    <parameter key="repository_entry" value="live-depuracion_snse_pl2"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (6)" width="90" x="179" y="1564">
    <list key="function_descriptions">
    <parameter key="ano" value="cut(fecha,0,4)"/>
    <parameter key="mes" value="cut(fecha,4,2)"/>
    <parameter key="dia" value="cut(fecha,6,2)"/>
    <parameter key="ID" value="replace(cuenta,&quot;.&quot;,&quot;&quot;)"/>
    </list>
    </operator>
    <operator activated="true" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map (5)" width="90" x="1251" y="34">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_hr_inicio"/>
    <list key="value_mappings">
    <parameter key="1" value="Entre semana"/>
    <parameter key="2" value="Entre semana"/>
    <parameter key="3" value="Entre semana"/>
    <parameter key="4" value="Entre semana"/>
    <parameter key="5" value="Entre semana"/>
    <parameter key="6" value="Fin de semana"/>
    <parameter key="7" value="Fin de semana"/>
    </list>
    </operator>
    <operator activated="true" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (2)" width="90" x="1385" y="34">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Dur_minutos|Franjas|ID|bda_contract|cambio_prog|dba_genre|fecha_hr_inicio|ID_ok"/>
    </operator>
    <operator activated="true" class="rename" compatibility="8.1.003" expanded="true" height="82" name="Rename" width="90" x="1117" y="187">
    <parameter key="old_name" value="Dur_minutos"/>
    <parameter key="new_name" value="Consumo_minutos"/>
    <list key="rename_additional_attributes">
    <parameter key="bda_contract" value="ID_final"/>
    <parameter key="cambio_prog" value="Cambio_programa"/>
    <parameter key="dba_genre" value="Genero"/>
    <parameter key="fecha_hr_inicio" value="Dia semana"/>
    </list>
    </operator>
    <operator activated="true" class="multiply" compatibility="8.1.003" expanded="true" height="124" name="Multiply" width="90" x="45" y="238"/>
    <operator activated="true" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (3)" width="90" x="179" y="442">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Genero|ID_final"/>
    </operator>
    <operator activated="true" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map" width="90" x="313" y="442">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="Genero"/>
    <list key="value_mappings">
    <parameter key="Animación" value="Animacion"/>
    <parameter key="Animacion" value="Animacion"/>
    <parameter key="Infinity" value="Infinity"/>
    <parameter key="-Infinity" value="Infinity"/>
    <parameter key="Deporte" value="Deportes"/>
    <parameter key="Deportes" value="Deportes"/>
    <parameter key="Mundo Animal" value="Mundo Animal"/>
    <parameter key="Reino Animal" value="Mundo Animal"/>
    </list>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Genero (2)" width="90" x="447" y="442">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Genero"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate" width="90" x="179" y="238">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Dia semana|ID_final"/>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Dayweek (2)" width="90" x="313" y="238">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Dia semana"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (2)" width="90" x="179" y="340">
    <list key="aggregation_attributes">
    <parameter key="Consumo_minutos" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Franjas|ID_final"/>
    </operator>
    <operator activated="true" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Franjas (3)" width="90" x="313" y="340">
    <parameter key="group_attribute" value="ID_final"/>
    <parameter key="index_attribute" value="Franjas"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="true" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join" width="90" x="581" y="289">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_final" value="ID_final"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="true" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (2)" width="90" x="648" y="391">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_final_from_ES2" value="ID_final"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="true" class="replace_missing_values" compatibility="8.1.003" expanded="true" height="103" name="Replace Missing Values" width="90" x="782" y="391">
    <parameter key="attribute_filter_type" value="regular_expression"/>
    <parameter key="regular_expression" value="maximum.+"/>
    <parameter key="default" value="zero"/>
    <list key="columns"/>
    </operator>
    <operator activated="true" class="rename" compatibility="8.1.003" expanded="true" height="82" name="Rename (2)" width="90" x="916" y="391">
    <parameter key="old_name" value="maximum(Consumo_minutos)_Automóviles"/>
    <parameter key="new_name" value="ANY_Autos"/>
    <list key="rename_additional_attributes">
    <parameter key="maximum(Consumo_minutos)_Accion" value="ANY_Accion"/>
    <parameter key="maximum(Consumo_minutos)_Adultos" value="ANY_Adultos"/>
    <parameter key="maximum(Consumo_minutos)_Animacion" value="ANY_Animacion"/>
    <parameter key="maximum(Consumo_minutos)_Aventura" value="ANY_Aventura"/>
    <parameter key="maximum(Consumo_minutos)_Baile" value="ANY_Baile"/>
    <parameter key="maximum(Consumo_minutos)_Belleza" value="ANY_Belleza"/>
    <parameter key="maximum(Consumo_minutos)_Box" value="ANY_Box"/>
    <parameter key="maximum(Consumo_minutos)_Caricaturas" value="ANY_Caricaturas"/>
    <parameter key="maximum(Consumo_minutos)_Ciclismo" value="ANY_Ciclismo"/>
    <parameter key="maximum(Consumo_minutos)_Ciencia ficcion" value="ANY_Ciencia ficcion"/>
    <parameter key="maximum(Consumo_minutos)_Cocina" value="ANY_Cocina"/>
    <parameter key="maximum(Consumo_minutos)_Comedia" value="ANY_Comedia"/>
    <parameter key="maximum(Consumo_minutos)_Concurso" value="ANY_Concurso"/>
    <parameter key="maximum(Consumo_minutos)_Crimen" value="ANY_Crimen"/>
    <parameter key="maximum(Consumo_minutos)_Deportes" value="ANY_Deportes"/>
    <parameter key="maximum(Consumo_minutos)_Documental" value="ANY_Documental"/>
    <parameter key="maximum(Consumo_minutos)_Drama" value="ANY_Drama"/>
    <parameter key="maximum(Consumo_minutos)_Educativo" value="ANY_Educativo"/>
    <parameter key="maximum(Consumo_minutos)_Entretenimiento" value="ANY_Entretenimiento"/>
    <parameter key="maximum(Consumo_minutos)_Espectáculos" value="ANY_Espectaculos"/>
    <parameter key="maximum(Consumo_minutos)_Familiar" value="ANY_Familiar"/>
    <parameter key="maximum(Consumo_minutos)_Fantasía" value="ANY_Fantasia"/>
    <parameter key="maximum(Consumo_minutos)_Futbol Soccer" value="ANY_Futbol"/>
    <parameter key="maximum(Consumo_minutos)_Horror" value="ANY_Horror"/>
    <parameter key="maximum(Consumo_minutos)_Infantil" value="ANY_Infantil"/>
    <parameter key="maximum(Consumo_minutos)_Informativo" value="ANY_Informativo"/>
    <parameter key="maximum(Consumo_minutos)_Investigación" value="ANY_Investigacion"/>
    <parameter key="maximum(Consumo_minutos)_Lucha Libre" value="ANY_Lucha libre"/>
    <parameter key="maximum(Consumo_minutos)_Melodrama" value="ANY_Melodrama"/>
    <parameter key="maximum(Consumo_minutos)_Mundo animal" value="ANY_Mundo animal"/>
    <parameter key="maximum(Consumo_minutos)_Musical" value="ANY_Musical"/>
    <parameter key="maximum(Consumo_minutos)_Noticias" value="ANY_Noticias"/>
    <parameter key="maximum(Consumo_minutos)_Publicidad" value="ANY_Publicidad"/>
    <parameter key="maximum(Consumo_minutos)_Reality TV" value="ANY_Reality"/>
    <parameter key="maximum(Consumo_minutos)_Religión" value="ANY_Religion"/>
    <parameter key="maximum(Consumo_minutos)_Romance" value="ANY_Romance"/>
    <parameter key="maximum(Consumo_minutos)_Serie Animada" value="ANY_Serie animada"/>
    <parameter key="maximum(Consumo_minutos)_Serie Infantil" value="ANY_Serie infantil"/>
    <parameter key="maximum(Consumo_minutos)_Series" value="ANY_Series"/>
    <parameter key="maximum(Consumo_minutos)_Suspenso" value="ANY_Suspenso"/>
    <parameter key="maximum(Consumo_minutos)_Terror" value="ANY_Terror"/>
    <parameter key="maximum(Consumo_minutos)_Tv-show" value="ANY_Show"/>
    <parameter key="maximum(Consumo_minutos)_Fin de semana" value="ANY_FS"/>
    <parameter key="maximum(Consumo_minutos)_Entre semana" value="ANY_ES"/>
    <parameter key="maximum(Consumo_minutos)_AAA" value="ANY_AAA"/>
    <parameter key="maximum(Consumo_minutos)_AA" value="ANY_AA"/>
    <parameter key="maximum(Consumo_minutos)_AAA" value="ANY_A"/>
    <parameter key="maximum(Consumo_minutos)_ON" value="ANY_ON"/>
    </list>
    </operator>
    <operator activated="true" class="set_role" compatibility="8.1.003" expanded="true" height="82" name="Set Role (4)" width="90" x="1050" y="391">
    <parameter key="attribute_name" value="ID_final"/>
    <parameter key="target_role" value="id"/>
    <list key="set_additional_roles">
    <parameter key="ID_final_from_ES2" value="id"/>
    <parameter key="ID_final_from_ES2_from_ES2" value="id"/>
    </list>
    </operator>
    <operator activated="true" class="store" compatibility="8.1.003" expanded="true" height="68" name="Store (4)" width="90" x="1184" y="391">
    <parameter key="repository_entry" value="Offline data ok para clusters/any_para_cluster"/>
    </operator>
    <operator activated="false" class="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve TP_Cartera_Clientes_20180503" width="90" x="45" y="2380">
    <parameter key="repository_entry" value="TP_cartera_sample"/>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (5)" width="90" x="179" y="2380">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="CUENTA|RENTA|RENTA_ADICIONAL|SALDO_SERV|SCORE|SEGMENTO|SEGMENTO_ATRASO|SEMANAS_ATRASO|SERVICIOS_ACTIVOS|SERVICIOS_DESACTIVOS|TOTAL_CARTERA"/>
    </operator>
    <operator activated="false" class="numerical_to_polynominal" compatibility="8.1.003" expanded="true" height="82" name="Numerical to Polynominal (3)" width="90" x="313" y="2380">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="CUENTA"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (16)" width="90" x="447" y="2380">
    <list key="function_descriptions">
    <parameter key="ID" value="replace(CUENTA,&quot;.&quot;,&quot;&quot;)"/>
    <parameter key="ID_ok" value="if(length(ID)==9,concat(&quot;0&quot;,ID),ID)"/>
    </list>
    </operator>
    <operator activated="false" class="multiply" compatibility="8.1.003" expanded="true" height="208" name="Multiply (4)" width="90" x="715" y="2380"/>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Servicios desactivados (2)" width="90" x="916" y="2992">
    <list key="aggregation_attributes">
    <parameter key="TOTAL_CARTERA" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="ID_ok"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Servicios desactivados" width="90" x="916" y="2890">
    <list key="aggregation_attributes">
    <parameter key="SERVICIOS_DESACTIVOS" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="SERVICIOS_DESACTIVOS|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Pivot (3)" width="90" x="1050" y="2890">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="SERVICIOS_DESACTIVOS"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Servicios activos" width="90" x="916" y="2788">
    <list key="aggregation_attributes">
    <parameter key="SERVICIOS_ACTIVOS" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="SERVICIOS_ACTIVOS|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Pivot (2)" width="90" x="1050" y="2788">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="SERVICIOS_ACTIVOS"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Segmento atraso" width="90" x="916" y="2686">
    <list key="aggregation_attributes">
    <parameter key="SEGMENTO_ATRASO" value="count"/>
    </list>
    <parameter key="group_by_attributes" value="SEGMENTO_ATRASO|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Pivot" width="90" x="1050" y="2686">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="SEGMENTO_ATRASO"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Score" width="90" x="916" y="2584">
    <list key="aggregation_attributes">
    <parameter key="SCORE" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="RENTA|ID_ok"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Saldo servicio" width="90" x="916" y="2482">
    <list key="aggregation_attributes">
    <parameter key="SALDO_SERV" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="RENTA|ID_ok"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Renta Adicional" width="90" x="916" y="2380">
    <list key="aggregation_attributes">
    <parameter key="RENTA_ADICIONAL" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="RENTA|ID_ok"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (9)" width="90" x="1117" y="2380">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (10)" width="90" x="1251" y="2533">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (11)" width="90" x="1318" y="2686">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="join_type" value="left"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (12)" width="90" x="1452" y="2788">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="join_type" value="left"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2_from_ES2_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (13)" width="90" x="1519" y="2890">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="join_type" value="left"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2_from_ES2_from_ES2_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (14)" width="90" x="1653" y="2992">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="join_type" value="left"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2_from_ES2_from_ES2_from_ES2_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="retrieve" compatibility="8.1.003" expanded="true" height="68" name="Retrieve base_usuarios_201817" width="90" x="45" y="3247">
    <parameter key="repository_entry" value="base_usuarios_201817"/>
    </operator>
    <operator activated="false" class="rename" compatibility="8.1.003" expanded="true" height="82" name="Rename (5)" width="90" x="179" y="3247">
    <parameter key="old_name" value="col0"/>
    <parameter key="new_name" value="Origen"/>
    <list key="rename_additional_attributes">
    <parameter key="col3" value="Cuenta"/>
    <parameter key="col4" value="Cliente desde"/>
    <parameter key="col5" value="Cuenta cerrada"/>
    <parameter key="col6" value="TBD"/>
    <parameter key="col7" value="Estado cuenta"/>
    <parameter key="col8" value="Detalle estado"/>
    <parameter key="col10" value="Plan"/>
    <parameter key="col12" value="Estado Mexico"/>
    <parameter key="col15" value="Credito a favor"/>
    </list>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (6)" width="90" x="313" y="3247">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Cliente desde|Credito a favor|Cuenta|Cuenta cerrada|Detalle estado|Estado Mexico|Estado cuenta|Origen|Plan|TBD"/>
    </operator>
    <operator activated="false" class="nominal_to_date" compatibility="8.1.003" expanded="true" height="82" name="Nominal to Date (4)" width="90" x="447" y="3247">
    <parameter key="attribute_name" value="Cliente desde"/>
    <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/>
    </operator>
    <operator activated="false" class="replace" compatibility="8.1.003" expanded="true" height="82" name="Replace" width="90" x="581" y="3247">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="Cuenta cerrada"/>
    <parameter key="replace_what" value="NULL"/>
    <parameter key="replace_by" value="2018-05-29 00:00:00.000"/>
    </operator>
    <operator activated="false" class="nominal_to_date" compatibility="8.1.003" expanded="true" height="82" name="Nominal to Date (5)" width="90" x="715" y="3247">
    <parameter key="attribute_name" value="Cuenta cerrada"/>
    <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Estados de mexico" width="90" x="313" y="3910">
    <list key="aggregation_attributes">
    <parameter key="Rangos_duracion_cuenta_ok" value="count"/>
    </list>
    <parameter key="group_by_attributes" value="Cuenta|Estado Mexico"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Pivot (9)" width="90" x="447" y="3910">
    <parameter key="group_attribute" value="Cuenta"/>
    <parameter key="index_attribute" value="Estado Mexico"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (15)" width="90" x="313" y="1564">
    <list key="function_descriptions">
    <parameter key="ID_ok" value="if(length(ID)==9,concat(&quot;0&quot;,ID),ID)"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (7)" width="90" x="447" y="1564">
    <list key="function_descriptions">
    <parameter key="fecha_ok" value="concat(mes,&quot;/&quot;,dia,&quot;/&quot;,ano)"/>
    </list>
    </operator>
    <operator activated="false" class="nominal_to_date" compatibility="8.1.003" expanded="true" height="82" name="Nominal to Date (3)" width="90" x="581" y="1564">
    <parameter key="attribute_name" value="fecha_ok"/>
    <parameter key="date_format" value="MM/dd/yyyy"/>
    </operator>
    <operator activated="false" class="date_to_numerical" compatibility="8.1.003" expanded="true" height="82" name="Date to Numerical (3)" width="90" x="715" y="1564">
    <parameter key="attribute_name" value="fecha_ok"/>
    <parameter key="time_unit" value="day"/>
    <parameter key="day_relative_to" value="week"/>
    </operator>
    <operator activated="false" class="numerical_to_polynominal" compatibility="8.1.003" expanded="true" height="82" name="Numerical to Polynominal (2)" width="90" x="849" y="1564">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_ok"/>
    </operator>
    <operator activated="false" class="map" compatibility="8.1.003" expanded="true" height="82" name="Map (3)" width="90" x="983" y="1564">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="fecha_ok"/>
    <list key="value_mappings">
    <parameter key="1" value="Entre semana"/>
    <parameter key="2" value="Entre semana"/>
    <parameter key="3" value="Entre semana"/>
    <parameter key="4" value="Entre semana"/>
    <parameter key="5" value="Entre semana"/>
    <parameter key="6" value="Fin de semana"/>
    <parameter key="7" value="Fin de semana"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (8)" width="90" x="1117" y="1564">
    <list key="function_descriptions">
    <parameter key="Franjas" value="if(hora_inicio_1&gt;=6 &amp;&amp; hora_inicio_1&lt;12,&quot;A&quot;,if(hora_inicio_1&gt;=12 &amp;&amp; hora_inicio_1&lt;18,&quot;AA&quot;,if(hora_inicio_1&gt;=18 &amp;&amp; hora_inicio_1&lt;24,&quot;AAA&quot;,&quot;ON&quot;)))"/>
    <parameter key="Duracion_ok" value="duracion/60"/>
    </list>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (4)" width="90" x="1251" y="1564">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Duracion_ok|Franjas|canal|fecha_ok|genero|programa|ID_ok"/>
    </operator>
    <operator activated="false" class="set_role" compatibility="8.1.003" expanded="true" height="82" name="Set Role" width="90" x="1385" y="1564">
    <parameter key="attribute_name" value="ID_ok"/>
    <parameter key="target_role" value="id"/>
    <list key="set_additional_roles"/>
    </operator>
    <operator activated="false" class="multiply" compatibility="8.1.003" expanded="true" height="124" name="Multiply (3)" width="90" x="45" y="1768"/>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (11)" width="90" x="179" y="2176">
    <list key="aggregation_attributes">
    <parameter key="Duracion_ok" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="genero|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Genero" width="90" x="380" y="2176">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="genero"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (10)" width="90" x="179" y="2023">
    <list key="aggregation_attributes">
    <parameter key="Duracion_ok" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="fecha_ok|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Dia semana" width="90" x="380" y="2023">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="fecha_ok"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Aggregate (8)" width="90" x="179" y="1717">
    <list key="aggregation_attributes">
    <parameter key="Duracion_ok" value="maximum"/>
    </list>
    <parameter key="group_by_attributes" value="Franjas|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Franjas" width="90" x="380" y="1717">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="Franjas"/>
    <parameter key="skip_constant_attributes" value="false"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (7)" width="90" x="849" y="1921">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="concurrency:join" compatibility="8.1.003" expanded="true" height="82" name="Join (8)" width="90" x="1050" y="2074">
    <parameter key="remove_double_attributes" value="false"/>
    <parameter key="use_id_attribute_as_key" value="false"/>
    <list key="key_attributes">
    <parameter key="ID_ok_from_ES2" value="ID_ok"/>
    </list>
    <parameter key="keep_both_join_attributes" value="true"/>
    </operator>
    <operator activated="false" class="replace_missing_values" compatibility="8.1.003" expanded="true" height="103" name="Replace Missing Values (3)" width="90" x="1184" y="2074">
    <parameter key="attribute_filter_type" value="regular_expression"/>
    <parameter key="regular_expression" value="maximum.+"/>
    <parameter key="default" value="zero"/>
    <list key="columns"/>
    </operator>
    <operator activated="false" class="store" compatibility="8.1.003" expanded="true" height="68" name="Store (2)" width="90" x="1452" y="2074">
    <parameter key="repository_entry" value="Offline data ok para clusters/VOD_para_cluster"/>
    </operator>
    <operator activated="false" class="numerical_to_polynominal" compatibility="8.1.003" expanded="true" height="82" name="Numerical to Polynominal (5)" width="90" x="849" y="3247">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="Cuenta"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (9)" width="90" x="983" y="3247">
    <list key="function_descriptions">
    <parameter key="ID" value="replace(Cuenta,&quot;.&quot;,&quot;&quot;)"/>
    <parameter key="ID_ok" value="if(length(ID)==9,concat(&quot;0&quot;,ID),ID)"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Duracion cuenta cerrada" width="90" x="1117" y="3247">
    <list key="function_descriptions">
    <parameter key="Duracion_cuenta_cerrada" value="if(missing([Cuenta cerrada]),date_diff([Cliente desde],date_now()),date_diff([Cliente desde],[Cuenta cerrada]))"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (10)" width="90" x="1251" y="3247">
    <list key="function_descriptions">
    <parameter key="Duracion_cuenta_años" value="Duracion_cuenta_cerrada/31536000000"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (11)" width="90" x="1385" y="3247">
    <list key="function_descriptions">
    <parameter key="Rangos_duracion_cuenta" value="if([Duracion_cuenta_años]&gt;=0 &amp;&amp; [Duracion_cuenta_años] &lt;0.5,&quot;0.5 años&quot;,if([Duracion_cuenta_años]&gt;=0.5 &amp;&amp; [Duracion_cuenta_años] &lt;1,&quot;0.5-1 años&quot;,if([Duracion_cuenta_años]&gt;=1 &amp;&amp; [Duracion_cuenta_años] &lt;1.5,&quot;1-1.5 años&quot;,if([Duracion_cuenta_años]&gt;=1.5 &amp;&amp; [Duracion_cuenta_años] &lt;2,&quot;1.5-2 años&quot;,if([Duracion_cuenta_años]&gt;=2 &amp;&amp; [Duracion_cuenta_años] &lt;2.5,&quot;2-2.5 años&quot;,if([Duracion_cuenta_años]&gt;=2.5 &amp;&amp; [Duracion_cuenta_años] &lt;3,&quot;2.5-3 años&quot;,if([Duracion_cuenta_años]&gt;=3 &amp;&amp; [Duracion_cuenta_años] &lt;3.5,&quot;3-3.5 años&quot;,if([Duracion_cuenta_años]&gt;=3.5 &amp;&amp; [Duracion_cuenta_años] &lt;4,&quot;3.5-4 años&quot;,if([Duracion_cuenta_años]&gt;=4 &amp;&amp; [Duracion_cuenta_años] &lt;4.5,&quot;4-4.5 años&quot;,if([Duracion_cuenta_años]&gt;=4.5 &amp;&amp; [Duracion_cuenta_años] &lt;5,&quot;4.5-5 años&quot;,&quot;+ 5 años&quot;))))))))))"/>
    </list>
    </operator>
    <operator activated="false" class="date_to_nominal" compatibility="8.1.003" expanded="true" height="82" name="Date to Nominal" width="90" x="1519" y="3247">
    <parameter key="attribute_name" value="Cuenta cerrada"/>
    <parameter key="date_format" value="yyyy-MM-dd HH:mm:ss"/>
    </operator>
    <operator activated="false" class="replace" compatibility="8.1.003" expanded="true" height="82" name="Replace (2)" width="90" x="1653" y="3247">
    <parameter key="attribute_filter_type" value="single"/>
    <parameter key="attribute" value="Cuenta cerrada"/>
    <parameter key="replace_what" value="2018-05-29 00:00:00.000"/>
    <parameter key="replace_by" value="NULL"/>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (12)" width="90" x="1787" y="3247">
    <list key="function_descriptions">
    <parameter key="Rangos_duracion_cuenta_ok" value="if([Estado cuenta]==&quot;ACTIVO&quot;,&quot;Activa&quot;,Rangos_duracion_cuenta)"/>
    </list>
    </operator>
    <operator activated="false" class="generate_attributes" compatibility="8.1.003" expanded="true" height="82" name="Generate Attributes (13)" width="90" x="1921" y="3247">
    <list key="function_descriptions">
    <parameter key="Mes_de_cierre" value="cut([Cuenta cerrada],5,2)"/>
    </list>
    </operator>
    <operator activated="false" class="select_attributes" compatibility="8.1.003" expanded="true" height="82" name="Select Attributes (7)" width="90" x="45" y="3400">
    <parameter key="attribute_filter_type" value="subset"/>
    <parameter key="attributes" value="Credito a favor|Detalle estado|Estado Mexico|Estado cuenta|Mes_de_cierre|Origen|Plan|Rangos_duracion_cuenta_ok|ID_ok"/>
    </operator>
    <operator activated="false" class="multiply" compatibility="8.1.003" expanded="true" height="166" name="Multiply (5)" width="90" x="179" y="3400"/>
    <operator activated="false" class="aggregate" compatibility="8.1.003" expanded="true" height="82" name="Rangos duracion" width="90" x="313" y="3808">
    <list key="aggregation_attributes">
    <parameter key="Rangos_duracion_cuenta_ok" value="count"/>
    </list>
    <parameter key="group_by_attributes" value="Rangos_duracion_cuenta_ok|ID_ok"/>
    </operator>
    <operator activated="false" class="pivot" compatibility="8.1.003" expanded="true" height="82" name="Pivot (8)" width="90" x="447" y="3808">
    <parameter key="group_attribute" value="ID_ok"/>
    <parameter key="index_attribute" value="Rangos_duracion_cuenta_ok"/>
    </operator>
    <operator activated="false" c
  • Options
    kaymankayman Member Posts: 662 Unicorn

    Not really an answer to your problem, but you can also use the rename by replaceming operator. This way you can use a regex to replace all your new names with the short one. Just replace maximum(Consumo_minutos)_ with ANY, and all matching columns are replaced at the same time. Easier than keeping track of all your possible options...

  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn

    Hi @sebastian_gonza,

     

    to share your data file you can : 

     - create a zip archive and share here in the forum.

                                  OR

     - post your file on a cloud repository (Google Drive for example) and share the link.

     

    Regards,

     

    Lionel

  • Options
    sebastian_gonzasebastian_gonza RapidMiner Certified Analyst, Member Posts: 52 Guru

    Ok, here in zip 

     

    thks

  • Options
    sebastian_gonzasebastian_gonza RapidMiner Certified Analyst, Member Posts: 52 Guru

    Thank you Lionel

Sign In or Register to comment.