跳到正文

第 1 课 · Getting Started

What Is KNIME? Visual Data Workflows Explained

Learn what KNIME Analytics Platform is, who it suits, what you need before you start, what this tutorial can run in your browser, and how the course is organized.

KNIME Analytics Platform is a desktop application for working with data by connecting small building blocks called nodes. Instead of writing a long script, you place a node that reads a file, link it to a node that filters rows, link that to a node that groups and totals, and run the chain. The picture you build is called a workflow, and it is both your program and your documentation.

This tutorial is for analysts, spreadsheet users, students, and developers who want repeatable data work without writing everything by hand. It is an independent tutorial. It is not affiliated with or endorsed by KNIME AG.

Why visual workflows

Many people start in a spreadsheet. That works until the same steps must be repeated every week, or a colleague asks how a number was produced. A workflow helps in three ways.

  • Repeatable. When new data arrives, you point the reader node at it and run the chain again.
  • Inspectable. You can open the output of any node and see the table as it looked at that step.
  • Shareable. A colleague can open the workflow and follow the arrows.

A small example. Suppose you get a sales export each Monday. You want to remove cancelled orders, total revenue by region, and save the result. In KNIME, that is a chain like this:

TEXT
CSV Reader -> Row Filter -> GroupBy -> Excel Writer

Each name is a node. Each arrow carries a table from one node to the next.

The three ideas

Node One task
Connection Passes data on
Workflow The whole chain
1 / 2

What it costs and what else exists

KNIME Analytics Platform is open source under the GNU General Public License version 3, with additional permissions that cover extensions, and you can download and use it for free. KNIME also offers KNIME Hub, an online place to find and share workflows. Some Hub features, such as paid plans for running and managing workflows, cost money, and enterprises can buy a business edition. Plans and prices change, so check the official pricing pages before you decide.

You extend the application with extensions, which add more nodes, for example for databases, scripting, or AI models.

What you need

You should be comfortable with tables: rows, columns, and the idea of a data type such as number or text. You do not need to program. It helps to know a little about joins and grouping, which this course explains again. If you want deeper background on those ideas, the SQL tutorial covers them, and the Python tutorial helps with the optional scripting lesson.

What this tutorial can and cannot run

This website cannot run KNIME. KNIME is a desktop application, and your browser cannot host it. So the tutorial uses two kinds of examples:

  1. Read-only material. Node chains, dialog settings, and expressions that you copy into your own KNIME installation.
  2. Stand-ins. Small Python or SQL programs that imitate what a node does. Their titles start with "Stand-in:". They are written for teaching. Their output is not KNIME output, and KNIME may format results or handle edge cases differently.

To get the most from this course, install KNIME on your own computer and rebuild every workflow there. Reading about nodes is not the same as configuring them.

Here is your first stand-in. It mimics the four-node chain from above with a tiny table.

Python Stand-in: reader, filter, and group in plain Python

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Try changing "cancelled" to "paid" and run it again. In KNIME, you would change a setting in the filter node and re-execute.

How the course is organized

Foundations

Start Install and first workflow
Data in and out Files and databases
Cleaning Filter and fix
1 / 3

Is KNIME the right tool?

KNIME is a good fit when your work is a sequence of data steps that you repeat or must explain. It is less suited to building a web product, to very large streaming systems that need dedicated infrastructure, or to a one-off calculation that a spreadsheet does in a minute. Many teams combine tools: a database stores the data, KNIME prepares and analyzes it, and a dashboard tool presents it.

A workflow that runs without errors is not automatically correct. A wrong join key or filter produces a clean-looking but wrong table. Throughout this course you will check row counts and sample values after important steps.

How a workflow differs from a spreadsheet

In a spreadsheet, data and logic live in the same cells. A formula sits next to the values it uses, and a person can overwrite one cell by accident without anyone noticing. In a workflow, the two are separated. The source file stays as it arrived, and every change happens in a node that you can see and name. If the result looks strange, you do not hunt through thousands of cells. You open the nodes one at a time until the first wrong value appears.

This separation has a cost. For a quick one-off sum, building a chain of nodes takes longer than typing a formula. The payoff comes the second and third time, and whenever someone asks you to explain a number.

Question Spreadsheet Workflow
Where is the logic? Spread across cells In named nodes
What happens with new data? Often copy and paste Point the reader at the new file and execute
How do you audit a step? Trace formulas Open the node's output
Is the raw data changed? It can be Not by the transformation nodes

The last row has one important exception: writer nodes do create or overwrite files and database tables, so check where each one points.

How to study this tutorial

Each lesson follows the same rhythm. Read the idea, run the stand-in and change its values, then rebuild the same steps in KNIME. When your KNIME result differs from the stand-in, find out why before moving on. Often the difference teaches you something about data types, missing values, or sort order.

Keep one practice folder for the whole course. Use invented data or openly licensed public data. Do not practice on real customer or employee records.

Two projects near the end bring the skills together: an automated sales report and a customer churn model. A glossary and cheat sheet close the course, so you do not need to memorize node names now.

Check your understanding

Quick check · 3 questions

of 3 answered You scored / 3 · perfect!

  1. 1. What is a node in KNIME?

    Nodes each do one job, and connections between them form a workflow.
  2. 2. What does a stand-in example in this tutorial do?

    The website cannot run KNIME, so stand-ins are hand-written teaching code.
  3. 3. Which statement about the Analytics Platform is correct?

    The desktop platform is free and open source; paid offerings relate to the Hub and business use.

Summary

  • KNIME builds data processes as workflows made of connected nodes.
  • Workflows are repeatable, inspectable at every step, and easy to share.
  • The Analytics Platform is free and open source; some Hub services are paid.
  • This website cannot run KNIME, so runnable blocks are clearly marked stand-ins.
  • Always verify results, not just that the workflow executed.

Next: Install KNIME and Tour the Workspace

你的学习进度保存在此浏览器中,无需账号。