Machine Learning, Python.
weather_chain.next_state(current_state='Sunny') 'Sunny' >>> weather_chain.next_state(current_state='Snowy') 'Snowy' >>> weather_chain.generate_states(current_state='Snowy', no=10) ['Snowy', 'Snowy', 'Snowy', 'Rainy', 'Snowy', 'Snowy', 'Rainy', 'Rainy', 'Snowy', 'Snowy'] Parameterization of Markov