BRACHEMI MEFTAH Hanene
BRACHEMI MEFTAH Hanene
Apparently, the problem comes from the sklearn normalize function, I checked wether the state_transition_matrix variable had any Nan or infinite values and there seems to be none 
looks like (896, 896)
Here's an update, apparently, the problem comes from the markovChain.solve() and exactly from v = np.divide(v, sum(v)) and is due to a division by 0. I think adding a small...
Hi again, thanks a lot for the answer, this seems to work for me.