Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I can't find any confirmation but I'm pretty cure 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

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 or How to display code and escape characters are good places to start.
Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-06-25 11:47 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (82 votes). Check out past polls.