Till KTH:s startsida Till KTH:s startsida

Nyhetsflöde

Logga in till din kurswebb

Du är inte inloggad på KTH så innehållet är inte anpassat efter dina val.

I Nyhetsflödet hittar du uppdateringar på sidor, schema och inlägg från lärare (när de även behöver nå tidigare registrerade studenter).

Januari 2016
3 personer gillar inlägget
Anders Sjöqvist skrev inlägget 10 september 2014
kommenterade 10 september 2014

Hej Anders,

Just started working on this assignment and I feel this is going to be really helpful, thanks!

kommenterade 10 september 2014

That's very nice :)

kommenterade 14 september 2014

Thanks for the feedback! There are now instructions available on how to build the Visualizer on Windows, OS X and Linux. Let me know if you run into problems. I hope this will benefit someone. :)

Anders Sjöqvist korrigerade 30 januari 2016

I've created a graphical visualizer for HW1 (Checkers). It runs the players as child processes, stores their output and lets you step backwards and forwards between the moves. You can find it in the GitHub repo aliqusjoqvist/kth-ai14-checkers-visualizer, along with some documentation and a screenshot of the interface. Feel free to try it if you want. If you do, I'd appreciate feedback. Thanks!

 
Augusti 2015
Andreas Nylund skrev inlägget 18 augusti 2015
Lärare kommenterade 19 augusti 2015

No. As you can see here https://www.kth.se/student/program/kursval/modulschema-1.545551 the the new module schedule system has time slots after 17 and the ai course had one of those. Sorry

kommenterade 19 augusti 2015

Great. And I assume attendance is required?

Lärare kommenterade 19 augusti 2015

Attendance only required to present homework assignments and project work but you have some influence over when this takes place.

 
September 2014
Daniel Schlaug skrev inlägget 8 september 2014
 
Oktober 2013
Daan Wynen skrev inlägget 13 oktober 2013
Daan Wynen korrigerade 14 oktober 2013

Hey all,

I am having some issues with NaNs in my HMM implememntation and wonder if anzybodzy has come across this or even better knows a solution. I pretty much follow Stamp's tutorial to the letter but sometimes I get a situation where during the last iteration of the alpha pass, either all alphas or values of B for this step isare zero, resulting in a zero sum of all alphas, whihch in turn results in an infinite scaling factor.

Now in the alpha pass I don't really notice this since 0 * infinity = 0.

This problem only shows up further down the line where I use the scaling factor in the beta pass, multiplying with it and getting an all-NaN beta array.

I found this post from 2004 with someone having the very same problem while using the stamp pseudocode. This suggests to me that ...


* The pseudocode still has a problem/bug regarding numerical stability OR
* This is to be expected OR
* I made the same mistake as other people ( I know of at least two).
Using this implementation I am still able to get a 200points score though since it doesn't happen every time.

Does anybody have pointers to where the problem might lie?

Assistent kommenterade 17 oktober 2013

Dear Daan,

did you solve the problem?

kommenterade 22 oktober 2013

Not so far, no... :(

kommenterade 23 oktober 2013

I had a similar problem and also used the stamp tutorial. The problem seemed to be and it sounds as if you are having the same problem that you try to determine the probability of an impossible sequence according to the hmm you have. There is two quite easy ways around this. You could either adjust your forward algorithm to handle this case or you could make sure there is never zeros in your matrices in which case you will only get very low probabilities instead. 

 
September 2013
Luca Giovagnoli skrev inlägget 7 september 2013

Luca Giovagnoli taggade med project, group och ai13. 7 september 2013

 
En person gillar inlägget
Assistent Johannes Andreas Stork skrev inlägget 2 september 2013

Johannes Andreas Stork taggade med test. 2 september 2013

Assistent kommenterade 2 september 2013

Test comment.

kommenterade 3 september 2013

Test successful, Dr. Calvin.

Some day they'll have secrets.

Some day they'll have dreams.

Assistent kommenterade 3 september 2013

I'm sorry. My responses are limited. You must ask the right questions.

kommenterade 3 september 2013

This system desperately needs a "like" button for comments :D