Re: Markov chain with extras?

2005-05-19 Thread temp
Hi Gentlemen, First off, thanks for the work/time you've put into this - much appreciated! Let me play around with the code and I'll get back to you tomorrow. Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Markov chain with extras?

2005-05-19 Thread Max M
[EMAIL PROTECTED] wrote: I want to use it for music. So given list 1 (melody), list 2 (chords) could be generated by a Markov chain. Also, given the chords the melody could be generated again by a chain. I have this small module, that can be used for markov chains. -- hilsen/regards Max M, Denmark

Re: Markov chain with extras?

2005-05-18 Thread tiissa
[EMAIL PROTECTED] wrote: > I want to use it for music. So given list 1 (melody), list 2 (chords) > could be generated by a Markov chain. Also, given the chords the melody > could be generated again by a chain. So, at each time step you want: - chord(t) given melody(t-1), chord(t-1) and chord(t-2

Re: Markov chain with extras?

2005-05-18 Thread temp
Hi Tiissa, Thanks for the reply. I want to use it for music. So given list 1 (melody), list 2 (chords) could be generated by a Markov chain. Also, given the chords the melody could be generated again by a chain. I haven't had time to play around with your code and as I've only been studying pyth

Re: Markov chain with extras?

2005-05-17 Thread tiissa
[EMAIL PROTECTED] wrote: > I think is more easy explained as two linked markov chains. So given > one list the other can be generated. 'Given one list sounds' like an observation (and this sound like an order 2 hmm). But I'm not sure what exactly you want to do with your markov chain. Do you wan

Re: Markov chain with extras?

2005-05-17 Thread temp
Hi, I think is more easy explained as two linked markov chains. So given one list the other can be generated. Thanks, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Markov chain with extras?

2005-05-16 Thread George Sakkis
> Hi All, > > Could someone show me how to do this? > > I want to generate a list using a Markov chain, however, as well as > using the previous two items in the list to decide the current choice I > want the decision to be also dependant on an item at the current > position in another list. > > I

Markov chain with extras?

2005-05-16 Thread temp
Hi All, Could someone show me how to do this? I want to generate a list using a Markov chain, however, as well as using the previous two items in the list to decide the current choice I want the decision to be also dependant on an item at the current position in another list. I hope this explain