def serialize_to_ranking_expression()

in clearbox/features.py [0:0]


  def serialize_to_ranking_expression(self) -> str:
    """Serialize the node to the ranking expression format."""
    if self._encode_values:
      raise ValueError(
          "Signal with encoded values cannot be serialized to the ranking"
          " expression format."
      )
    return self._name