Knime Analytics Platform For Data Scientists
Knime Analytics Platform For Data Scientists
1
Overview
KNIME Analytics Platform
What is KNIME Analytics Platform?
KNIME Explorer
Node Description
Workflow Coach
Workflow Editor
KNIME Hub
Node Repository
Outline
§ By default the Node Monitor shows you the output table of the node selected in
the workflow editor
§ Click on the three dots on the upper right to show the flow variables,
configuration, etc.
Model
Flow Variable
Image
Database Database
Connection Query
Data
Not Configured:
The node is waiting for configuration or incoming data.
Configured:
The node has been configured correctly, and can be executed.
Executed:
The node has been successfully executed. Results
may be viewed and used in downstream nodes.
Error:
The node has encountered an error during execution.
§ Right-click node
§ Select Execute in context menu
§ If execution is successful, status
shows green light
§ If execution encounters errors,
status shows red light
The buttons in the toolbar can be used for the active workflow. The most important
buttons:
§ Execute selected and executable nodes (F7)
§ Execute all executable nodes
§ Execute selected nodes and open first view
§ Cancel all selected, running nodes (F9)
§ Cancel all running nodes
§ Right-click node
§ Select Views in context menu
§ Select output port to inspect execution results
§ Dedicated file extensions for Workflows and Workflow groups associated with
KNIME Analytics Platform
KNIME Forum
Account Credentials
Blog: knime.com/blog
Forum: forum.knime.com
High Content
Screening
Option 1: Via the menu bar in the KNIME Analytics Platform and select your
extension from the list (feasible if you know the name of the extension)
Output port
Status
Node label
Basic settings
Help button
Preview
§ Relative to …
§ Mountpoint
§ Custom URL
§ Absolute URL
§ Mountpoint-relative URL
§ Single file
§ Files in a folder
§ Supported operations
§ Column filtering
§ Column sorting
§ Column renaming
§ Column type mapping
§ Select between union or intersection of
columns (in case of reading many files)
Good option, if the CSV Reader node can't read your file
§ Reads all text-based files (e.g. csv, txt, etc.)
§ Many advanced features allow it to read most ‘weird’ files
§ Short lines, inline comments, headers and special encoding
File path
Basic
Settings
Advanced
Settings
Preview
Help Button
File path
File system
Sheet
specific
settings
Preview
File path
File path
standardized call on hits: ‘true’ if activity in red AND green 80% <= x < 250%; ‘false’ if activity in red
Pf3D7_ps_hit
AND green <20%; ‘ambiguous’ for all other compounds (20 – 80%, or >250%)
Pf3D7_pEC50 Reported pEC50 value (NA for compounds not submitted for dose-response confirmation)
http://www.tdtproject.org/challenge-1---malaria-hts.html#
Hint: drag and drop the files from the KNIME Explorer
panel to get started
You can download the training workflows from the KNIME Hub:
https://hub.knime.com/knime/spaces/Education/latest/Courses/
64
Data Manipulation Nodes
Add and remove node ports based on your needs, e.g. in order to concatenate
three or more tables
10 1993-01-13 Berlin M
CustomerKey OrderDate OrderID DoB City Gender CustomerKey OrderDate OrderID DoB City Gender
10 1993-01-13 Berlin M
17 ? ? 1974-02-23 Berlin F
Missing values in
the left table 65 ? ? 2001-05-25 Stuttgart F
35 ? ? 1988-08-05 Cologne M
24 2019-09-30 #23457 ? ? ?
Joiner mode
Columns from
left table to
output table
Columns from
right table to
output table
Aggregation methods
Groups ~ Rows
Pivots ~ Columns
Aggregation
§ Row-wise calculations
§ Some column-wise statistics
§ Lots of mathematical functions
§ Double click on function,
then select column
Allows for
§ Concatenation of multiple files/tables
§ Column filtering
§ Column sorting
§ Column renaming
§ Column type mapping
Activity I: Filtering
§ Remove rows where column Pf3D7_pEC50 contains missing values
§ Filter rows with higher values than 150 in column Pf3D7_ps_red
§ Remove column Pf3D7_ps_green from the result
92
Comments & Annotations
Double-click to write
Use the panel to
change properties
Double-click to write
Use the panel to
change properties
§ Workflow annotations
§ Node labels
§ Metanodes
§ Right click -> Create Metanode...
§ Organize workflow by task
§ Hide complexity & improve readability
§ Component encapsulates a
reusable functionality as a KNIME
workflow
§ Components can be configured as
any KNIME nodes
§ Access and share components on
the KNIME Hub Drag and drop from the
KNIME Hub to your workflow
96
Data Visualization
Color range
Discrete
for numerical
colors for
values
nominal
values
Apply selection
Table View
Publishing Selection
§ Optional:
§ Add a Color Manager before the Table View node and Color the rows using the REOS category.
§ Add a Range Slider Filter Definition node before the Table View node and configure it to use FractionCSP3 column.
113
KNIME Image Processing
§ KNIME Image
Processing Extension
§ these nodes operate on multi-
dimensional image data (e.g.
videos, 3D images, multi-channel
images or even a combination of
them)
More infos:
https://www.knime.com/community/imag
e-processing
§ Dimension Selection
§ segment label,
§ segment area, or
§ Calculate features of an
image under consideration
of a given labeling.
§ Tamura features: Granularity,
Maximal directionality, Skewness,…
122
Database Extension
DB Data Port
• Connection information
• SQL statement
DB Connection Port
Connection information
DB Data Port
§ Database Manipulation node generates a SQL query on top of the input SQL
query (brown square port)
Pass one
workspace to
multiple nodes
Create plot
Syntax highlighting
Create and
store
templates
R workspace
Show
results
Evaluate
script R
console
output
JSON Response:
XML Response:
Provide authentication
Enter URL, or if necessary
use from column
https://www.knime.com/blog/a-restful-way-to-find-and-retrieve-data
https://www.knime.com/blog/OSM-meets-CSV-file-and-Google-API
§ The new file handling framework makes it easy to upload data to remote file
systems
§ Write processed data directly with a writer node
§ Upload local files with the Transfer Files node
Step 3
Step 1 Step 2 Step 4 Step 5
Customize
Upload File Select Columns Interactive View Download Image
Column Domains
WebPortal Page
(Step 1)
Upload File
File
Selection Column
Selection
Stacked
Area Chart
Filter by
Row Filter
Range
§ Deploy a workflow on KNIME Server and execute it on the KNIME Web Portal
https://www.knime.org/blog/giving-the-knime-server-a-rest
Blog: knime.com/blog
Forum: forum.knime.com