I'm looking at using Hamilton to replace a home-gr...
# general
b
I'm looking at using Hamilton to replace a home-grown quasi declarative way of setting up feature transforms for models. We often want to test the effect of different lags or aggregations on model performance, and so an experiment might have 15,30,45,60...90 minute lags defined for a particular feature. What's the right way to represent that as a hamilton function?
parameterize_value
? The "reusing_functions" example in your repo focuses on subdags instead.
e
Hey! Yes, that’s exactly what you would use, and thats the original use case :)
👍 1
Heh this actually does define them individually :/ but you’ve identified the right decorator. Lmk if it’s not straightforward to use and I can cook you up an example
b
Alright, I'll have a go - thanks! It did seem like exactly the problem you're trying to solve 😂