Confusing results with decision tree

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
Igor
Posts: 5
Joined: Sun Nov 14, 2021 5:08 pm

Confusing results with decision tree

Post by Igor »

Dear colleagues,
Hopefully, you will be able to help me. I tried to use a decision tree procedure withing snowCluster block, but received very confusing results. The first node is invariably dichotomised at negative values, although there are no negative values in my dataset at all. I have tried to perform this procedure with the Iris dataset, and again there were negative values at the first node (see figure attched). Could you please advise me what might have been a matter and what is the solution? Thank you in advance.
Attachments
This is how a Decision tree looks like
This is how a Decision tree looks like
Iris.png (68.56 KiB) Viewed 5054 times
User avatar
seol
Posts: 190
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Confusing results with decision tree

Post by seol »

Hi

That's because I've standardized the variables. However, I found that it is not necessary to standardize data in decision tree analysis in literature review., so I will update it in the next version.

Best Regards
Seol
Igor
Posts: 5
Joined: Sun Nov 14, 2021 5:08 pm

Re: Confusing results with decision tree

Post by Igor »

Hi Seol,
Thank you for your explanation. Now I will be looking very much forward to getting and update version of this module.
With kindest regards,
Igor
User avatar
seol
Posts: 190
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Confusing results with decision tree

Post by seol »

Hi

Update snowCluster module in jamovi library now.


Best Regards
Seol
Attachments
이미지 002.png
이미지 002.png (18.15 KiB) Viewed 4891 times
cri_0123
Posts: 3
Joined: Tue Jul 23, 2024 7:37 pm

Re: Confusing results with decision tree

Post by cri_0123 »

Dear Jamovi researchers,

Thank you for your work.
I have two questions.

1. I can install snowCluster - Multivariate Analysis 7.1.7 (not 7.3.3): is it ok?

2. Using the Decision Tree, I see I have 204 entries, but in the confusion matrix, I always see 30 + 30 = max 60.
I never see a total of 120 entries.

I hope you can help me find the error.

Cristina
User avatar
seol
Posts: 190
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Confusing results with decision tree

Post by seol »

Hi cri_0123

Please update the latest version of snowCluster module shown below.

I'm not sure I understand your second question. Can you explain a little more?

Best Regards
Seol
Attachments
1.png
1.png (22.47 KiB) Viewed 3343 times
cri_0123
Posts: 3
Joined: Tue Jul 23, 2024 7:37 pm

Re: Confusing results with decision tree

Post by cri_0123 »

Dear Seol,

I use the (updated) Jamovi version 2.3.28.
How can I update the snow cluster? Jamovi shows me only snowCluster - Multivariate Analysis 7.1.7 (not 7.3.3) -see picture below.

Regarding my question on the decision tree, I made a screenshot: I have 207 subjects, but the confusion matrix shows 30 + 30 = 60 data.
It seems to me there is a problem.

I hope it is more clear

thank you
Cristina
Attachments
Decision_tree_207_vs60.jpg
Decision_tree_207_vs60.jpg (237.96 KiB) Viewed 3323 times
snowcluster.jpg
snowcluster.jpg (117.26 KiB) Viewed 3323 times
User avatar
seol
Posts: 190
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Confusing results with decision tree

Post by seol »

Hi Cristina

First, you shoud install the latest version of jamovi(ver.2.5.6) and then try to update snowCluster module in jamovi library.

Second, Try to run data analysis again to see what happen. If your analysis shows strange results, please attach the .omv file here.

Best Regards
Seol
User avatar
seol
Posts: 190
Joined: Mon Dec 04, 2017 8:40 am
Location: Seoul, Korea
Contact:

Re: Confusing results with decision tree

Post by seol »

Here is a result with iris data.
Attachments
1.png
1.png (116.79 KiB) Viewed 3297 times
cri_0123
Posts: 3
Joined: Tue Jul 23, 2024 7:37 pm

Re: Confusing results with decision tree

Post by cri_0123 »

I did it! I fixed the error, I did the update
Thank you
Post Reply