Encodings for each value type #8342
Unanswered
parsisoftware
asked this question in
Q&A
Replies: 3 comments 1 reply
-
You might find https://github.com/pyg-team/pytorch-frame useful :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you rusty, from torch_frame import stype
from torch_frame.nn import (
EmbeddingEncoder,
FTTransformer,
LinearEmbeddingEncoder,
LinearEncoder,
)
movie_x, movie_mapping = load_node_csv(
movie_path, index_col='movieId', encoders={
'title': LinearEmbeddingEncoder(),
'genres': EmbeddingEncoder()
}) And, Is there any documentation that explain the application of all these encoders? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would you please answer my question?? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have created my graphs using the following link:
https://pytorch-geometric.readthedocs.io/en/latest/tutorial/load_csv.html
I want to know the different ways of encoding different value types into the numerical feature representation.
For example we can encode the string type using a SequenceEncoder or categorical labels, considering the values exists in the dataset.
I want to have all possible ways of encoding String, float or boolean types, etc.
Please present a link or guide me if possible.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions