Row 6091
Content Data
This page contains data entry 6091 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
The idea of the MetaPath2Vec example \[[https://github.com/pyg-team/pytorch\_geometric/blob/master/examples/hetero/metapath2vec.py](https://github.com/pyg-team/pytorch_geometric/blob/master/examples/hetero/metapath2vec.py)\]:
1. On `train()` we try to reach the best embeddings for ALL of the nodes (not only ones from `data["author"].y_index`). It's the unsupervised part, you don't need any labels here.
2. On `test()` we evaluate how author nodes with known labels can be classified by logistic regression \[`model.test(z[train_perm], y[train_perm], z[test_perm], y[test_perm], max_iter=150)`\] using their embedding we got on the 1 step \[`z = model('author', batch=data['author'].y_index.to(device))`\] (supervised part).
| Field | Value |
|---|---|
| text | The idea of the MetaPath2Vec example \[[https://github.com/pyg-team/pytorch\_geometric/blob/master/examples/hetero/metapath2vec.py](https://github.com/pyg-team/pytorch_geometric/blob/master/examples/hetero/metapath2vec.py)\]: 1. On `train()` we try to reach the best embeddings for ALL of the nodes (not only ones from `data["author"].y_index`). It's the unsupervised part, you don't need any labels here. 2. On `test()` we evaluate how author nodes with known labels can be classified by logistic … |
| label | r/pytorch |
| dataType | comment |
| communityName | r/pytorch |
| datetime | 2024-05-07 |
| username_encoded | Z0FBQUFBQm5LakwySmlzUTk4c3htRENKVlk3NHc0NlZCRGtVYXVSS1o0c1BQNkoyWnVycDU1aDZOSXpSb2g5VktCZjBSam94aTdRUWEwU3FMWnlaWGFacFNUZXVTczZzX1E9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9HOHpOdEpwbzdtUjBKRVFlbFpzT0drb2ZKQXdCVjRtVG9sd2t0aEpBZzkxUTlybWJZT19weDdyQ0VaU2pvLTZSb2ZpTkhYelU1eUFWTmk3dWRROVh0Rm5TOXk1S2ZUYmVRdDhmUEJMYlY1SUZzc3pyMDdKME1vZXVWbjk4MzJNdEJoaDJzczZZcTBmaFZSRVJEcXNqRnJnUXUzRlBrWWN5NWc2NkdReFIxRHowdDdQeUd4Z2lIeXI0N3o4Z0RNUTRTck5lSE50czZ6aHFQSHJBOXRUTEgtZz09 |
Raw Record
{
"text": "The idea of the MetaPath2Vec example \\[[https://github.com/pyg-team/pytorch\\_geometric/blob/master/examples/hetero/metapath2vec.py](https://github.com/pyg-team/pytorch_geometric/blob/master/examples/hetero/metapath2vec.py)\\]:\n\n1. On `train()` we try to reach the best embeddings for ALL of the nodes (not only ones from `data[\"author\"].y_index`). It's the unsupervised part, you don't need any labels here.\n\n2. On `test()` we evaluate how author nodes with known labels can be classified by logistic regression \\[`model.test(z[train_perm], y[train_perm], z[test_perm], y[test_perm], max_iter=150)`\\] using their embedding we got on the 1 step \\[`z = model('author', batch=data['author'].y_index.to(device))`\\] (supervised part).",
"label": "r/pytorch",
"dataType": "comment",
"communityName": "r/pytorch",
"datetime": "2024-05-07",
"username_encoded": "Z0FBQUFBQm5LakwySmlzUTk4c3htRENKVlk3NHc0NlZCRGtVYXVSS1o0c1BQNkoyWnVycDU1aDZOSXpSb2g5VktCZjBSam94aTdRUWEwU3FMWnlaWGFacFNUZXVTczZzX1E9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9HOHpOdEpwbzdtUjBKRVFlbFpzT0drb2ZKQXdCVjRtVG9sd2t0aEpBZzkxUTlybWJZT19weDdyQ0VaU2pvLTZSb2ZpTkhYelU1eUFWTmk3dWRROVh0Rm5TOXk1S2ZUYmVRdDhmUEJMYlY1SUZzc3pyMDdKME1vZXVWbjk4MzJNdEJoaDJzczZZcTBmaFZSRVJEcXNqRnJnUXUzRlBrWWN5NWc2NkdReFIxRHowdDdQeUd4Z2lIeXI0N3o4Z0RNUTRTck5lSE50czZ6aHFQSHJBOXRUTEgtZz09"
}
Entry Information
- Entry ID: 6091
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000