simple script for measure machine learning algorithm output