One of the most important feature when you are making a code is “debugging”, whether you are new or even pro, you might need this feature. And how to do it when you are programming in Python without any IDE? you might use Terminal or Command Line in Windows to do so. This video is about How to do it in Windows, anyway it works in Unix environment. I found this video is helpful, hopefully also for you.
If you prefer to read the documentation, you can read it here (http://docs.python.org/2.7/library/pdb.html)
Simple but rough implementation of EM-algorithm for unsupervised learning in case of fitting a mixture of 3 multivariate Gaussian to the Fisher Iris data set as well as fitting the means and covariance matrices. Continue reading “Python: Unsupervised Learning using EM-Algorithm Implementation”
[contentblock id=1 img=adsense.png]
Simple, quick and dirty implementation about k-nearest neighbours (KNN) algorithm for classification (k nearest neighbours classifier) in Python 2.75 with NumPy and SciPy help. You may want to read about the KNN on Wiki. Anyway, here is the code. You may also observe the dataset first to help you understand the code. Continue reading “Python: Simple K Nearest Neighbours Classifier”
This link details how to implement the MVC design pattern for games and its implementation in Python.
https://developers.google.com/edu/python/ – (Google’s python course) learn basic Python programming with fun 🙂