2010 Volume 19 Issue 3 Pages 64-70
Data mining techniques were applied to predict raw milk quality in terms of methylene blue reduction time (MBRT) from the independent parameters of raw milk inspection parameters such as travel time, temperature of milk, solid-not-fat, %fat, acidity and specific gravity. Predictive models were developed and the performance of 3 data mining algorithms namely; Multiple Linear Regression (MLR), Artificial Neural Network (ANN) and K-Nearest neighbor (KNN), was measured in terms of average error and Root Mean Square Error (RMSE). MLR showed high and inconsistent RMS error in 3 randomly picked data partitions whereas KNN and ANN were able to predict the MBRT values from the physico-chemical quality parameters, KNN was the preferred algorithm (K=7, RMSE of 1.7). The models were applied to a new set of data (n=78) without showing them the output parameter (MBRT). The predicted values of MBRT were plotted against the actual observed values to classify milk into 4 quality grades.