This is one of the BEST Python tutorials I have ever seen, not just among Markov Chain tutorials, but among all tutorials. Great work!
@dzuynguyen82563 жыл бұрын
Really pulled me out of a dark place man. Thank you.
@TheDunningKrugerEffectisReal8 ай бұрын
Good stuff, I'm going to save it to watch it again later.
@uniqueninja61973 жыл бұрын
Thanks Adrian for this tutorial on HMM. Thanks for being so simple and practical on the concept.
@Raggaliamous Жыл бұрын
Completely fantastic. Plus, I appreciate the ending references. Interested in making a basic weather simulator, I'm now searching a simple way of harvesting open weather data, to formulate the probabilities.
@Raggaliamous11 ай бұрын
I wish I new. I just improvised instead...@theman1860
@HonestADVexplorer3 жыл бұрын
Thank you very much! Clean Python code and clear explanations!
@ddiq472 жыл бұрын
Thanks for including the reference for that book, definitely going to check that out!
@reanwithkimleng8 ай бұрын
❤❤❤❤ merci monsieur
@gmonkman9 ай бұрын
Great explanation. I see the mathematical notation descriptors and just switch off, but this practical example is great. Respect for the credits as well.
@breadandcheese18802 жыл бұрын
Hands down the best example; Professors in universities please take note.
@entahgatau2 жыл бұрын
why after several iterations on n-step transitions, the rows become the columns and vice versa?
@PatrickNieto Жыл бұрын
Is there a way to implement this if there were conditions on the transitions. I guess if it wasn't memorylessness. For example, what if I could only go to Seoul if I hadn't gone to Cairo or Paris the last 7 states?
@gmonkman9 ай бұрын
Dunno if there is an elegant way, but you'd detect in the loop on if you are in Cairo or Paris and adjust the step transition matrix
@carrotsofallages73692 жыл бұрын
Hello, thanks for the video :). I wanted to ask what to do if you get a KeyError. Or how that error occurs in the first place
@RA777FBI3 жыл бұрын
How did you show the plot of the markov chains?
@AdrianDolinay3 жыл бұрын
I used Photoshop for the chain showing the movement to different cities. It wasn’t a Python package
@rodrigobotello20933 жыл бұрын
Hello! when I use the code of the matrixpower, it says that matrix power is not defined, can you help me with it?
@AdrianDolinay3 жыл бұрын
matrix_power is a user defined function. If you run the code snippet below it will create the function in your environment. Make sure you also have NumPy imported to run the function. Let me know if you have any additional questions and hope this helps! def matrix_power(matrix, power): if power == 0: return np.identity(len(matrix)) elif power == 1: return matrix else: return np.dot(matrix, matrix_power(matrix, power-1))
@shhreyaanand74443 жыл бұрын
Hi why isn't the blue graph showing?
@AdrianDolinay3 жыл бұрын
Which time stamp are you referring to?
@rajeshmanjrekar36143 жыл бұрын
while len(travel_sim) < 25: city=np.random.choice(mc.iloc[mc.index.get_loc(city)].index,p=mc.iloc[mc.index.get_loc(city)]) travel_sim.append(city) when i run this code it says p has to be one-dimensional as ERROR
@AdrianDolinay3 жыл бұрын
Not sure about the error without seeing the rest of your notebook. If you download the notebook from GitHub and compare it to your own script that should reveal why you are getting the error. Please let me know if you continue to have issues.
@AdrianDolinay3 жыл бұрын
Not sure about the error without seeing the rest of your notebook. If you download the notebook from GitHub and compare it to your own script that should reveal why you are getting the error. Please let me know if you continue to have issues.