loop train datapoint, gen date general and sliding game time window binary classification