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

Cdectree_expected_values and dectree_expected_values give different results #6

Open
jogwalker opened this issue Nov 16, 2020 · 2 comments

Comments

@jogwalker
Copy link

Hi, I have been playing around with this package and trying to get it to work for quite a big decision tree which would be a huge hassle to manually calculate expected probabilities. It looks like in dectree_expected_values all endpoint nodes are given their inputted cost value directly, while in Cdectree_expected_values, endpoint nodes have a value of 0.

@n8thangreen
Copy link
Collaborator

Hi Josephine (I think!), there are certainly inconsistencies with this. I've basically just kept adding bits to it over quite a bit of time whenever I needed something for a project so theres very little overall design decision. Its great that you're trying it out tho! I should sort it out so this is a good excuse. Can you send me the example you've tried which gives the problem please and I'll fix it... n.green[at]ucl.ac.uk

@jogwalker
Copy link
Author

jogwalker commented Nov 16, 2020 via email

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

2 participants