adding skeleton script for optimizing number of iterations for online learning