knime3命令行执行方式

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


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.

share improve this question
 

1 Answer

up vote 0 down vote accepted

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值