Getting coefficients/weights of added additional regressors #1162
-
Hi, I have added some additional regressors to my neural prophet model by using model.add_future_regressor() as shown in documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @PranavGuptInd, for name in m.config_regressors.keys():
print(name, m.model.get_covar_weights(name)) Note: The name for the Hope this helps and let us know if you have any other questions :) |
Beta Was this translation helpful? Give feedback.
Hi @PranavGuptInd,
you can access the weights of regressors through the internal API
m.model.get_covar_weights(name)
.Note: The name for the
config_regressors
might change in the future toconfig_future_regressors
to be more precise.Hope this helps and let us know if you have any other questions :)