code: def to_dict(self, save_data=True):
          
          model_dict = super(SparseGPClassification,self).to_dict(save_data)
          model_dict["class"] = "GPy.models.SparseGPClassification"
          return model_dict
docs: Store the object into a json serializable dictionary
  
          :param boolean save_data: if true, it adds the data self.X and self.Y to the dictionary
          :return dict: json serializable dictionary containing the needed information to instantiate the object