link_func#
- interpret.utils.link_func(predictions, link, link_param=nan)#
Applies the link function to predictions to generate scores.
- Parameters:
predictions – Numpy array of predictions 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:
Scores converted by the link function.