code: def as_dict(self):
          
          return {"@module": self.__class__.__module__,
                  "@class": self.__class__.__name__,
                  "additional_condition": self._additional_condition,
                  "symmetry_measure_type": self.symmetry_measure_type,
                  "nb_set_weights": [nb_set_weight.as_dict() for nb_set_weight in self.nb_set_weights],
                  "ce_estimator": self.ce_estimator,
                  }
docs: Bson-serializable dict representation of the WeightedNbSetChemenvStrategy object.
          :return: Bson-serializable dict representation of the WeightedNbSetChemenvStrategy object.