Getting coefficients/weights of added additional regressors #1162
Answered
by
noxan
PranavGuptInd
asked this question in
Q&A - get help using NeuralProphet
|
Hi, I have added some additional regressors to my neural prophet model by using model.add_future_regressor() as shown in documentation. |
Answered by
noxan
Feb 28, 2023
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 :) |
1 reply
Answer selected by
Kevin-Chen0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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_regressorsmight change in the future toconfig_future_regressorsto be more precise.Hope this helps and let us know if you have any other questions :)