Random Forest Learner: Configuration dialog fails to open ("No possible target in input")

Hi KNIME team and community,

I’m encountering a critical issue where the configuration dialog of the Random Forest Learner node fails to open in a basic classification task using the Titanic dataset.

Problem:
When I double-click the node or try to open the configuration, I get the following error:
・The dialog cannot be opened: No possible target in input (node not connected)

This happens despite the node being connected to a properly executed
Partitioning node, and the input data including a valid target column.

Details about the target column Survived:

  • Data type: Integer (0/1)
  • No missing values
  • Appears correctly in Table Output
  • Created from scratch (even via Rule Engine / String Manipulation)

What I have already tried:

  • Using Double to Int on Survived
  • Applying Column Auto Type Cast
  • Using Domain Calculator to enforce nominal domain
  • Re-creating the column using StringRule Engine
  • Preprocessing externally (in Excel) before reading into KNIME
  • Creating a new workflow with only:
    CSV Reader → Partitioning → Random Forest Learner

→ Same error every time.


Other Observations:

  • Random Forest Regression works fine (dialog opens)
  • Decision Tree Learner sometimes works
  • The error occurs regardless of feature columns (even when using only Sex and Survived)

Questions:

  1. Is this a known issue or bug?
  2. How can I force the dialog to open or validate the node’s expected input schema?
  3. How does the Random Forest Learner internally check target eligibility?

I would really appreciate any insights. Thank you in advance!

It would be much easier to troubleshoot if you shared your workflow. Make sure to include the input data in your workflow, i.e. don’t store locally on your computer.

titanic_using_proprocessing.knwf (75.8 KB)
train_preprocessing.csv (30.1 KB)

1 Like

Hi @kingyoshi

Welcome to KNIME Forum!
The Target column has to be of type String. Use the Number to String node to transform Survived from integer to string.
image

gr. Hans

5 Likes