need help understanding a python program

2015-11-02 Thread Lee Bradley
http://pastebin.com/ndDYjYe1

The above link takes you to a very interesting way of solving the classic game 
of Bulls and Cows. It uses an entropy-based decision algorithm. I realize this 
is asking a lot but I am not yet proficient enough in python to follow some of 
the methods.

There is a fair amount on the internet on both the game and on entropy-based 
machine learning. I will provide further information if anyone is interested.

For now I am looking for someone who can dig into this code and explain what's 
going on. I understand a lot of it but not enough to really *get it*.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: need help understanding a python program

2015-11-21 Thread Lee Bradley
On Monday, November 2, 2015 at 1:45:58 PM UTC-5, Ben Finney wrote:
> Lee Bradley  writes:
> 
> > http://pastebin.com/ndDYjYe1
> 
> We much prefer to discuss code in the context of plain text messages
> right here, because this forum is archived longer than the expected
> lifetime of content hosted on other services.
> 
> > For now I am looking for someone who can dig into this code and
> > explain what's going on. I understand a lot of it but not enough to
> > really *get it*.
> 
> Could you discuss your own impressions of it so far, with (parts of) the
> code pasted here as plain text for context of your commentary?
> 
> -- 
>  \   Moriarty: "Forty thousand million billion dollars? That money |
>   `\must be worth a fortune!" --The Goon Show, _The Sale of |
> _o__)   Manhattan_ |
> Ben Finney

Ben,

Sorry it took so long to get back on this. I did start to put together a 
response to you. I made all sorts of notes about what I understood and what I 
didn't understand. But in the end I tried to write a solution myself using his 
ideas and what I had learned from many things I learned on the subject.

I believe I have a working program which I have written in C.

http://primepuzzle.com/tc/entropy.c

Incredibly interesting exercise. I am awaiting any feedback Vitaly might have 
on what I have built.

Lee
-- 
https://mail.python.org/mailman/listinfo/python-list