docstr: returns prediction probabilities for a classifier and the predicted output for a regressor.
  
  :returns: an array of output scores for a classifier, and a singleton
  array of predicted value for a regressor.
docstr_tok: ["returns","prediction","probabilities","for","a","classifier","and","the","predicted","output","for","a","regressor",".",":","returns",":","an","array","of","output","scores","for","a","classifier",",","and","a","singleton","array","of","predicted","value","for","a","regressor","."]
code: def get_output(self, input_instance, model_score=True):
      """returns prediction probabilities for a classifier and the predicted output for a regressor.
  
      :returns: an array of output scores for a classifier, and a singleton
      array of predicted value for a regressor.
      """
      input_instance = self.transformer.transform(input_instance)
      if model_score:
          if self.model_type == ModelTypes.Classifier:
              return self.model.predict_proba(input_instance)
          else:
              return self.model.predict(input_instance)
      else:
          return self.model.predict(input_instance)
  
file_path: DiCE/dice_ml/model_interfaces/base_model.py
imports: import pickle
  import numpy
  from dice_ml.constants import ModelTypes
  from dice_ml.utils.exception import SystemException
  from dice_ml.utils.helpers import DataTransfomer
label_desc: Use image node_id 3 for calling the BaseModel obj's underlying member method code with example usage: obj.get_output(input_instance, model_score) and returns: self, self, self