radiant-rstats / radiant

Business analytics using R and Shiny. The radiant app combines the menus from radiant.data, radiant.design, radiant.basics, radiant.model, and radiant.multivariate.
https://radiant-rstats.github.io/docs/
Other
459 stars 136 forks source link

Classification Tree Plot (Weird) #189

Closed nmullapudi closed 2 years ago

nmullapudi commented 2 years ago

Hi,

I'm naga (ex Rady school student). I use Radiant in my office to make my life easy when building the models. I'm currently working on Sales Data and tried to built a classification tree model. I built a classification tree model with Max Nodes 19 (suggested by prune) and tried to plot the classification tree. But the plot looks weird (like attached). Clearly it doesn't look like a regular tree with green boxes. Is this a known error? How do I fix it? Can you please help.

Tree Figure

vnijs commented 2 years ago

Hi Naga,

The decision tree module seems to be working fine. Can you try updating to the latest version of all radiant packages? Also, what version of R are you using? The latest version is 4.2.1.

Install.packages(“radiant”)

Best,

Vincent

@.***

From: nmullapudi @.> Date: Tuesday, October 11, 2022 at 12:40 PM To: radiant-rstats/radiant @.> Cc: Subscribed @.***> Subject: [radiant-rstats/radiant] Classification Tree Plot (Weird) (Issue #189)

Hi,

I'm naga (ex Rady school student). I use Radiant in my office to make my life easy when building the models. I'm currently working on Sales Data and tried to built a classification tree model. I built a classification tree model with Max Nodes 19 (suggested by prune) and tried to plot the classification tree. But the plot looks weird (like attached). Clearly it doesn't look like a regular tree with green boxes. Is this a known error? How do I fix it? Can you please help.

[Tree Figure]https://urldefense.com/v3/__https:/user-images.githubusercontent.com/85891988/195182946-2a1c21cc-e37b-4bcc-b885-f2b33ab1454c.JPG__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaGAkHM4GU$

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/radiant-rstats/radiant/issues/189__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaG6zinjms$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AAW4FLG2KJJPGTD4LSZT4BTWCW7CNANCNFSM6AAAAAARCTMOBI__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaGeAykwXc$. You are receiving this because you are subscribed to this thread.Message ID: @.***>

nmullapudi commented 2 years ago

Professor,

I did make sure the versions are up to date when I saw the error. The error doesn’t show up all the time, and it is difficult (or recreate) to guess when it will show up. It is working fine since yesterday. But may come again. I will get back to you if I see the error again. For now, I’m able to get my job done. Thank you for the quick response.

Naga Mullapudi​​ | Senior Statistical Analyst | Info-Tech Research Group | 888 Yonge Street | Toronto, ON | M4W 2J2 O: +1 (888) 670-8889 x3363 | infotechhttps://www.infotech.com/.https://www.infotech.com/comhttps://www.infotech.com/ @. @.https://go.infotech.com/info-tech-linkedin @.https://go.infotech.com/info-tech-twitter @.

From: Vincent Nijs @.> Sent: October 13, 2022 3:23 PM To: radiant-rstats/radiant @.> Cc: Naga Mullapudi @.>; Author @.> Subject: Re: [radiant-rstats/radiant] Classification Tree Plot (Weird) (Issue #189)

Hi Naga,

The decision tree module seems to be working fine. Can you try updating to the latest version of all radiant packages? Also, what version of R are you using? The latest version is 4.2.1.

Install.packages(“radiant”)

Best,

Vincent

@.<mailto:@.>

From: nmullapudi @.<mailto:@.>> Date: Tuesday, October 11, 2022 at 12:40 PM To: radiant-rstats/radiant @.<mailto:@.>> Cc: Subscribed @.<mailto:@.>> Subject: [radiant-rstats/radiant] Classification Tree Plot (Weird) (Issue #189)

Hi,

I'm naga (ex Rady school student). I use Radiant in my office to make my life easy when building the models. I'm currently working on Sales Data and tried to built a classification tree model. I built a classification tree model with Max Nodes 19 (suggested by prune) and tried to plot the classification tree. But the plot looks weird (like attached). Clearly it doesn't look like a regular tree with green boxes. Is this a known error? How do I fix it? Can you please help.

[Tree Figure]https://urldefense.com/v3/__https:/user-images.githubusercontent.com/85891988/195182946-2a1c21cc-e37b-4bcc-b885-f2b33ab1454c.JPG__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaGAkHM4GU$

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/radiant-rstats/radiant/issues/189__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaG6zinjms$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AAW4FLG2KJJPGTD4LSZT4BTWCW7CNANCNFSM6AAAAAARCTMOBI__;!!Mih3wA!Bwh1ndgJLxjvgVPfqPVsRtTcBrE8Wjg952TBgLQ5YuU6yNTdpAFbbXKCWZAsJ_TzCATPb2IOE-SRMpaGeAykwXc$. You are receiving this because you are subscribed to this thread.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fradiant-rstats%2Fradiant%2Fissues%2F189%23issuecomment-1278081351&data=05%7C01%7Cnmullapudi%40infotech.com%7C9a23da728b7a440d821808daad505883%7C113d1920a1e048cfa70a868cbb03f3f6%7C1%7C0%7C638012857868943834%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7TgElgEA8cs7xv1pplsxfBB0zKmcTamj6CKwhL1nQVg%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUPJXFFVQKJ5662TBGWRVZDWDBORLANCNFSM6AAAAAARCTMOBI&data=05%7C01%7Cnmullapudi%40infotech.com%7C9a23da728b7a440d821808daad505883%7C113d1920a1e048cfa70a868cbb03f3f6%7C1%7C0%7C638012857869100049%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8R%2FjEgNjsTXfjidGYq4LeoglwuLr%2FtCCWgd%2FD%2Bnjw9k%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

vnijs commented 2 years ago

Thanks for the update Naga. I'll close the issue for now but feel free to reopen as needed.