zurich meetupfiles.meetup.com/16175222/zurich_meetup_20140915... · why knime and r? 2 powerful...

14
Copyright © 2014 KNIME.com AG Zurich Meetup

Upload: others

Post on 13-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Zurich Meetup

Page 2: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Why KNIME and R?

2

Powerful statistics

Leading edge algorithms

Powerful/flexible graphics

Widely accepted language

Intuitive graphical programming

Strong Extract-Transform-Load

Integrates many tools

Enterprise grade solutions for deployment

Open source analytics

Vibrant communities

Cross platform

R KNIME

Page 3: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Integration details

3

• Moved to “Core” in KNIME 2.10.

• Bridge based on rJava and JRI http://cran.r-project.org/web/packages/rJava/index.html

• Can be used with bundled or external R

integrations

Page 4: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

The Interactive Editor

4 4

Columns

Variables Code Editor

Workspace Overview

Console

Page 5: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Code templates

5 5

Preview

List

Summary

Page 6: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Metanodes

6 6

Page 7: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

R Nodes in KNIME

7

• Different input and output options

• Grey ports enable workspace branching

Page 8: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Nodes: R Source

8 8

• Get data from an R data frame

• Assign output to a data frame

named knime.out

• Use with foreign, RCurl, or ...

Page 9: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Node: R Snippet

9

• Generic data manipulation

• Edit tables or workspaces

• Derive knime.out from knime.in

• Use for cumulative stats, plyr, or ...

Page 10: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Node: R Snippet

10

• Use R models in KNIME

• Learner (knime.model) & Predictor motif

• R to PMML support for model portability

Page 11: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Nodes: R View

• Generic R plots

• Plot(knime.in)

• Use with many packages including ggplot2

Page 12: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Example 1: Choropleth of KNIME Downloads

Page 13: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

Example 2: Dose-Response modeling

Page 14: Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful statistics Leading edge algorithms Powerful/flexible graphics Widely accepted language

Copyright © 2014 KNIME.com AG

The End

[email protected]