Hi Team, I am trying to forecast some financial da...
# timegpt
s
Hi Team, I am trying to forecast some financial data. I see that I get the same accuracy / predictions even if I add the holiday columns and date columns or remove them. Just wanted to know if my hunch that the nixtla sdk internally uses these dates (holidays) by default ? or is that my feature selection is not affecting the values. Also I see that I can't use the
feature_contributions
as when I try to extract them I get nixtla client has no parameter / member variable feature_contributions do we need any specific version of nixtla for this ? I have
0.6.4
Thanks.
j
Can you provide the code you're running? In order to get the feature contributions you have to ask for them, e.g.
nixtla_client.forecast(..., feature_contributions=True)
s
Hi @José Morales, Yeah I had used the specified parameter I am using something like this
Copy code
params = {
    'df': lesser_data,
    'target_col': 'y',
    'h' :10, 
    'freq': 'D',
    'id_col': 'ResourceId',
    'X_df': future_variables[['ResourceId','ds']],
    'feature_contributions': True
}
predictions = nixtla_model.forecast(**params)
j
Seems like you're not providing any exogenous features in X_df, just id and time
s
Got it. Missed that. Thanks @José Morales