add predict result

增加了预测值的打印输入
add printing predict values in genericdata.cpp file