ENH add periodic encoding in tabular learner#1264
Conversation
|
should it be just for linear models? or would most non-tree-based models (and perhaps even tree-based ones) benefit from it? |
|
should it be just for linear models? or would most non-tree-based models (and perhaps even tree-based ones) benefit from it?
We're very certain that it should be for linear model, and less certain about the others.
I would be in favor to add it for all non-tree models. But if this delays the merge because of the need to find a consensus, I would rather that we move forward with only linear models.
|
|
I don't mind to have an |
|
That would be very interesting to investigate in benchmarks. In the meanwhile my hunch would be that spline or circular encoding is the safe bet when we don't know much about the learner: it might be a bit wasteful when the learner doesn't need it, but it shouldn't tank the quality of predictions, and it can really improve the predictions when the learner does need it. that's just a guess though I don't have experiments or a reference to back it up |
jeromedockes
left a comment
There was a problem hiding this comment.
great, thank you very much @glemaitre !
|
Lol thanks @jeromedockes ant @Vincent-Maladiere |
This PR adds periodic encoding by default when the estimator is a linear model
TODO
tabular_learner