David Cope has extended similar artificial intelligence code to imitate many styles of composers of the past; some of his results are on YouTube.
I suggest you don't really need artificial intelligence to write code to compose music which is in some sense meaningful to human ears. These were generated by a simple Basic program of a few dozen lines:
https://www.pianostreet.com/smf/index.php?topic=18165.0I don't know about you people but, for me, imitating composers of the past is a pointless exercise by either a human or a computer program. Heuristic algorithms, once they get big enough, start generating surprise and personality of their own, because the meaning of music is imposed by the listening mind no matter what or who created it. Although it was fun, I stopped fiddling with this sort of thing because I want my psyche, soul, consciousness, whatever you like to call it, to be mapped onto abstract piano sound in the spontaneous present. I want to be part of it, both mentally and haptically, and an algorithm cannot do that for me.
It is an interesting subject though, Douglas Hofstadter made some interesting observations about it in his "Godel, Escher, Bach".