cluspred function

Function used for clustering and fitting the regression model