[Tutor] question / decision tree

matej taferner matej.taferner at gmail.com
Mon Aug 3 11:38:40 CEST 2015

Or maybe should I go with the tkinter?

2015-08-03 10:36 GMT+01:00 matej taferner <matej.taferner at gmail.com>:

> thanks for the reply. I'll definitely check the book.
> The back end solution of the problem is more or less clear to me. What I
> find difficult is the grasp the idea of o called front end dev. or better
> to say what should I use to make buttons should I dig into django framework
> or something else?
> 2015-08-03 10:09 GMT+01:00 Laura Creighton <lac at openend.se>:
>> In a message of Mon, 03 Aug 2015 08:58:43 +0100, matej taferner writes:
>> >hi guys,
>> >
>> >I am wondering if there is a python solution for the problem I am
>> currently
>> >dealing with.
>> >I need to build a decision tree based questionnaire which helps users to
>> >find the right answer.
>> >
>> >As a final product of this decision tree "app" I need a clickable buttons
>> >ready to be embedded into the website which will guide customer(s) to
>> >desired answer(s).
>> >
>> >Thanks,
>> >
>> >Matej
>> I am assuming that your app will need to learn based on user input.
>> If you already know what all the answers are going to be, then the
>> problem is a lot simpler.
>> I have this book.
>>  Russell & Norvig's "Artificial Intelligence: A Modern Approach"
>> http://www.amazon.com/Artificial-Intelligence-Modern-Approach-Edition/dp/01360\
>>   42597
>> It's comprehensive, but expensive.  Maybe you can borrow it from a
>> library.
>> Chapters 18-20 are relevant.
>> It comes with this code:
>> http://aima-python.googlecode.com/svn/trunk/learning.py
>> If you google for 'python decision trees' you get many other hits, for
>> other code people have written to do this.  This hit has some
>> explanation as well.
>> http://www.onlamp.com/pub/a/python/2006/02/09/ai_decision_trees.html?page=1
>> I haven't tried any of them, so don't know how good any of them are.
>> If you know a good bit about machine learning, but don't know a lot
>> about Python, then you can probably test them yourself, and we can help
>> with getting the code to work, if you need help with that.  If, on the
>> other hand, machine learning is new to you, you will need to understand
>> more about that first, and will probably need a textbook.  The Russell and
>> Norvig book is very good, but there are other good ones out there.
>> Laura Creighton

More information about the Tutor mailing list