Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Developing svd from t-idf
A RapidMiner user wants to know the answer to this question: "Hey there. I'm trying to develop an svd from tf-idf, but when I go to the chart, I can't see the labels of the variables, only the numbers from svd. Does anybody know how to get to the labels? Thank you."
XML Process:
<?xml version="1.0" encoding="UTF-8"?><process version="9.2.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="9.2.000" expanded="true" name="Process"> <parameter key="logverbosity" value="init"/> <parameter key="random_seed" value="2001"/> <parameter key="send_mail" value="never"/> <parameter key="notification_email" value=""/> <parameter key="process_duration_for_mail" value="30"/> <parameter key="encoding" value="SYSTEM"/> <process expanded="true"> <operator activated="true" class="read_excel" compatibility="9.2.000" expanded="true" height="68" name="Read Excel" width="90" x="45" y="34"> <parameter key="excel_file" value="C:\Users\asus\hubiC\Máster\Máster GENI\18-19\Actividades\TF-IDF y SVD\MATRIZ T-D_Elena Rubio.xls"/> <parameter key="sheet_selection" value="sheet number"/> <parameter key="sheet_number" value="3"/> <parameter key="imported_cell_range" value="A1"/> <parameter key="encoding" value="SYSTEM"/> <parameter key="first_row_as_names" value="false"/> <list key="annotations"/> <parameter key="date_format" value=""/> <parameter key="time_zone" value="SYSTEM"/> <parameter key="locale" value="English (United States)"/> <parameter key="read_all_values_as_polynominal" value="false"/> <list key="data_set_meta_data_information"> <parameter key="0" value="A.true.polynominal.attribute"/> <parameter key="1" value="B.true.integer.attribute"/> <parameter key="2" value="C.true.integer.attribute"/> <parameter key="3" value="D.true.integer.attribute"/> <parameter key="4" value="E.true.integer.attribute"/> <parameter key="5" value="F.true.integer.attribute"/> <parameter key="6" value="G.true.integer.attribute"/> <parameter key="7" value="H.true.integer.attribute"/> </list> <parameter key="read_not_matching_values_as_missings" value="false"/> <parameter key="datamanagement" value="double_array"/> <parameter key="data_management" value="auto"/> </operator> <operator activated="true" class="generate_tfidf" compatibility="9.2.000" expanded="true" height="82" name="Generate TFIDF" width="90" x="179" y="34"> <parameter key="calculate_term_frequencies" value="true"/> </operator> <operator activated="true" class="nominal_to_numerical" compatibility="9.2.000" expanded="true" height="103" name="Nominal to Numerical" width="90" x="313" y="85"> <parameter key="return_preprocessing_model" value="false"/> <parameter key="create_view" value="false"/> <parameter key="attribute_filter_type" value="all"/> <parameter key="attribute" value=""/> <parameter key="attributes" value=""/> <parameter key="use_except_expression" value="false"/> <parameter key="value_type" value="nominal"/> <parameter key="use_value_type_exception" value="false"/> <parameter key="except_value_type" value="file_path"/> <parameter key="block_type" value="single_value"/> <parameter key="use_block_type_exception" value="false"/> <parameter key="except_block_type" value="single_value"/> <parameter key="invert_selection" value="false"/> <parameter key="include_special_attributes" value="false"/> <parameter key="coding_type" value="dummy coding"/> <parameter key="use_comparison_groups" value="false"/> <list key="comparison_groups"/> <parameter key="unexpected_value_handling" value="all 0 and warning"/> <parameter key="use_underscore_in_name" value="false"/> </operator> <operator activated="true" class="singular_value_decomposition" compatibility="9.2.000" expanded="true" height="103" name="SVD" width="90" x="447" y="34"> <parameter key="dimensionality_reduction" value="fixed number"/> <parameter key="percentage_threshold" value="0.95"/> <parameter key="dimensions" value="2"/> </operator> <connect from_port="input 1" to_op="Read Excel" to_port="file"/> <connect from_op="Read Excel" from_port="output" to_op="Generate TFIDF" to_port="example set input"/> <connect from_op="Generate TFIDF" 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="SVD" to_port="example set input"/> <connect from_op="SVD" from_port="example set output" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="source_input 2" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator> </process>
XML Process:
<?xml version="1.0" encoding="UTF-8"?><process version="9.2.000"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="9.2.000" expanded="true" name="Process"> <parameter key="logverbosity" value="init"/> <parameter key="random_seed" value="2001"/> <parameter key="send_mail" value="never"/> <parameter key="notification_email" value=""/> <parameter key="process_duration_for_mail" value="30"/> <parameter key="encoding" value="SYSTEM"/> <process expanded="true"> <operator activated="true" class="read_excel" compatibility="9.2.000" expanded="true" height="68" name="Read Excel" width="90" x="45" y="34"> <parameter key="excel_file" value="C:\Users\asus\hubiC\Máster\Máster GENI\18-19\Actividades\TF-IDF y SVD\MATRIZ T-D_Elena Rubio.xls"/> <parameter key="sheet_selection" value="sheet number"/> <parameter key="sheet_number" value="3"/> <parameter key="imported_cell_range" value="A1"/> <parameter key="encoding" value="SYSTEM"/> <parameter key="first_row_as_names" value="false"/> <list key="annotations"/> <parameter key="date_format" value=""/> <parameter key="time_zone" value="SYSTEM"/> <parameter key="locale" value="English (United States)"/> <parameter key="read_all_values_as_polynominal" value="false"/> <list key="data_set_meta_data_information"> <parameter key="0" value="A.true.polynominal.attribute"/> <parameter key="1" value="B.true.integer.attribute"/> <parameter key="2" value="C.true.integer.attribute"/> <parameter key="3" value="D.true.integer.attribute"/> <parameter key="4" value="E.true.integer.attribute"/> <parameter key="5" value="F.true.integer.attribute"/> <parameter key="6" value="G.true.integer.attribute"/> <parameter key="7" value="H.true.integer.attribute"/> </list> <parameter key="read_not_matching_values_as_missings" value="false"/> <parameter key="datamanagement" value="double_array"/> <parameter key="data_management" value="auto"/> </operator> <operator activated="true" class="generate_tfidf" compatibility="9.2.000" expanded="true" height="82" name="Generate TFIDF" width="90" x="179" y="34"> <parameter key="calculate_term_frequencies" value="true"/> </operator> <operator activated="true" class="nominal_to_numerical" compatibility="9.2.000" expanded="true" height="103" name="Nominal to Numerical" width="90" x="313" y="85"> <parameter key="return_preprocessing_model" value="false"/> <parameter key="create_view" value="false"/> <parameter key="attribute_filter_type" value="all"/> <parameter key="attribute" value=""/> <parameter key="attributes" value=""/> <parameter key="use_except_expression" value="false"/> <parameter key="value_type" value="nominal"/> <parameter key="use_value_type_exception" value="false"/> <parameter key="except_value_type" value="file_path"/> <parameter key="block_type" value="single_value"/> <parameter key="use_block_type_exception" value="false"/> <parameter key="except_block_type" value="single_value"/> <parameter key="invert_selection" value="false"/> <parameter key="include_special_attributes" value="false"/> <parameter key="coding_type" value="dummy coding"/> <parameter key="use_comparison_groups" value="false"/> <list key="comparison_groups"/> <parameter key="unexpected_value_handling" value="all 0 and warning"/> <parameter key="use_underscore_in_name" value="false"/> </operator> <operator activated="true" class="singular_value_decomposition" compatibility="9.2.000" expanded="true" height="103" name="SVD" width="90" x="447" y="34"> <parameter key="dimensionality_reduction" value="fixed number"/> <parameter key="percentage_threshold" value="0.95"/> <parameter key="dimensions" value="2"/> </operator> <connect from_port="input 1" to_op="Read Excel" to_port="file"/> <connect from_op="Read Excel" from_port="output" to_op="Generate TFIDF" to_port="example set input"/> <connect from_op="Generate TFIDF" 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="SVD" to_port="example set input"/> <connect from_op="SVD" from_port="example set output" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="source_input 2" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator> </process>
0
Answers
The input data is not available. But I guess you want check out the "pre" ouput node from SVD?