The main function of the RBSL algorithm.
CSMR(x, y, nit, nc, max_iter)
The matrix
The external supervised variable.
xxx?
The component number in the mixture model.
The maximum iteration number.
A list object consist of coefficient, clustering membership, data x, external variable y, predicted y based on regression model.