class_docstr: Defines the cohort which will be injected from SDK into the Dashboard.
  :param name: Name of the cohort.
  :type name: str
class_docstr_tok: ["Defines","the","cohort","which","will","be","injected","from","SDK","into","the","Dashboard",".",":","param","name",":","Name","of","the","cohort",".",":","type","name",":","str"]
docstr: The function to serialize the Cohort class object.
  
  :param obj: Any member of the Cohort class object.
  :type: Any
  :return: Python dictionary.
  :rtype: dict[Any, Any]
docstr_tok: ["The","function","to","serialize","the","Cohort","class","object",".",":","param","obj",":","Any","member","of","the","Cohort","class","object",".",":","type",":","Any",":","return",":","Python","dictionary",".",":","rtype",":","dict","[","Any",",","Any","]"]
code: def _cohort_serializer(obj):
      """The function to serialize the Cohort class object.
  
      :param obj: Any member of the Cohort class object.
      :type: Any
      :return: Python dictionary.
      :rtype: dict[Any, Any]
      """
      return obj.__dict__
  
imports: import json
  from typing import Any, List, Optional
  import numpy
  import pandas
  from raiutils.exceptions import UserConfigValidationException
  from .constants import ClassificationOutcomes, CohortFilterMethods
label_desc: Use image node_id 3 for calling the Cohort obj's underlying member method code with example usage: obj._cohort_serializer(obj) and returns: obj