knime quick explanation #1 lance norskog june 25, 2010

14
KNIME Quick explanation #1 Lance Norskog June 25, 2010

Upload: myra-jackson

Post on 05-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: KNIME Quick explanation #1 Lance Norskog June 25, 2010

KNIME Quick explanation #1

Lance Norskog

June 25, 2010

Page 2: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Makes pdf/html

• Simple PDF&HTML generator for tables

Page 3: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Konstantz Information MinerKNIME

• http://www.knime.org/

• Open source project with backing company– KNIME

• Business seems to be drug chemistry assay software

Page 4: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Query Plot

• Sample data CSV file

• Header with field names

• Query text + response time– query,time

– apple,1

– apple,2

– pear,3

Page 5: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Query Plot Project

• Two nodes in a KNIME project– File Reader node loads CSV file– Creates table with field names– Scatter Plot node creates the chart

Page 6: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Query Plot Display

• Add separate color for each query value

Page 7: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Cross-correlate benchmark

• Task: Join 2 tables– Query time table– Query Result Cache size table– One common timestamp (first one)

Page 8: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Cross-correlate benchmark

• KNIME visual node program– Read 2 files– Join on timestamp– Do scatter matrix plot

Page 9: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Cross-correlate benchmark

• Three fields: timestamp, query time, cache size• Yeah, I know – it does make SVG files

Page 10: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Pipe-fitting

• Knime works hard to be easy to use

• Has lots of metadata for the table connectors

• Still needs some pipe-fitting nodes

• The previous node program is not the real one!– I stripped something out for clarity

Page 11: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Pipe-fitting

• The real one also has RowID nodes• Table metadata includes unique id for each row• Join works against RowID, not data column• RowID processor nodes move timestamp into and out of row id

values

Page 12: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Pipe-fitting

• Interactive Table?– Need this to view output of last RowID

– This should be the default “view” for all non-display nodes

Page 13: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Base code

• Based on Eclipse app toolkit

• Can run workflows from command line

• File output– PDF– Csv– Svg– html

Page 14: KNIME Quick explanation #1 Lance Norskog June 25, 2010

Now you know as much as me

• Only after this class do I know what the various tools do

• And it’s time to learn more

Lance Norskog

[email protected]