class_docstr: A way to instantiate a model.
  
  The factory itself should be cheap to create, though it may take some time to actually create
  the model.
class_docstr_tok: ["A","way","to","instantiate","a","model",".","The","factory","itself","should","be","cheap","to","create",",","though","it","may","take","some","time","to","actually","create","the","model","."]
docstr: Create the model.
  
  Any model parameters should be randomly initialised, using the `rng`.
docstr_tok: ["Create","the","model",".","Any","model","parameters","should","be","randomly","initialised",",","using","the","`","rng","`","."]
code: def create_model(
      self, data: XYData, rng: np.random.Generator
  ) -> GPModel:
      """
      Create the model.
  
      Any model parameters should be randomly initialised, using the `rng`.
      """
  
file_path: GPflow/benchmark/model_api.py
imports: from abc import ABC, abstractmethod
  from typing import AbstractSet, Callable
  import numpy
  from benchmark.dataset_api import DatasetReq, XYData
  from benchmark.registry import TaggedRegistry
  from benchmark.tag import Tag, TagReq
  from gpflow.models import GPModel
label_desc: Use image node_id 1 for calling the ModelFactory obj's underlying member method code with example usage: obj.create_model(data, rng) without return types