knime3命名行执行方式

来源:互联网 发布:网络词毛线是什么意思 编辑:程序博客网 时间:2024/05/22 12:57

D:\knime_3.2.1\plugins>org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -application org.knime.product.KNIME_BATCH_APPLICATION -reset -workflowFile=C:/learner_project.knwf


“D:\knime_3.2.1\plugins>“为部署路径

“C:/learner_project.knwf”为导出后的模型文件全路径。


参考:http://stackoverflow.com/questions/18879772/view-plot-for-node-in-knime-batch-application/18894170 


D:\knime_3.2.1\plugins>org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -application org.knime.product.KNIME_BATCH_APPLICATION -reset -workflowFile=d:/knime_model/KNIME_test_var_project.knwf -workflow.variable=train_set_table,20161013_analy_base_data_ma5_b3,String -workflow.variable=rlt_set_table,10_14_398_rlt_set_table,String -workflow.variable=test_set_table,10_14_399_rlt_set_table,String


View plot for Node in KNIME_BATCH_APPLICATION

up vote0down votefavorite

I have been using KNIME 2.7.4 for running analysis algorithm. I have integrated KNIME with our existing application to run in BATCH mode using the below command.

<<KNIME_ROOT_PATH>>\\plugins\\org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.knime.product.KNIME_BATCH_APPLICATION -reset -workflowFile=<<Workflow Archive>> -workflow.variable=<<parameter>>,<<value>>,<<DataType>

Knime provide different kinds of plot which I want to use. However I am running the workflow in batchmode. Is there any option in KNIME where I can specify the Node Id and "View" option as a parameter to KNIME_BATCH_APPLICATION.

Would need suggestion or guidance to achieve this functionality.

shareimprove this question
 

1 Answer

activeoldestvotes
up vote0down voteaccepted

I have posted this question in KNIME forum and got the satisfactory answer mentioned below

As per concept of command line execution, this requirement does not fit in. Also there is now way forbatch executor to open the view of specific plot node.

Hence there could be two solutions

Solution 1

Write the output of workflow in a file and use any charitng plugin to plot the graph and do the drilldown activity.

Solution 2

Use jFreeChart and write the image using ImageWriter node which can be displayed in any screen.


0 0