kfold implementation of multiclass frame by frame classification