Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different plots with the same code? #48

Open
dr-jojo opened this issue Jan 19, 2023 · 0 comments
Open

Different plots with the same code? #48

dr-jojo opened this issue Jan 19, 2023 · 0 comments

Comments

@dr-jojo
Copy link

dr-jojo commented Jan 19, 2023

I ran a model with the c5.0 but when I plot it I get different results each time. Specifically the barplot on the terminal nodes change slightly. I attached a picture as an example. I may not be understanding something, but help would be appreciated. Thanks

sex.mod2.c5= C5.0(x=offenders.train.imp[c(-1, -2, -3, -4, -6, -7, -15, -50, -51)],
y=offenders.train.imp$Sex,
control = C5.0Control(winnow = TRUE,
minCases = 10,
noGlobalPruning = FALSE,
seed = sample.int(12345, size = 1) - 1L))

plot(sex.mod2.c5)

Untitled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant