Slashdot Mirror


Can a Bayesian Spam Filter Play Chess?

martin-boundary writes "The typical Bayesian spam filters learn to distinguish ham from spam just by reading thousands of emails, but is this all they can do? This essay shows step by step how to teach a Bayesian filter to play chess against a human, on Linux, with XBoard."

6 of 204 comments (clear)

  1. Re:Results? by aug24 · · Score: 2, Informative
    I got to the page before the answer to your question before the slashdotting hit.

    Gaaah! Google's cache doesn't have that onepage!

    For all the others, try here

    J.

    --
    You're only jealous cos the little penguins are talking to me.
  2. Re:Results? by aug24 · · Score: 4, Informative

    ..and from reading to the end of it, the answer is...

    Not really. But it does work, and it would be possible from someone to take this and expand on it quite neatly.

    For example, it currently uses entire games to compare. So if it comes across an unusual opening, even one close to a standard one, it's not able to decide effectively. Perhaps something using game fragments would be possible, then it might reproduce structured plays even when the previous game play has been unusual.

    Really though, it is a successful tiny step in a direction that no-one else has thought of going. That's worth congratulating in and of itself.

    So... anyone got any other suggestions for improvements?

    Justin.

    --
    You're only jealous cos the little penguins are talking to me.
  3. anything by akhomerun · · Score: 1, Informative

    anything with a chipset or processor of some kind can be programmed to play chess.

  4. Re:problem building dbacl by Intron · · Score: 2, Informative

    yywrap is the ouput of the parser generator (lex or yacc or something). Its either not being generated or missing from the link command. Look through the output of configure and make to be sure you didn't get an unnoticed error, like "Can't find yacc".

    --
    Intron: the portion of DNA which expresses nothing useful.
  5. Re:The point? by orasio · · Score: 2, Informative

    Bayesian filters are not spam filters.
    Spam filters are a good tool used to filter spam.
    I agree with you that spam filters need to improve, including others tools _in_addition_to_ bayesian filters.

    Nevertheless, seeing that bayesian filters are just a tool used in spam filters, your claims are nonsensical. Bayesian filters existed before spam filters, and they have lots of applications. In fact, this is not the first time a bayesian filter is applied to chess.

    Bayesian filters are good at anything that requires automatic learning (kind of a self-evolving AI), that only needs a measure of success and failure to mold its behaviour.
    Chess is even better suited than spam, because you don't need a user to tell the filter whether it succeeded in playing a match, like it happens with spam filtering.

  6. AI Koan by BusterB · · Score: 2, Informative

    In the days when Sussman was a novice, Minsky once came to him as he sat hacking at the PDP-6.

    "What are you doing?", asked Minsky.

    "I am training a randomly wired neural net to play Tic-Tac-Toe", Sussman replied.

    "Why is the net wired randomly?", asked Minsky.

    "I do not want it to have any preconceptions of how to play", Sussman said.

    Minsky then shut his eyes.

    "Why do you close your eyes?", Sussman asked his teacher.

    "So that the room will be empty."

    At that moment, Sussman was enlightened.