Fit Random Forest Classifier cannot be used in model builder
To create a RFC model I want to combine the training steps in a QGIS model using the QGIS Model Builder.
However, it seems impossible to use the “Create classification dataset” output as input of the Fit Random Forest Classifier algorithm:
The common options to define algorithm inputs based on a static value, model inputs or algorithm outputs are missing.
Comments (10)
-
-
In case of the Modeler, I would need to return the original InputFile-Widget here:
-
Code would look like this:
But I have no idea, how to create the original widget:
@Benjamin Jakimow do you have any idea?
-
It seams to be impossible to have a custom widget, that behaves like a normal widget inside the modeler.
I now implemented two versions of the Fit RFC algorithm, the normal one with the custom widget, and a special version for the modeler without the custom widget:
@Benjamin Jakimow please try it out. If we like it, I will do this for all algorithms that are using custom widgets.
-
- changed status to resolved
resolves #1366
→ <<cset af2ef69c309d>>
-
- changed status to open
-
- marked as critical
-
related to #1387 ?
-
yes
-
Issue
#1387was marked as a duplicate of this issue. - Log in to comment
Interesting.
I thought that this button would be provided by the Processing Framework, but it’s not.