Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

What's the best way to approach a parametrized input transformation? #447

Unanswered
Aceticia asked this question in Q&A
Discussion options

Hi all, I have a specific use case: For my work, I have tables with spatial coordinates. I found from a preliminary model that processing the spatial coordinates by learning a MLP with fourier feature creates a good representation, and I'm wondering what's the best way I can achieve this in pytorch_tabular. So in summary, learning a custom MLP as a preprocessing step for a subset of the columns. I can write a whole new custom model, but I'd also like to take advantage of all the other features provided by pytorch_tabular.

It's possible to just add a simple Fourier feature layer as an input transformation, but sadly learning a single vector to represent the 3 spatial location before they interact with other columns is crucial for the task I'm working on since downstream tasks rely on accessing these spatial embeddings later.

And if you would like to hear more, I'd be happy to describe more details.

You must be logged in to vote

Replies: 1 comment

Comment options

Interesting.. You can check the documentation/tutorials. There is a tutorial on how to write custom models and make it work with Pytorch Tabular

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /