Update measure_accuracy.py

using k fold strategy for accuracy measurement