Adding the method to create sources from batch predictions and fields stats