code: def objective_to_model(self, x_objective):
      entry = [0] * self.dimensionality_in_model
      entry[int(x_objective)] = 1
      return entry
  
imports: import numpy
  from copy import deepcopy
  from ..errors import InvalidConfigError
label_desc: Use image node_id 3 for calling the CategoricalVariable obj's underlying member method code with example usage: obj.objective_to_model(x_objective) and returns: entry