This message was deleted.
# general
s
This message was deleted.
f
hey @Dihong Huang! Thanks for using mlforecast.I saw that you’re passing a set to the
target_transforms
argument. Could you try using a list? (
target_transforms=[Differences([1, 3, 6, 9])]
instead of
target_transforms={Differences([1, 3, 6, 9])}
)
d
Thank you! This solves my problem. Also, I wonder if mlforecast supports feature importances when using xgboost and random forest?
f
hey @Dihong Huang! cool. Yes, that’s possible. Once the models are fitted, you can access them through the
model_
attribute. And then you can retrieve the feature importance of the features using something like the following: