code: def _nyoka_pmml_characteristics(
      self, characteristics: models.Characteristics
  ) -> nyoka_pmml.Characteristics:
      return nyoka_pmml.Characteristics(
          Characteristic=[
              nyoka_pmml.Characteristic(
                  name=characteristic.name,
                  Attribute=[
                      self._nyoka_pmml_attributes(attribute)
                      for attribute in characteristic.attributes
                  ],
              )
              for characteristic in characteristics.characteristics
          ]
      )
  
imports: import typing
  import datetime
  import io
  import nyoka.PMML44
  import nyoka.base.constants
  from .abstract_serializer import AbstractSerializer
  from ..None import __version__
  from ..None import models
label_desc: Use image node_id 11 for calling the NyokaSerializer obj's underlying member method code with example usage: obj._nyoka_pmml_characteristics(characteristics) and returns: nyoka_pmml