Research Article

A Distributed Framework for Predictive Analytics Using Big Data and MapReduce Parallel Programming

Algorithm 4

Reduce function of MapReduce-II
Function REDUCE-1I (MAP-II output)
   read < Dataset_id, (y_predict, y_test)>
   for all the z partitions
      compute MSE, RMSE, and determination coefficient (R2) from y_predict and y_test
   find the average value of MSE, RMSE, and determination coefficient (R2)
   output < Dataset id, (MSE, RMSE, and determination coefficient (R2)>
end