def get_minibatch_iterator(seed=8675309, dataorderseed=0, nBatch=10, nObsBatch=None, nObsTotal=25000, nLap=1, startLap=0, **kwargs):
  X, TrueZ = generate_data(seed, nObsTotal)
  Data = XData(X=X)
  Data.summary = get_data_info()
  DataIterator = MinibatchIterator(Data, nBatch=nBatch, nObsBatch=nObsBatch, nLap=nLap, startLap=startLap, dataorderseed=dataorderseed)
  return DataIterator
grouppolicy-policy-rule-create with all mandatory params.
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/demodata/HashtagK9.py/get_minibatch_iterator--crossover with--dataset/ETHPy150Open openstack/python-group-based-policy-client/gbpclient/tests/unit/test_cli20_policyrule.py/CLITestV20PolicyRuleJSON.test_create_policy_rule_with_mandatory_params