1
A
回答
1
一種方法是使用sort
操作後跟一個filter
。例如,排序和過濾樣本Iris數據集a1
:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.008">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.2.008" expanded="true" name="Process">
<process expanded="true" height="417" width="675">
<operator activated="true" class="retrieve" compatibility="5.2.008" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30">
<parameter key="repository_entry" value="//Samples/data/Iris"/>
</operator>
<operator activated="true" class="sort" compatibility="5.2.008" expanded="true" height="76" name="Sort" width="90" x="179" y="30">
<parameter key="attribute_name" value="a1"/>
<parameter key="sorting_direction" value="decreasing"/>
</operator>
<operator activated="true" class="filter_example_range" compatibility="5.2.008" expanded="true" height="76" name="Filter Example Range" width="90" x="313" y="30">
<parameter key="first_example" value="1"/>
<parameter key="last_example" value="10"/>
</operator>
<connect from_op="Retrieve" from_port="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"/>
</process>
</operator>
</process>
相關問題
- 1. 根據整數生成日期範圍
- 2. 根據日期範圍發生的SQL返回計數
- 3. RapidMiner替換範圍內的數值
- 4. 替換範圍中的值Rapidminer
- 5. 範圍編號發生器
- 6. 蟒蛇範圍發生
- 7. 功能範圍的範圍根
- 8. 根據數據庫值生成日期範圍
- 9. Apache spark根據範圍SQL組數據
- 10. 根據範圍數據查找值
- 11. 根據日期範圍Redis的
- 12. 角根範圍和範圍問題
- 13. PHP,Bootstrap - 根據數字範圍更改範圍標籤
- 14. 角度根據範圍獲取範圍$ id
- 15. NSString的字符串範圍發生
- 16. 更改根範圍
- 17. MySQL/PHP根據日期範圍生成值
- 18. MYSQL根據年齡範圍選擇生日
- 19. 當範圍函數發生Javascript範圍問題
- 20. R:根據行範圍選擇行值
- 21. 範圍功能根據在該視圖
- 22. 如何根據範圍選擇行?
- 23. 環流式範圍根據病情
- 24. 如何根據日期範圍
- 25. MySQL - 根據SUM分組成範圍
- 26. 根據日期範圍查找記錄
- 27. 根據日期範圍加入列
- 28. 根據日期範圍選擇交易
- 29. 根據日期範圍獲取記錄
- 30. 如何根據號碼範圍