Machine learning examples in python python programming. This is based on book Machine learning in action.
- K Nearest Neighbours:
- kNN.py contains classification algorithm.
- datating site classification.
- number recognition(0-9).
- Desicion Trees:
- bayes.py contains algorithm.
- tree.py and treeplotter.py contains code to create tree and plot it to visualise tree easily.
- Lens prescription example.
- Naive Bayes:
- bayes.py contains algorithm for calculating probabilities, classification, RSS feed classifier.
- Dog blog comments abusive or not example.