inv_link#
- interpret.utils.inv_link(scores, link, link_param=nan)#
Applies the inverse link function to scores to generate predictions.
- Parameters:
scores – Numpy array of scores for samples.
link – string containing the type of link function to use
link_param – Optional. numeric parameter that is specified by the link function.
- Returns:
Predictions converted by the link function.