It is demonstration of impact of clustering for supervised learning in R using stock dataset (https://drive.google.com/file/d/0ByPBn4rtMQ5HaVFITnBObXdtVUU/view?usp=sharing). The goal is to improve the performance of supervised learning with the help of unsupervised learning.
For more details, you can read my article on Analytics Vidhya: https://www.analyticsvidhya.com/blog/2016/11/an-introduction-to-clustering-and-different-methods-of-clustering/.