Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I can't find any confirmation but I'm pretty cure 20q.net is NOT a nueral net. There is no need for it to be. Basicaly it breaks down to this. You have a set of objects and a set of questions. For each object you have 1 or more questions (more = better) that you know the answers to. Start with a random question (hopefully one that divides the rest of your items in half). Then continue to ask questions that divide the rest of your items in half (half say yes and half say no). You should reach the bottum of your tree and be left with the item that the user is guessing. There are some finer points since some items wont have answers to all questions. Obviously though the more questions and items/answers you have the smarter your system seems. I've programmed one of these in the past and they are quite fun and seem quite intellegent.


___________
Eric Hodges

In reply to Re: "20q" in perl? by eric256
in thread "20q" in perl? by schweini

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-18 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found