Icon

03_​Python

13 workflows in this folder and its subfolders

Icon
01_​Using_​Python_​Script_​in_​Databases

December 2015 · This workflow demonstrates the usage of the Python Script (DB) node that allows you to access data from a database directly within your Python script. Using this node you can alter the data within a database row by row without the need to load all the data at once. Notice, that the red connection po…

Icon
02_​embedding_​documents_​with_​jupyter

July 2018 · Execute the workflow and open the interactive configuration to see the result of t-SNE, whose code is read from a Jupyter notebook stored in the workflow data. Requirements: - KNIME >= v3.7. - A python installation that includes scikit-learn. - The KNIME Python extensions, properly configured to use…

Icon
03_​Fetch_​ChEMBL_​Target_​Data

October 2018 · This workflow uses a query against a SQL version of the ChEMBL database to retrieve a bunch of information about user-provided targets. It's primarily intended to be used as either a web service (deployed via the KNIME Server) or by calling it from Python (using KNIME's Python integration). In order…

Icon
04_​Using_​Jupyter_​from_​KNIME_​to_​embed_​documents

July 2018 · This workflow uses functionality provided in a Jupyter notebook to embed documents from a topic-space representation into 2D Euclidean space. The embedding is done using scikit-learn's implementation of the t-SNE algorithm. KNIME Extensions requirements: - Textprocessing. - KNIME Python Scripting. T…

Icon
06_​Using_​Conda_​Environment_​Propagation_​and_​Python_​Script_​with_​Multiple_​ports

December 2020 · 06_Environment_Propagation_and_Python_Script_example This workflow shows an example of the usage of the following nodes: Conda Environment Propagation node: a pre-configured conda environment containing all the necessary packages to run the Python Script node is shipped with the workflow. When the w…

Icon
07_​Python_​Script_​example

December 2021 · Python Script example with new Python API backend This workflow uses the new Python Script node. This node features a new backend that makes execution of Python scripts as fast in KNIME as it is anywhere else. Random data is generated by using the Data Generator node and a flow variable is created v…