Creating a MinibatchSource instance