markovchain icon indicating copy to clipboard operation
markovchain copied to clipboard

How is prediction selected when new states newer occurred before ?

Open skvrko opened this issue 6 years ago • 2 comments

Hi,

Could you please advise if new states occurs in chain that never ###happened before how will predict function behave ? Seems to select randomly some previous state.

E.g. ; states - a,b,c,a,b,c,a,b,d

if I will use predict function based on above is my prediction going to be random after "d" ?

Thanks.

skvrko avatar Nov 27 '17 00:11 skvrko

Hi, thanks for the issue... It should be random, but some errors are raised... Its a weird case that should be handled somewhat.

spedygiorgio avatar Nov 27 '17 22:11 spedygiorgio

it is related to issue #155

spedygiorgio avatar Jan 13 '19 11:01 spedygiorgio