Is there anyway I can get the 'additional contribution' each smooth term makes to the final GAM score for a particular input? For example if my model is :
LinearGAM( terms=s(7) + s(13) + s(1) + s(15) + intercept)
then what contribution does s(7) make when 'variable 7' equals 10
Is it worth trying to hack into PyGam's code to get this?
Is there anyway I can get the 'additional contribution' each smooth term makes to the final GAM score for a particular input? For example if my model is : LinearGAM( terms=s(7) + s(13) + s(1) + s(15) + intercept) then what contribution does s(7) make when 'variable 7' equals 10
Is it worth trying to hack into PyGam's code to get this?