Data fitting for predicting the quality of concrete