Solutions for the tutorial challenges
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
-
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>0 -
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)0
-
hi @xmaanall I'm sorry this is again an old thread. We now recommend the RapidMiner Academy:
https://academy.rapidminer.com
Scott0