The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Solutions for the tutorial challenges

KIMSCHMITZKIMSCHMITZ Member Posts: 1 Learner II
edited November 2018 in Help

Hello forum,

 

i want to check if i found the right solution for the tutorial challenges an i am also stuck at one point.

Is there  "tutorial challenge solution" content on the web?

 

I am stuck at the Outlier Detection tutrorial, where one has to change the detection to oulier detection LOF and hast to change the filter to filter out the top ouliers. How could this be done? 

 

Thank you & kind regards,

Kim

 

Answers

  • nmaheshnmahesh Member Posts: 3 Contributor I

    Hi Kim,

     

    Unfortunately we do not have solutions for these challenges, they are more of a self paced thing. However to answer your question, to change this to filter out the top outliers you would need to sort the distances decreasing from highest to lowest then use the filter example range operator to filter out the top 10. I attached my process below for you to look at!

     

    Best,

    Nithin Mahesh

     

     

    <?xml version="1.0" encoding="UTF-8"?><process version="7.5.003">
    <context>
    <input/>
    <output/>
    <macros/>
    </context>
    <operator activated="true" class="process" compatibility="7.5.003" expanded="true" name="Process">
    <process expanded="true">
    <operator activated="true" class="retrieve" compatibility="7.5.003" expanded="true" height="68" name="Retrieve Titanic" width="90" x="45" y="34">
    <parameter key="repository_entry" value="//Samples/data/Titanic"/>
    </operator>
    <operator activated="true" class="select_attributes" compatibility="7.5.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="Cabin|Life Boat|Name|Ticket Number"/>
    <parameter key="invert_selection" value="true"/>
    </operator>
    <operator activated="true" class="normalize" compatibility="7.5.003" expanded="true" height="103" name="Normalize" width="90" x="313" y="34"/>
    <operator activated="false" class="detect_outlier_distances" compatibility="7.5.003" expanded="true" height="82" name="Detect Outlier (Distances)" width="90" x="313" y="187"/>
    <operator activated="true" breakpoints="after" class="detect_outlier_lof" compatibility="7.5.003" expanded="true" height="82" name="Detect Outlier (LOF)" width="90" x="447" y="34"/>
    <operator activated="false" class="filter_examples" compatibility="7.5.003" expanded="true" height="103" name="Filter Examples" width="90" x="648" y="238">
    <list key="filters_list">
    <parameter key="filters_entry_key" value="outlier.ne.0\.0"/>
    </list>
    </operator>
    <operator activated="true" breakpoints="after" class="sort" compatibility="7.5.003" expanded="true" height="82" name="Sort" width="90" x="581" y="34">
    <parameter key="attribute_name" value="outlier"/>
    <parameter key="sorting_direction" value="decreasing"/>
    </operator>
    <operator activated="true" class="filter_example_range" compatibility="7.5.003" expanded="true" height="82" name="Filter Example Range" width="90" x="715" y="34">
    <parameter key="first_example" value="1"/>
    <parameter key="last_example" value="10"/>
    <parameter key="invert_filter" value="true"/>
    </operator>
    <connect from_op="Retrieve Titanic" from_port="output" to_op="Select Attributes" to_port="example set input"/>
    <connect from_op="Select Attributes" from_port="example set output" to_op="Normalize" to_port="example set input"/>
    <connect from_op="Normalize" from_port="example set output" to_op="Detect Outlier (LOF)" to_port="example set input"/>
    <connect from_op="Detect Outlier (LOF)" from_port="example set output" to_op="Sort" to_port="example set input"/>
    <connect from_op="Sort" from_port="example set output" to_op="Filter Example Range" to_port="example set input"/>
    <connect from_op="Filter Example Range" from_port="example set output" 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"/>
    <background height="232" location="//Samples/Tutorials/Data Handling/02/tutorial2" width="1502" x="26" y="47"/>
    </process>
    </operator>
    </process>
  • Tribe3DTribe3D Member Posts: 3 Learner III
    edited November 2018
    I second that! It would be great if we could have the solutions listed ("see answers on p.199") ! (I would be willing to help)
  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @Tribe3D - sorry this is an old thread. Which solutions are you looking to be published? We now have a place to store them... 

    Scott

  • xmaanallxmaanall Member Posts: 1 Learner II
    hi @sgenzer where can I find the solutions?
  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @xmaanall I'm sorry this is again an old thread. We now recommend the RapidMiner Academy:

    https://academy.rapidminer.com

    Scott
Sign In or Register to comment.