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”
Python: Simple K Nearest Neighbours Classifier
[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”