Bug Reporting - Prediction Fusion Node

Hi There,
Prediction Fusion node have some issues with Method. Mean is ok. but Maximum and minimum does not work correctly.

knime://EXAMPLES/04_Analytics/13_Meta_Learning/01_Combining_Classifiers_using_Prediction_Fusion
This workflow from the example workflow demostrates the problem.

Actually, class confidences in the example should be corrected as well, like the upper image.
when you select Method to “maximum” or “minimum”, “fused confidence” in the ouput window does not behave as intended;

image

No error on the console is generated thus this is a calculation mistake.

Set up details;
KNIME 3.7.1
OS: Windows 10, v.10.0, x86_64 / win32
Hardware: Lenovo Thinkpad T560
Cpu: i5 intel
Ram : 16 GB

Prediction Fusion is a very powerful node for model building, I hope you can give it a high priority in the To Do List. :slight_smile:
Thanks for your efforts,
Best Regards,
Safak Tan Ozkan

Ps: in case you need the installed extensions as described in the bug reporting Best practices;

Data Tools Platform Enablement for IBM Source 1.14.1.201712071719 org.eclipse.datatools.enablement.ibm.feature.source.feature.group Eclipse Data Tools Platform
Erlwood Knime Open Source Cheminformatics 3.3.0.v201701271222 org.erlwood.features.cheminformatics.base.feature.group Erlwood
Erlwood Knime Open Source Core 3.3.0.v201701271222 org.erlwood.features.core.base.feature.group Erlwood
KNIME Active Learning 3.7.0.v201808081048 org.knime.features.activelearning.feature.group KNIME AG, Zurich, Switzerland
KNIME Amazon Athena Connector 3.7.0.v201808081048 org.knime.features.cloud.aws.athena.feature.group KNIME AG, Zurich, Switzerland
KNIME Amazon Cloud Connectors 3.7.0.v201811131712 org.knime.features.cloud.aws.feature.group KNIME AG, Zurich, Switzerland
KNIME Amazon Redshift Connector And Tools 3.7.0.v201808081048 org.knime.features.cloud.aws.redshift.feature.group KNIME AG, Zurich, Switzerland
KNIME Amazon Redshift Driver 3.7.0.v201808081048 org.knime.features.cloud.aws.redshift.driver.feature.group KNIME AG, Zurich, Switzerland
KNIME Analytics Platform 3.7.1.v201901291056 org.knime.product.desktop null
KNIME Audio Processing 3.7.0.v201808081048 org.knime.features.audio.feature.group KNIME AG, Zurich, Switzerland
KNIME Autoregressive integrated moving average (ARIMA) 3.7.0.v201808081048 org.knime.features.arima.feature.group KNIME AG, Zurich, Switzerland
KNIME Azure Cloud Connectors 3.7.0.v201811131712 org.knime.features.cloud.azure.feature.group KNIME AG, Zurich, Switzerland
KNIME Base Chemistry Types & Nodes 3.7.0.v201808081048 org.knime.features.chem.types.feature.group KNIME AG, Zurich, Switzerland
KNIME Big Data Connectors 3.7.0.v201811300803 org.knime.features.bigdata.connectors.feature.group KNIME AG, Zurich, Switzerland
KNIME Build System 3.7.0.v201812031100 org.knime.features.build.feature.group KNIME AG, Zurich, Switzerland
KNIME Chemistry Add-Ons 3.7.0.v201808081048 org.knime.features.ext.chem.tools.feature.group KNIME AG, Zurich, Switzerland
KNIME Data Generation 3.7.0.v201808081048 org.knime.features.datageneration.feature.group KNIME AG, Zurich, Switzerland
KNIME Database (Preview) 3.7.1.v201901281155 org.knime.features.database.feature.group KNIME AG, Zurich, Switzerland
KNIME Deep Learning - Keras Integration 3.7.1.v201901281155 org.knime.features.dl.keras.feature.group KNIME AG, Zurich, Switzerland
KNIME Deep Learning - TensorFlow Integration 3.7.1.v201901281201 org.knime.features.dl.tensorflow.feature.group KNIME AG, Zurich, Switzerland
KNIME Deeplearning4J Integration (64bit only) 3.7.1.v201901281155 org.knime.features.ext.dl4j.feature.group KNIME AG, Zurich, Switzerland
KNIME Deeplearning4J Test Framework 3.7.0.v201808081048 org.knime.features.ext.dl4j.testing.feature.group KNIME AG, Zurich, Switzerland
KNIME Distance Matrix 3.7.0.v201809280949 org.knime.features.distmatrix.feature.group KNIME AG, Zurich, Switzerland
KNIME Expressions 3.7.1.v201901281157 org.knime.features.expressions.feature.group KNIME AG, Zurich, Switzerland
KNIME Extension for Apache Kafka (Preview) 3.7.0.v201808081048 org.knime.features.kafka.feature.group KNIME AG, Zurich, Switzerland
KNIME Extension for Big Data File Formats 3.7.1.v201901281147 org.knime.features.bigdata.fileformats.feature.group KNIME AG, Zurich, Switzerland
KNIME Extension providing the Chromium Browser 70.0.3538.v201811081450 org.knime.features.ext.chromium.feature.group KNIME AG, Zurich, Switzerland
KNIME External Tool Support 3.7.0.v201811281631 org.knime.features.ext.exttool.feature.group KNIME AG, Zurich, Switzerland
KNIME External Tool Support (Labs) 3.7.0.v201808081048 org.knime.features.exttool.feature.group KNIME AG, Zurich, Switzerland
KNIME File Handling Nodes 3.7.0.v201811132201 org.knime.features.base.filehandling.feature.group KNIME AG, Zurich, Switzerland
KNIME H2O Machine Learning Integration 3.7.1.v201901281201 org.knime.features.ext.h2o.feature.group KNIME AG, Zurich, Switzerland
KNIME H2O Sparkling Water Integration 2.4.0.v201812031558 org.knime.features.ext.h2o.spark.feature.group KNIME AG, Zurich, Switzerland
KNIME HCS Tools 3.3.0.v201902130805 de.mpicbg.tds.knime.hcstools.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME HTML/PDF Writer 3.7.0.v201808081048 org.knime.features.ext.birt.feature.group KNIME AG, Zurich, Switzerland
KNIME Image Processing 1.7.0.201903130518 org.knime.knip.feature.feature.group University of Konstanz / KNIME
KNIME Image Processing - Deep Learning Extension 1.0.1.v201806281309 org.knime.knip.dl.feature.feature.group KNIME GmbH
KNIME Image Processing - Deeplearning4J Integration (64bit only) 1.1.2.v201807091245 org.knime.knip.dl4j.feature.feature.group University of Konstanz, Germany
KNIME Image Processing - Python Extensions 1.0.7.v201807091342 org.knime.knip.knimepython.feature.feature.group University of Konstanz / MPICBG Dresden / BioTec TU Dresden
KNIME Indexing and Searching 3.7.0.v201808081048 org.knime.features.ext.lucene.feature.group KNIME AG, Zurich, Switzerland
KNIME Interactive R Statistics Integration 3.7.1.v201901291055 org.knime.features.r.feature.group KNIME AG, Zurich, Switzerland
KNIME Itemset Mining 3.7.0.v201808081048 org.knime.features.ext.itemset.feature.group KNIME AG, Zurich, Switzerland
KNIME JavaScript Views 3.7.1.v201901281201 org.knime.features.js.views.feature.group KNIME AG, Zurich, Switzerland
KNIME JavaScript Views (Labs) 3.7.1.v201901281201 org.knime.features.js.views.labs.feature.group KNIME AG, Zurich, Switzerland
KNIME JFreeChart 3.7.0.v201808081048 org.knime.features.ext.jfreechart.feature.group KNIME AG, Zurich, Switzerland
KNIME JPMML Integration 3.7.0.v201808081048 org.knime.features.jpmml.feature.group KNIME AG, Zurich, Switzerland
KNIME Jython Scripting (Legacy) 3.7.0.v201808081048 org.knime.features.ext.jython.feature.group KNIME AG, Zurich, Switzerland
KNIME Microsoft JDBC Driver For SQL Server 6.2.2.v201805030958 org.knime.features.database.connectors.sqlserver.driver.feature.group KNIME AG, Zurich, Switzerland
KNIME Microsoft JDBC Driver For SQL Server (Preview) 3.7.0.v201811171112 org.knime.features.database.extensions.sqlserver.driver.feature.group KNIME GmbH
KNIME Microsoft R Integration (Run R Model in Microsoft SQL Server) 3.7.0.v201808081048 org.knime.features.microsoft.r.feature.group KNIME AG, Zurich, Switzerland
KNIME Modular PMML Nodes 3.7.0.v201811301451 org.knime.features.base.pmml.feature.group KNIME AG, Zurich, Switzerland
KNIME MongoDB Integration 3.7.0.v201808081048 org.knime.features.mongodb.feature.group KNIME AG, Zurich, Switzerland
KNIME Neighborgram & ParUni 3.7.0.v201808081048 org.knime.features.neighborgram.feature.group KNIME AG, Zurich, Switzerland
KNIME Network Mining 3.7.0.v201811121041 org.knime.features.network.feature.group KNIME AG, Zurich, Switzerland
KNIME Network Mining distance matrix support 3.7.0.v201808081048 org.knime.features.network.distmatrix.feature.group KNIME AG, Zurich, Switzerland
KNIME Node Wizard 3.7.0.v201808081048 org.knime.features.wizard.feature.group KNIME AG, Zurich, Switzerland
KNIME Nodes for Wide Data (many columns) 3.7.0.v201808081048 org.knime.features.base.widedata.feature.group KNIME AG, Zurich, Switzerland
KNIME Open Street Map Integration 3.7.0.v201808281050 org.knime.features.ext.osm.feature.group KNIME AG, Zurich, Switzerland
KNIME Optimization extension 3.7.0.v201811301807 org.knime.features.optimization.feature.group KNIME AG, Zurich, Switzerland
KNIME PMML Preprocessing Applier Nodes 3.7.0.v201808081048 org.knime.features.base.pmml2.feature.group KNIME AG, Zurich, Switzerland
KNIME PMML Translation 3.7.0.v201808081048 org.knime.features.base.pmml.translation.feature.group KNIME AG, Zurich, Switzerland
KNIME Public Server Access 3.7.0.v201811291502 com.knime.features.enterprise.client.exampleserver.feature.group KNIME AG, Zurich, Switzerland
KNIME Python Integration 3.7.1.v201901281201 org.knime.features.python2.feature.group KNIME AG, Zurich, Switzerland
KNIME Python Scripting extension 3.3.0.v201902130805 de.mpicbg.tds.knime.scripting.python.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME Quick Forms (legacy) 3.7.0.v201808081356 org.knime.features.quickform.legacy.feature.group KNIME AG, Zurich, Switzerland
KNIME R Scripting extension 3.3.0.v201902130805 de.mpicbg.tds.knime.scripting.r.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME R Statistics Integration (Windows Binaries) 3.4.2.v201901281201 org.knime.features.ext.r.bin.feature.group KNIME AG, Zurich, Switzerland
KNIME Report Designer 3.7.0.v201808081048 com.knime.features.reporting.designer.feature.group KNIME AG, Zurich, Switzerland
KNIME REST Client Extension 3.7.0.v201808081048 org.knime.features.rest.feature.group KNIME AG, Zurich, Switzerland
KNIME Rule Viewer 3.7.0.v201808081048 org.knime.features.ext.md.feature.group Otto-von-Guericke-University Magdeburg, Germany
KNIME SDK 3.7.0.v201901291053 org.knime.features.sdk.feature.group KNIME AG, Zurich, Switzerland
KNIME Semantic Web 3.7.0.v201808081048 org.knime.features.semanticweb.feature.group KNIME AG, Zurich, Switzerland
KNIME ServerSpace 4.8.1.v201901281201 com.knime.features.explorer.serverspace.feature.group KNIME AG, Zurich, Switzerland
KNIME Statistics Nodes (Labs) 3.7.0.v201811231135 org.knime.features.stats2.feature.group KNIME AG, Zurich, Switzerland
KNIME Streaming Execution (Beta) 3.7.0.v201808081048 org.knime.features.core.streaming.feature.group KNIME AG, Zurich, Switzerland
KNIME SVG Support 3.7.0.v201809121043 org.knime.features.ext.svg.feature.group KNIME AG, Zurich, Switzerland
KNIME Testing Framework 3.7.0.v201811021340 org.knime.features.testingapplication.feature.group KNIME AG, Zurich, Switzerland
KNIME Textprocessing - Deeplearning4J Integration (64bit only) 3.7.0.v201808081048 org.knime.features.ext.textprocessing.dl4j.feature.group KNIME AG, Zurich, Switzerland
KNIME Textprocessing Chinese Language Pack 3.7.0.v201808081048 org.knime.features.ext.textprocessing.language.chinese.feature.group KNIME AG, Zurich, Switzerland
KNIME Textprocessing French Language Pack 3.7.0.v201808102137 org.knime.features.ext.textprocessing.language.french.feature.group KNIME AG, Zurich, Switzerland
KNIME Textprocessing German Language Pack 3.7.0.v201808081048 org.knime.features.ext.textprocessing.language.german.feature.group KNIME Gmbh, Konstanz, Germany
KNIME Textprocessing Spanish Language Pack 3.7.0.v201810291013 org.knime.features.ext.textprocessing.language.spanish.feature.group KNIME Gmbh, Konstanz, Germany
KNIME Textprocessing Turkish Language Pack 3.7.1.v201901281201 org.knime.features.ext.textprocessing.language.turkish.feature.group KNIME AG, Zurich, Switzerland
KNIME Twitter & Google Connectors 3.7.1.v201901281201 org.knime.features.ext.socialmedia.feature.group KNIME AG, Zurich, Switzerland
KNIME Virtual Nodes 3.7.0.v201808081048 org.knime.features.virtual.feature.group KNIME AG, Zurich, Switzerland
KNIME Web Service Client 3.7.0.v201808081048 org.knime.features.ext.webservice.client.feature.group KNIME AG, Zurich, Switzerland
KNIME Webanalytics 3.7.0.v201808081048 org.knime.features.webanalytics.feature.group KNIME AG, Zurich, Switzerland
KNIME Weka Data Mining Integration (3.7) 3.7.0.v201808130847 org.knime.features.ext.weka_3.7.feature.group KNIME AG, Zurich, Switzerland
KNIME XGBoost Integration 3.7.1.v201901281202 org.knime.features.xgboost.feature.group KNIME AG, Zurich, Switzerland
Market Simulation nodes by Scientific Strategy for KNIME - Community Edition 3.7.0.v201903060734 com.scientificstrategy.community.features.feature.group Decision Ready, LLC
MMI Data Analytics Nodes 1.0.100.v201807020751 com.mmiagency.knime.feature.feature.group MMI Agency
NodePit for KNIME 1.1.0.201812211811 com.nodepit.knime.feature.feature.group NodePit
Palladian for KNIME 1.7.0.v201807041014 ws.palladian.nodes.feature.feature.group palladian.ws; Philipp Katz, Klemens Muthmann, David Urbansky.
Vernalis KNIME Nodes 1.18.1.v201812201431 com.vernalis.knime.feature.feature.group Vernalis

Hello @Safak,

I opened a bug report for this issue since I don’t understand what the node is doing for the minimum or maximum option.

Best,

Adrian

1 Like

Hello,

I can confirm the same error, and hoping it will be fixed soon.

Best,
David

Version: KNIME 3.7.1 on Windows 7

Installed extensions:

Erlwood Knime Open Source Cheminformatics 3.3.0.v201701271222 org.erlwood.features.cheminformatics.base.feature.group Erlwood
Erlwood Knime Open Source Core 3.3.0.v201701271222 org.erlwood.features.core.base.feature.group Erlwood
KNIME Analytics Platform 3.7.1.v201901291056 org.knime.product.desktop null
KNIME Extension providing the Chromium Browser 70.0.3538.v201811081450 org.knime.features.ext.chromium.feature.group KNIME AG, Zurich, Switzerland
KNIME Image Processing 1.7.0.201903130518 org.knime.knip.feature.feature.group University of Konstanz / KNIME
KNIME Image Processing - Deep Learning Extension 1.0.1.v201806281309 org.knime.knip.dl.feature.feature.group KNIME GmbH
KNIME Image Processing - Deeplearning4J Integration (64bit only) 1.1.2.v201807091245 org.knime.knip.dl4j.feature.feature.group University of Konstanz, Germany
KNIME Image Processing - OMERO Integration 0.10.1.v201703231145 org.knime.knip.omero.feature.feature.group KNIME / OME
KNIME Image Processing - Python Extensions 1.0.7.v201807091342 org.knime.knip.knimepython.feature.feature.group University of Konstanz / MPICBG Dresden / BioTec TU Dresden
KNIME JavaScript Views 3.7.1.v201901281201 org.knime.features.js.views.feature.group KNIME AG, Zurich, Switzerland
KNIME Matlab Scripting extension 3.3.0.v201902130805 de.mpicbg.tds.knime.scripting.matlab.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME Public Server Access 3.7.0.v201811291502 com.knime.features.enterprise.client.exampleserver.feature.group KNIME AG, Zurich, Switzerland
KNIME Python Scripting extension 3.3.0.v201902130805 de.mpicbg.tds.knime.scripting.python.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME R Scripting extension 3.3.0.v201902130805 de.mpicbg.tds.knime.scripting.r.feature.feature.group Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)
KNIME REST Client Extension 3.7.0.v201808081048 org.knime.features.rest.feature.group KNIME AG, Zurich, Switzerland
KNIME ServerSpace 4.8.1.v201901281201 com.knime.features.explorer.serverspace.feature.group KNIME AG, Zurich, Switzerland
KNIME Shapefile Support 1.5.0.v201611221422 de.bund.bfr.knime.esri.feature.feature.group Federal Institute for Risk Assessment (BfR)
KNIME SVG Support 3.7.0.v201809121043 org.knime.features.ext.svg.feature.group KNIME AG, Zurich, Switzerland
KNIME Weka Data Mining Integration (3.7) 3.7.0.v201808130847 org.knime.features.ext.weka_3.7.feature.group KNIME AG, Zurich, Switzerland
KNIME-CDK 1.5.600.v201711101057 org.openscience.cdk.knime.feature.feature.group University Konstanz and EBI
Lhasa Metabolism Feature 1.1.2.v201712071647 org.lhasalimited.knime.metabolism.feature.feature.group Lhasa Limited (http://www.lhasalimited.org)
Lhasa public plugin 1.1.500.v201711091216 org.lhasalimited.knime.public.feature.feature.group Lhasa Limited (http://www.lhasalimited.org)
MMI Data Analytics Nodes 1.0.100.v201807020751 com.mmiagency.knime.feature.feature.group MMI Agency
RDKit KNIME integration 3.4.0.v201807311105 org.rdkit.knime.feature.feature.group NIBR
RDKit KNIME Wizards 3.4.0.v201807311105 org.rdkit.knime.wizards.feature.feature.group NIBR
Source for KNIME Weka Data Mining Integration 3.1.2.v201808081048 org.knime.features.ext.weka.source.feature.group KNIME AG, Zurich, Switzerland
Source for KNIME Weka Data Mining Integration (3.6) 2.10.2.v201808081048 org.knime.features.ext.weka_3.6.source.feature.group KNIME AG, Zurich, Switzerland
Source for KNIME Weka Data Mining Integration (3.7) 3.7.0.v201808130847 org.knime.features.ext.weka_3.7.source.feature.group KNIME AG, Zurich, Switzerland
Vernalis KNIME Nodes 1.19.0.v201904011129 com.vernalis.knime.feature.feature.group Vernalis

Hi all,

sorry for the late reply. After the Prediction Fusion node applies the fusion method, the resulting probabilities are normalized such that they add up to one. That is the reason one is not directly seeing the ‘real’ maximum of the predictions as output. We missed that in the documentation, which will be fixed soon.

Cheers,
David

2 Likes