add k-fold cross validation data generation for ann