I believe my following post can solve your problem. First you need clean the data from redundancy and outliers. Take a look on below link.