code: def get_deviance(self, X, y):
      return poisson_deviance(y, self.predict(X))
  
imports: import textwrap
  from dask_glm import algorithms, families
  from dask_glm.utils import accuracy_score, add_intercept, dot, exp, poisson_deviance, sigmoid
  from sklearn.base import BaseEstimator
  from ..metrics import r2_score
  from ..utils import check_array
  from .utils import lr_prob_stack
label_desc: Use image node_id 3 for calling the PoissonRegression obj's underlying member method code with example usage: obj.get_deviance(X, y) and returns: poisson_deviance