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.

How to generate a Scree Plot

febpriv_01febpriv_01 Member Posts: 1 Learner I
Currently writing a paper, would like to generate a SCREE PLOT to identify the dimensions to choose in a PCA analysis

Answers

  • hbajpaihbajpai Member Posts: 102 Unicorn
    Hey @febpriv_01,

    Scree plot is used to capture %variation explained for every PC. You can use PCA to Example set operator and plot proportion of variance to achieve it.



    Also, the XML code of mock process.
    <?xml version="1.0" encoding="UTF-8"?><process version="9.6.000">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="9.6.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="retrieve" compatibility="9.6.000" expanded="true" height="68" name="Retrieve Sonar" width="90" x="45" y="34">
            <parameter key="repository_entry" value="//Samples/data/Sonar"/>
          </operator>
          <operator activated="true" class="principal_component_analysis" compatibility="9.6.000" expanded="true" height="103" name="PCA" width="90" x="246" y="85">
            <parameter key="dimensionality_reduction" value="keep variance"/>
            <parameter key="variance_threshold" value="0.95"/>
            <parameter key="number_of_components" value="1"/>
          </operator>
          <operator activated="true" class="converters:pca_2_example_set" compatibility="0.6.000" expanded="true" height="82" name="PCA Result to ExampleSet" width="90" x="380" y="187"/>
          <connect from_op="Retrieve Sonar" from_port="output" to_op="PCA" to_port="example set input"/>
          <connect from_op="PCA" from_port="example set output" to_port="result 1"/>
          <connect from_op="PCA" from_port="preprocessing model" to_op="PCA Result to ExampleSet" to_port="pca"/>
          <connect from_op="PCA Result to ExampleSet" from_port="exa" 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>
    

    Best,
    Harshit
Sign In or Register to comment.