Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
KNIME from Jupyter_demo.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mbezy

This comment has been minimized.

Copy link

@mbezy mbezy commented Feb 12, 2019

Hi, thanks for sharing the code!
One question: if there are several container input in the Knime workflow, how can one know in which order to provide the inputs in the Python code (using the "data_table_inputs" function)?
Thank you!

@maxime-beck

This comment has been minimized.

Copy link

@maxime-beck maxime-beck commented Aug 3, 2019

This is very useful thank you!
In terms of execution time, would there be any optimization possible? It's quite long to execute even the smallest workflow (8 seconds to create and sort 4 cells). I would assume most of this time is used to load the workflow?

@greglandrum

This comment has been minimized.

Copy link
Owner Author

@greglandrum greglandrum commented Aug 5, 2019

@maxime-beck : because this needs to launch a KNIME Analytics Platform instance each time you run a workflow, it's always going to take a while. I find it most useful when combined with workflows that already take a long time to execute.

If you're a KNIME Server customer: there will be an updated version of the package soon that can take advantage of a KNIME Server to execute the workflows. This will allow a much lower latency than we get when using things locally.

@maxime-beck

This comment has been minimized.

Copy link

@maxime-beck maxime-beck commented Aug 5, 2019

@greglandrum I see that the library is invoking the KNIME Batch Application but that CLI doesn't provide a way to just start an instance and keep it running. Is there any plan to add that feature to the Batch Application anytime soon? That would greatly improve the performances of the Jupyter integration.

@nguyenduydu

This comment has been minimized.

Copy link

@nguyenduydu nguyenduydu commented Sep 2, 2019

@mbezy: I have the same question. Have you found the answer yet?

@arddashti

This comment has been minimized.

Copy link

@arddashti arddashti commented Oct 8, 2020

Hi, thanks for sharing the code!
This is very very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment