scorer does not shows the total number of instances

02RandomForestClassification.knwf (17.4 KB)
the scorer not shows that all instances used in analysis. the data set includes 9104 instances and the scorer shows
knime scorer

could you help please?

Your downloadable workflow unfortunately contains no data. Just by looking at the structure: Keep in mind that you’re partitioning your data using the Partitioning node, thus the classifier only runs on a subset of your entire dataset.



thanks a lot Philippi,
I am new to knime,get used to use WEKA. I got that the predictor works only in the test partition. but how could make the predictor shows the score on all the data set like in WEKA?
thanks again

Hi Monira,

I don’t know how Weka does it, to be honest. You could of course run the entire data set through the predictor and then score it. But I’m quite sure that this is not what you’ll really want, as you’d be scoring the training data as well, which would give you overly optimistic results :slight_smile: Scoring only the unseen data, is the right way to do it.

If you strictly want to score with all data, I suggest you look into “n-fold cross validation” where you train/test sequentially with several split and aggregate the evaluation results. KNIME seems to have some nodes for that too (never used them personally):

Hope this helps!


WEKA do it through cross validation. Do you think that I need to use the cross validation node before or after partitioning?

Yes, just give it a try :+1:

1 Like

thank you will give it a go.

Hi I do not know Weka either but there is no need to partition if you do cross validation.It should do the splitting within the cross validation

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.