@since('2.0.0')
def residuals(self, residualsType='deviance'):
    '\n        Get the residuals of the fitted model by type.\n\n        :param residualsType: The type of residuals which should be returned.\n                              Supported options: deviance (default), pearson, working, and response.\n        '
    return self._call_java('residuals', residualsType)
Get the residuals of the fitted model by type.

:param residualsType: The type of residuals which should be returned.
                      Supported options: deviance (default), pearson, working, and response.
@since('2.0.0')
def residuals(self, residualsType='deviance'):
    '\n        Get the residuals of the fitted model by type.\n\n        :param residualsType: The type of residuals which should be returned.\n                              Supported options: deviance (default), pearson, working, and response.\n        '
    return self._call_java('residuals', residualsType)