Can I create a workflow via a programme?

Hello, everyone!
The primary goal of my master dissertation is to develop a guidance application for users who want to build a workflow on the KNIME platform. This guidance application should be intelligent and flexible to give users advice during the building process. I’ve checked the feature of Workflow Coach, but the guidance degree it can provide is not enough.
Then I want to have a look at the *.knwf file. This file is a compressed file that contains all the detail with respect to the corresponding workflow. Basically, it contains the following content.


My dissertation supervisor told me I can use data profiling method to analyse the dataset and find the patterns among this dataset. I find this guided exploration example is quite useful and I want to build this workflow via Python programme. My intentional scenario about this guidance application is after user uploaded their dataset, this Python programme will using data profiling methods to compute and analysis the feature of this dataset(e.g. find the most uniform histogram, most skewed histogram, most correlated columns), then generate a *.knwf file so users can simply import this file into KNIME to visualise the whole workflow. It would be better if the user could execute the new generated workflow to visualise the data and interact with those nice charts.

This sounds like a pretty ambitious project not only creating workflows by outside code but also to improve on the suggestions how to handle data

IBM SPSS Modeler (aka “Clementine”) has (had?) such a meta script language to create a graphical workflow (I used a previous version back in the days). But without the automatic suggestions.

ftp://ftp.software.ibm.com/software/analytics/spss/documentation/modeler/14.2/en/ScriptingAutomation.pdf

Not wanting to discourage you but you might want to check if this project is doable at all.

5 Likes

Thanks for your comment, it’s not easy work. I try to search for many resources that could give me a few hints but I failed. Your feedback let me know how big this project is and obviously, I cannot accomplish it within a month. But I’ll stick around in this plan for a while if someone’s comment could inspire me a lot.

2 Likes

in general KNIME nodes are XML files and the connections between them might also be interpreted as XML files and meta nodes.

You might aim for something like a technology demonstration where you create a simple workflow from a collection of nodes and create connections between them. Then you would discuss what are the challenges and present that as a:

  • discussion what would be necessary to create such a meta creator
  • create a small demo that would show how it would be done

That might be suitable for a masters degree. And also it might be interesting to see if you could create such a system with KNIME itself :slight_smile: -)

As further inspiration I created a meta search using the XML files of KNIME:

https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_metasearch/kn_example_metasearch_workflowset_knime~iKqkejz2PgX4bw3g

The other example would be a backup strategy that would use an outside tool to handle KNIME workflows:

4 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.