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

prob_classify for decision trees #91

Closed
alexrudnick opened this issue Jan 17, 2012 · 0 comments
Closed

prob_classify for decision trees #91

alexrudnick opened this issue Jan 17, 2012 · 0 comments

Comments

@alexrudnick
Copy link
Member

It would be extremely useful to be able to use DecisionTreeClassifier for
producing statistical decision trees, e.g. having prob_classify implemented.

It could be done by storing in each node the number of training examples
that passed there and finally using some method (e.g. MLE) for estimating
the distributions. Probably some simple smoothing method should be used not
to get null probabilities.

A possible method is described in the thesis of Lluís Márquez i Villodre --
"Part-of-speech tagging. A machine learning aproach based on decisión
trees". It would be nice to be able to implement the described tagger using
NLTK classifiers.

Migrated from http://code.google.com/p/nltk/issues/detail?id=475

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

No branches or pull requests

3 participants