max


Rapid Miner Row Maximum


Sorry I'm totally new to RapidMiner and only made the basic tutorial.
I have a dataset like
MatchID Value1 Value2 Value3
1 5 1 2
1 4.5 1.5 2
...
and would like to know if there is a possibilty to get the highest value per column (for example Value1) and make further calculations with it (generate attributes).
Thank you.
There are lots of ways as it happens. Here's one using the Aggregate operator to find the maxima, Join to join this to the original and Generate Attributes to do some calculating.
<?xml version="1.0" encoding="UTF-8"?><process version="7.2.003">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.2.003" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="7.2.003" expanded="true" height="68" name="Retrieve Iris" width="90" x="45" y="34">
<parameter key="repository_entry" value="//Samples/data/Iris"/>
</operator>
<operator activated="true" class="aggregate" compatibility="7.2.003" expanded="true" height="82" name="Aggregate" width="90" x="179" y="34">
<parameter key="use_default_aggregation" value="true"/>
<parameter key="default_aggregation_function" value="maximum"/>
<list key="aggregation_attributes"/>
</operator>
<operator activated="true" class="join" compatibility="7.2.003" expanded="true" height="82" name="Join" width="90" x="313" y="34">
<parameter key="join_type" value="outer"/>
<parameter key="use_id_attribute_as_key" value="false"/>
<list key="key_attributes"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="7.2.003" expanded="true" height="82" name="Generate Attributes" width="90" x="447" y="34">
<list key="function_descriptions">
<parameter key="deltaA1" value="[maximum(a1)]-a1"/>
<parameter key="deltaA2" value="[maximum(a2)]-a2"/>
<parameter key="deltaA3" value="[maximum(a3)]-a3"/>
<parameter key="deltaA4" value="[maximum(a4)]-a4"/>
</list>
</operator>
<connect from_op="Retrieve Iris" from_port="output" to_op="Aggregate" to_port="example set input"/>
<connect from_op="Aggregate" from_port="example set output" to_op="Join" to_port="left"/>
<connect from_op="Aggregate" from_port="original" to_op="Join" to_port="right"/>
<connect from_op="Join" from_port="join" to_op="Generate Attributes" to_port="example set input"/>
<connect from_op="Generate Attributes" 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>

Related Links

How to get other attributes in aggregation result (Relational Algebra)
Wind scaling in Maxscript
when I run this join ..it throws an error
Qlikview Max Aggr Value
Error when installing “RODBC” package
InfluxDB get maximum value of moving average
Subtract price on same Table
Julia: Find the indices of all maxima
How can Max() work within sumif in an expression on Qliksense?
Excel 2010 - Visual Basic code to find minimum and maximum values based on different criteria
How do I call for a max in an array(pascal)
Does AVAssetWriterInputPixelBufferAdaptor have a global maximum of 3 instances?
How to show results in text, not digits
i want something to happen if the number is higher than 1 and lower than 60 in laravel
rxjava retrieving the max value from a buffer
SPARQL selecting MAX value of a counter

Categories

HOME
postgresql
twitter-bootstrap
optimization
kendo-ui
fortran
process
webvr
windows-server-2008
x86-64
magento-1.9.2.1
coordinates
mediarecorder
cdn
revit-api
promotions
cracking
browsermob
cakephp-2.0
aggregate
dat.gui
django-rest-auth
project-structure
single-page-application
descriptor
restructuredtext
opengraph
smali
fastboot
matlab-gui
tcpdf
aws-iot
functional-dependencies
struts
android-wear-2.0
nsopenpanel
traveling-salesman
stack-trace
boosting
pushpad
ipython-parallel
blockly
directions
jcr
unity3d-5
offset
headphones
cocoa-scripting
scip
matrix-multiplication
server-side-swift
uitextview
gridgain
nao-robot
stanford-nlp-server
liferay-ide
dynatable
node.js-client
wicketstuff
ios-keyboard-extension
esprima
toggleclass
consolidation
cexception
dcast
containstable
jersey-test-framework
google-app-engine-php
angular-promise
p4python
litedb
web-standards
glog
stderr
system.diagnostics
crystal-reports-7
ccmenuitem
amzi-prolog
facebook-java-api
android-jack-and-jill
myrrix
azure-pack
forward-declaration
cryptarithmetic-puzzle
m3u
webpage-screenshot
nsscrollview
bash4
datasheet
facebook-winjs-sdk
inserthtml
fileoutputstream
jquery-click-event
windows-xp-embedded
mismatch
jexcelapi
norton
text-manipulation
manuals
atmega16
vista64

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App