Icon

Beginners - Discover the KNIME Possibilities

<p><strong>KNIME - "Discover the possibilities" (for beginners)</strong> - visual data analysis and processing</p><p>A typical KNIME workflow moves from left to right. It loads data, performs analyses and manipulations, and then exports the results for further use.<br>At any point, you can view the results and "branch off" to attach a new task to those results.<br>KNIME workflows combine functionality and documentation.</p><ul><li><p>Basic functions in KNIME and flow variables</p></li><li><p>Simple machine learning examples</p></li><li><p>Loops for automation</p></li></ul><p></p><p>Start to Learn KNIME</p><p>https://medium.com/p/d4b16c9616ad</p>

URL: KNIME Beispiel Titanic (deutsch) https://hub.knime.com/mlauber71/spaces/Public/latest/knime_einfuehrung_beispiel_titanic~QpZwCmt6Ivh_NMRT/
URL: KNIME, Paths and Loops — Automate Everything https://medium.com/p/213455788685
URL: KNIME Snippets — Rules and Conditions do apply https://medium.com/p/72b6ffbd4c9f
URL: KNIME — Machine Learning and Artificial Intelligence — A Collection https://medium.com/p/12e0f7d83b50
URL: Mastering KNIME: Unlocking Peak Performance with Expert Tips and Smart Settings https://medium.com/low-code-for-advanced-data-science/mastering-knime-unlocking-peak-performance-with-expert-tips-and-smart-settings-49e2c0dab9cc
URL: Start to Learn KNIME https://medium.com/p/d4b16c9616ad

Annotations and comments
  • KNIME - "Discover the possibilities" (for beginners) - visual data analysis and processing https://hub.knime.com/s/Bssy2ppqljGis_jo A typical KNIME workflow moves from left to right. It loads data, performs analyses and manipulations, and then exports the results for further use. At any point, you can view the results and "branch off" to attach a new task to those results. You can start 'small' and gradually work your way forward. Old solutions continue to function smoothly. KNIME workflows combine functionality and documentation in one!
  • 1 - Load data - the data is located in the folder /data/ directly under the workflow. However, it could also be located elsewhere.
  • 2 - Manipulate and merge data
  • 2a - Create graphs "How does age affect income?"
  • 3 - Export data and results
  • Exploring the Power of Python Graphics with KNIME: A Collection of Examples https://medium.com/p/841df87b5563
  • 2b - Which educational degree (education) leads to the highest income?
  • Modify individual cells in Excel based on input from KNIME
  • Traffic light logic at each node Red = Configuration not yet completed Yellow = Node configured, can be executed Green = Node has been executed. The results are (internally) saved and can be viewed/used
  • 4 - Use flow variables (red lines) to dynamically filter part of the data
  • KNIME and Excel — An Overview of What You Can Do https://medium.com/p/c6d400319745
  • Create Path Variables in KNIME https://forum.knime.com/t/write-multiple-csv-file-to-a-loop/44989/2?u=mlauber71
  • KNIME Flow Control Guide https://docs.knime.com/latest/analytics_platform_flow_control_guide/
  • KNIME - Machine Learning Example From a simple decision tree to fully automated machine learning with the most advanced platforms (H2O.ai) - all within the same interface
  • 1 - Load data for Machine Learning (ML)
  • 2 - Calculate ML model on the training data
  • 3 - Save ML model
  • 4 - Load and apply ML model on the test data
  • 5 - ML Modell bewerten
  • Decision Tree with all its exports https://hub.knime.com/s/GbK8kmsRLtwvSKl9
  • MOJO / H2O.ai models can also be used on other platforms such as R, Python, or Big Data systems
  • KNIME - Use loops!! Loops are one of the most powerful tools for quickly creating dynamic automations.
  • 1 - Load data
  • 3 - Export data in a loop
  • 5 - List and reload data
  • KNIME, Paths and Loops — Automate Everything https://medium.com/p/213455788685 KNIME Snippets — Rules and Conditions do apply https://medium.com/p/72b6ffbd4c9f
  • if (column("income_50k") == ">50K") {1} else if (column("income_50k") == "<=50K") {0} else {null} Create a Variable "Target" 0/1
  • Keep only the columns for machine learning
  • Alter in Jahren
  • Compare H2O.ai and Decision Tree
  • Age distribution by target variable (more or less than 50,000 dollars annual income)
  • Model
  • Rank_Income_Education
  • Create path variable with a dynamic name
  • Create Path Variables
  • Get a quick overview of the data
  • Create a simple machine learning model
  • Apply model to 30% test data
  • Apply model to entirely new data
  • View the decision tree
  • Educational degree by income - corrected.xlsx
  • list_education.xlsx An additional list that adds text descriptions to the numerical variable education_num (education)
  • Import each subgroup as an Excel file Subgroup_*.xlsx
  • Output each subgroup as an Excel file Subgroup_*.xlsx
  • Educational degree by income.xlsx
  • Output of the selection Education with the highest average income as an Excel file
  • Group by education
  • martial_status
  • Automatically calculate more complex ML models here in just 60 seconds!! Adjust if necessary
  • H2O.ai requires its own environment in the background, which is set up here
  • model_h2o_automl.zip
  • age_vs_income.png
  • var_file_name
  • Reference the text of the variable "education" by "education_num"
  • List existing files Subgroup_*.xlsx
  • LOOP END Import
  • Proportion_more_than_50k_dollars
  • Replace missing values with -999 or _NA_
  • "Target" Variable as String
  • model_decision_tree.pmml
  • Convert the tree model into SQL
  • census_income_training.parquet Demographic data from the USA 1996 - whether someone earns more than $50,000 per year. Also known as the "Adult" dataset https://archive.ics.uci.edu/ml/datasets/census+income
  • census_income_training.parquet => completely unknown data
  • 70% / 30% Separation for Training and Test
  • 2.560x1.440 PNG file
  • $Count(Target)$ >= 100 => TRUE at least 100 cases in the group
  • $marital_status$ = $${Smarital_status}$$ => TRUE
  • $Counter$ = 1 => TRUE
  • $education$ = $${Seducation}$$ => TRUE
  • Sort in descending order by Proportion_more_than_50k_dollars
  • Corrected Excel Cells B1 - Number of respondents C1 - Respondents earning over 50k dollars
  • train.table
  • LOOP START
  • LOOP START Import
  • Display the variable: "Education" with the highest average income
  • train.table => used later for Machine Learning
  • Pass data to the H2O.ai context
  • LOOP END
  • ../prepare/header.txt
  • replace(column("income_50k"), ".","" ) clean up a column
  • filter "education" column TRAINING
  • you can also use this node to get the sample data "Adult"
  • list_education.xlsx
  • ../prepare/adult.data
  • ../prepare/adult.test
  • Education
  • insert column Names TRAINING
  • insert column Names TEST
  • census_income_training.parquet
  • census_income_test.parquet
  • TEST
  • sort by education
  • join("Column", string($Counter$)) create an artificial Column NUmber

Nodes

Extensions

Links