author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
461,949 | 01.12.2022 15:44:06 | -3,600 | 6744432978ef933c2319e8bc23a372c6564645b1 | new protocol for the method | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Layouts/RSCircularAroundAVertexLayout.class.st",
"new_path": "src/Roassal3-Layouts/RSCircularAroundAVertexLayout.class.st",
"diff": "@@ -23,3 +23,16 @@ RSCircularAroundAVertexLayout >> doExecute: shapes [\ncenterShape position: rad@rad.\n]\n+\n+{ ... | Smalltalk | MIT License | objectprofile/roassal3 | new protocol for the method |
461,949 | 17.12.2022 06:54:39 | -3,600 | 01a258a863881ca68ee713ccce7efea21e9aee41 | renamed RSClusterLayout to RSClusterTreeLayout | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Examples/RSHighlightableExamples.class.st",
"new_path": "src/Roassal3-Examples/RSHighlightableExamples.class.st",
"diff": "@@ -30,7 +30,7 @@ RSHighlightableExamples >> example01Basic [\ncanvas edges do: #withBorder.\ncanvas addAll: shapes.\ncanvas... | Smalltalk | MIT License | objectprofile/roassal3 | renamed RSClusterLayout to RSClusterTreeLayout |
461,949 | 27.12.2022 22:34:46 | -3,600 | 9ac14e35c8963fd13ac04fd91f2f1e3b9a43c838 | Added new methods for RSHighlightable | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Interaction-Tests/RSHighlightableTest.class.st",
"new_path": "src/Roassal3-Interaction-Tests/RSHighlightableTest.class.st",
"diff": "@@ -114,3 +114,27 @@ RSHighlightableTest >> testWithEdges2 [\n]\n+\n+{ #category : #tests }\n+RSHighlightableTest ... | Smalltalk | MIT License | objectprofile/roassal3 | Added new methods for RSHighlightable |
461,949 | 27.12.2022 23:17:01 | -3,600 | ea451f1867731ff04a933edc5bac4ea3071dec3b | added RSSelfLoopCPController with one example class | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Roassal3-Shapes/RSSelfLoopCPController.class.st",
"diff": "+\"\n+Used for straight lines and self loop lines\n+\"\n+Class {\n+ #name : #RSSelfLoopCPController,\n+ #superclass : #RSAbstractCPController,\n+ #category : #'Roassal3-Shapes-Contro... | Smalltalk | MIT License | objectprofile/roassal3 | added RSSelfLoopCPController with one example class |
461,949 | 08.01.2023 09:37:10 | -3,600 | 0e864907b050c64967b458ef4d4279bf5eb884de | fix for issue 496 | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-SVG-Examples/RSShapeExamples.extension.st",
"new_path": "src/Roassal3-SVG-Examples/RSShapeExamples.extension.st",
"diff": "@@ -32,7 +32,7 @@ RSShapeExamples >> example03LinePath [\ns space. ].\nvector := a - b.\nu := vector normal.\n- unit := vect... | Smalltalk | MIT License | objectprofile/roassal3 | fix for issue 496 |
461,949 | 10.01.2023 18:28:28 | -3,600 | b089e38a13e985f86adcf68bdd5d299201f9a012 | Defined methods as requirements | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Shapes/RSAbstractLine.class.st",
"new_path": "src/Roassal3-Shapes/RSAbstractLine.class.st",
"diff": "@@ -290,11 +290,6 @@ RSAbstractLine >> position [\n^ self encompassingRectangle floatCenter\n]\n-{ #category : #accessing }\n-RSAbstractLine >> po... | Smalltalk | MIT License | objectprofile/roassal3 | Defined methods as requirements |
461,949 | 11.01.2023 17:38:19 | -3,600 | e18e2a35a6f22b9f454d9cb327b5541ec6db75d4 | fix issue 495 | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Examples/RSShapeExamples.class.st",
"new_path": "src/Roassal3-Examples/RSShapeExamples.class.st",
"diff": "@@ -721,7 +721,7 @@ RSShapeExamples >> example29AntAnimation [\nRSShapeExamples >> example30EdgesToChildren [\n<script: 'self new example30E... | Smalltalk | MIT License | objectprofile/roassal3 | fix issue 495 |
461,949 | 16.01.2023 16:59:49 | -3,600 | a444f1d681c9fa51a8d528c2256b0ab6b63bca7f | small fix for fromNames: issue | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Chart-Tests/RSChartTickTest.class.st",
"new_path": "src/Roassal3-Chart-Tests/RSChartTickTest.class.st",
"diff": "@@ -47,3 +47,35 @@ RSChartTickTest >> testFromNames [\nc build.\nself assert: horizontal labels size equals: dates size.\n]\n+\n+{ #ca... | Smalltalk | MIT License | objectprofile/roassal3 | small fix for fromNames: issue #500 |
461,949 | 18.01.2023 18:11:22 | -3,600 | 3c2c3ac9895f458ff60d6eb13b1ccdac9718f75b | Fix queries tab in rtree node inspector | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Inspector/RSRNode.extension.st",
"new_path": "src/Roassal3-Inspector/RSRNode.extension.st",
"diff": "@@ -88,14 +88,14 @@ RSRNode >> asRSCanvasForQueries [\n| canvas box point log zet |\ncanvas := self newCanvas.\nzet := self. \"arc warden\"\n- can... | Smalltalk | MIT License | objectprofile/roassal3 | Fix queries tab in rtree node inspector |
461,949 | 26.01.2023 13:48:59 | -3,600 | 6f5bb57095a2d627e8323e2fe3944760ac71de0a | added question to load full version of roassal | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Menu/RSWorldMenu.class.st",
"new_path": "src/Roassal3-Menu/RSWorldMenu.class.st",
"diff": "@@ -50,6 +50,9 @@ RSWorldMenu class >> loadFullStableVersion [\n{ #category : #loading }\nRSWorldMenu class >> loadFullVersion [\n+ \"TODO do not discard ch... | Smalltalk | MIT License | objectprofile/roassal3 | added question to load full version of roassal |
461,949 | 26.01.2023 18:38:05 | -3,600 | 7865c2e74c7466968b4c93d33b191016c02667c9 | update RSColorPaletteChooser example | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Interaction-Tests/RSHighlightableTest.class.st",
"new_path": "src/Roassal3-Interaction-Tests/RSHighlightableTest.class.st",
"diff": "@@ -7,21 +7,22 @@ Class {\n{ #category : #tests }\nRSHighlightableTest >> testBasic [\n- | c shapes previousColor ... | Smalltalk | MIT License | objectprofile/roassal3 | update RSColorPaletteChooser example |
461,949 | 31.01.2023 19:27:18 | -3,600 | 5bd342d87745d7c9e0033242fa3c3db4d9d6d013 | Comment and tests for RSLayoutBuilder | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Roassal3-Layouts-Tests/RSLayoutBuilderTest.class.st",
"diff": "+Class {\n+ #name : #RSLayoutBuilderTest,\n+ #superclass : #TestCase,\n+ #instVars : [\n+ 'builder'\n+ ],\n+ #category : #'Roassal3-Layouts-Tests'\n+}\n+\n+{ #category : #running... | Smalltalk | MIT License | objectprofile/roassal3 | Comment and tests for RSLayoutBuilder |
461,949 | 06.02.2023 15:38:36 | -3,600 | d97f3c0cf0ce0aff24a7c79d85e65900487fca49 | update layout comments | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Interaction/RSTransformable.class.st",
"new_path": "src/Roassal3-Interaction/RSTransformable.class.st",
"diff": "@@ -271,31 +271,35 @@ RSTransformable >> topRight: position rectangle: rectangle [\n{ #category : #update }\nRSTransformable >> update... | Smalltalk | MIT License | objectprofile/roassal3 | update layout comments |
461,949 | 06.02.2023 18:20:24 | -3,600 | 95a1622c53b5d4f2f0fa20dbfb20dd8a72a1fc64 | Added layout studio to edit/preview a layout | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Menu/RSWorldMenu.class.st",
"new_path": "src/Roassal3-Menu/RSWorldMenu.class.st",
"diff": "@@ -164,3 +164,7 @@ RSWorldMenu class >> roassalIcon [\nRSWorldMenu class >> roassalIconStream [\n^ 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABMUlEQVQ... | Smalltalk | MIT License | objectprofile/roassal3 | Added layout studio to edit/preview a layout |
461,949 | 10.02.2023 16:42:47 | -3,600 | c68c5cf22992fa26a358d0eda3fa5ffe10823cbc | Update in layout studio now allows editions | [
{
"change_type": "MODIFY",
"old_path": "src/Roassal3-Layouts/RSAbstractCircleLayout.class.st",
"new_path": "src/Roassal3-Layouts/RSAbstractCircleLayout.class.st",
"diff": "@@ -23,7 +23,29 @@ Class {\n{ #category : #testing }\nRSAbstractCircleLayout class >> isAbstract [\n- ^ self name = #RSAbstractC... | Smalltalk | MIT License | objectprofile/roassal3 | Update in layout studio now allows editions |
87,710 | 29.06.2020 14:06:14 | 0 | 0c7495f7646b8b6e56c1b7687a9d702155391004 | GConvLSTM development | [
{
"change_type": "MODIFY",
"old_path": "test/general_test.py",
"new_path": "test/general_test.py",
"diff": "@@ -4,16 +4,33 @@ import networkx as nx\nfrom torch_geometric_temporal.nn.conv import GConvLSTM\n+def create_mock_data(number_of_nodes, edge_per_node, in_channels):\n+\n+ graph = nx.watts_stro... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | GConvLSTM development |
87,710 | 30.06.2020 01:38:52 | 0 | 5cd758161b3cf94b23fbad489fa6c97a9bca426e | Fix weight filter size | [
{
"change_type": "MODIFY",
"old_path": "test/general_test.py",
"new_path": "test/general_test.py",
"diff": "@@ -35,8 +35,7 @@ def test_gconv_lstm_layer():\nX, edge_index, edge_weight = create_mock_data(number_of_nodes, edge_per_node, in_channels)\n- layer = GConvLSTM(in_channels=in_channels, out_cha... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | Fix weight filter size |
87,710 | 05.07.2020 20:59:26 | -3,600 | 5ce7ea11338121c58e3879465ef0e664db1b3773 | License linking | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -61,3 +61,9 @@ where `${CUDA}` should be replaced by either `cpu`, `cu92`, `cu101` or `cu102` d\n$ python setup.py test\n```\n+\n+## License\n+\n+\n+- [GNU General Public License v3.0](https://github.com/benedek... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | License linking |
87,710 | 08.08.2020 12:12:36 | 0 | 9ea661b5a6611ee0a4f98419ddde1d6b9e8c85f5 | Value Error for DygrAE | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/conv/dygrae.py",
"new_path": "torch_geometric_temporal/nn/conv/dygrae.py",
"diff": "@@ -64,6 +64,8 @@ class DyGrEncoder(torch.nn.Module):\nH = H[None, :, :]\nC = C[None, :, :]\nH_tilde, (H, C) = self.recurrent_layer(H_tilde, (H, C))... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | Value Error for DygrAE |
87,710 | 27.08.2020 19:47:25 | 0 | 9fef9bd913a42c193079a834271f536734fdf3e3 | Add corrected test | [
{
"change_type": "MODIFY",
"old_path": "test/recurrent_test.py",
"new_path": "test/recurrent_test.py",
"diff": "@@ -186,19 +186,19 @@ def test_dygrencoder_layer():\nlstm_num_layers = lstm_num_layers)\n- H_tilde, C, H = layer(X, edge_index)\n+ H_tilde, H, C = layer(X, edge_index)\nassert H_tilde.shap... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | Add corrected test |
87,712 | 24.10.2020 11:59:28 | -3,600 | 59bc594703b32064bc1d4af69906d066da1506dd | [EXAMPLE] Fixed a small typo in node_features reference causing an error | [
{
"change_type": "MODIFY",
"old_path": "examples/gconvgru_example.py",
"new_path": "examples/gconvgru_example.py",
"diff": "@@ -5,7 +5,6 @@ import networkx as nx\nimport torch.nn.functional as F\nfrom torch_geometric_temporal.nn.recurrent import GConvGRU\n-\ndef create_mock_data(number_of_nodes, edg... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [EXAMPLE] Fixed a small typo in node_features reference causing an error |
87,712 | 12.11.2020 22:14:08 | 0 | 4e6369dbe66eb3dfa16ec53b54d5cd4edde9b375 | [Method] DCRNN | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "torch_geometric_temporal/nn/recurrent/dcrnn.py",
"diff": "+import math\n+import torch\n+from torch_geometric.utils import to_dense_adj\n+from torch_geometric.nn.conv import MessagePassing\n+\n+\n+def glorot(tensor):\n+ if tensor is not None:\n+ ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Method] DCRNN |
87,712 | 12.11.2020 22:15:47 | 0 | 0a1435d6a774d4d68bf3b7e7d7bee3d6bd6e8544 | [Test] DCRNN added to tests | [
{
"change_type": "MODIFY",
"old_path": "test/recurrent_test.py",
"new_path": "test/recurrent_test.py",
"diff": "import torch\nimport numpy as np\nimport networkx as nx\n-from torch_geometric_temporal.nn.recurrent import GConvLSTM, GConvGRU\n+from torch_geometric_temporal.nn.recurrent import GConvLST... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Test] DCRNN added to tests |
87,712 | 12.11.2020 22:16:49 | 0 | 25685983fe8d83a7b40fb06d7ee9e350c841b118 | [Example] DCRNN Cell Example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/dcrnn_example.py",
"diff": "+import torch\n+import random\n+import numpy as np\n+import networkx as nx\n+import torch.nn.functional as F\n+from torch_geometric_temporal.nn.recurrent import DCRNN\n+\n+def create_mock_data(number_of_nodes... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Example] DCRNN Cell Example |
87,712 | 16.11.2020 17:33:52 | 0 | 087f1e4f8fdad341edd735e0a1e2be58568681ea | [Packaging] Setting up packaging for methods using temporal convolutions | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/__init__.py",
"new_path": "torch_geometric_temporal/nn/__init__.py",
"diff": "from .recurrent import *\n+# from .convolutional import *\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "torch_geometric_tem... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Packaging] Setting up packaging for methods using temporal convolutions |
87,712 | 16.11.2020 18:25:51 | 0 | b0e851d15d86d9df51381179ae61ab81f108751c | [Docs] Correcting small typo in documentation and formatting | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/recurrent/dcrnn.py",
"new_path": "torch_geometric_temporal/nn/recurrent/dcrnn.py",
"diff": "@@ -20,7 +20,7 @@ class DConv(MessagePassing):\nData-Driven Traffic Forecasting\" <https://arxiv.org/abs/1707.01926>`_\nArgs:\n- in_channels... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Docs] Correcting small typo in documentation and formatting |
87,712 | 29.11.2020 21:35:31 | 0 | 6392e835b2ba995029ae6a7aee49420caaedbad7 | [STGCN] Temporal convolution layer as in Gehring et al. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "torch_geometric_temporal/nn/convolutional/stgcn.py",
"diff": "+import math\n+import torch\n+import torch.nn as nn\n+import torch.nn.functional as F\n+from torch_geometric.nn import ChebConv\n+\n+class TemporalConv(nn.Module):\n+ r\"\"\"Temporal ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [STGCN] Temporal convolution layer as in Gehring et al. |
87,712 | 29.11.2020 21:39:23 | 0 | 537007160d60533a3fcee2de2c49498fadfd9ed3 | [STGCN] STConv layer as used in the STGCN model | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/stgcn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/stgcn.py",
"diff": "@@ -43,3 +43,96 @@ class TemporalConv(nn.Module):\nout = F.relu(PQ + self.conv3(X))\nout = out.permute(0, 3, 2, 1)\nreturn out\n+\n+... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [STGCN] STConv layer as used in the STGCN model |
87,712 | 29.11.2020 22:11:02 | 0 | a4e11c559c5e65987f83d374d3780eb7c9e7fcff | [STGCN] import statements in init for packaging | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/__init__.py",
"new_path": "torch_geometric_temporal/nn/__init__.py",
"diff": "from .recurrent import *\n-# from .convolutional import *\n+from .convolutional import *\n"
},
{
"change_type": "MODIFY",
"old_path": "torch_g... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [STGCN] import statements in init for packaging |
87,712 | 30.11.2020 20:36:05 | 0 | 560b24674e5348b9620cad8218f001342a7bf47e | [STGCN] Utilities for generating test data in unit tests of temporal convolutional methods | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/convolutional_test.py",
"diff": "+import torch\n+import numpy as np\n+import networkx as nx\n+from torch_geometric_temporal.nn.convolutional import TemporalConv, STConv\n+\n+def create_mock_data(number_of_nodes, edge_per_node, in_channels):... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [STGCN] Utilities for generating test data in unit tests of temporal convolutional methods |
87,712 | 30.11.2020 21:06:54 | 0 | a264ffe4c8870571f91c9f6e7d8f47c528fa535a | [STGCN Test] Tests for the temporal convolution and spatio-temporal graph convolution blocks | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -22,7 +22,7 @@ def create_mock_target(number_of_nodes, number_of_classes):\n\"\"\"\nCreating a mock target vector.\n\"\"\"\n- return torch.LongTensor([random.randint(0, number_o... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [STGCN Test] Tests for the temporal convolution and spatio-temporal graph convolution blocks |
87,712 | 20.02.2021 23:34:42 | 0 | 1611498b34721ff8510552f2a21b8591d8c2b10a | [Dataset] Initial commit for METR-LA Traffic forecasting dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "+import numpy as np\n+from torch_geometric_temporal.data.discrete.static_graph_discrete_signal import StaticGraphDiscreteSignal\n+\n+\n+class METRLADatasetLoader(object):\n+ \"\"\"A tra... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Dataset] Initial commit for METR-LA Traffic forecasting dataset |
87,712 | 21.02.2021 15:17:26 | 0 | 8d487f5920a6510c833d678341f2a06a262cc1c3 | [data] Method signatures for METR-LA | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -12,3 +12,35 @@ class METRLADatasetLoader(object):\ndef __init__(self, arg):\nsuper(MetrlaDatasetLoader, self).__init__()\n+\n+ def _... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Method signatures for METR-LA |
87,712 | 21.02.2021 15:37:03 | 0 | 326f95b56716c080a7792a204372b35942b7acca | [data] Zip download and unpack | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "+import os\n+import zipfile\nimport numpy as np\n+from six.moves import urllib\nfrom torch_geometric_temporal.data.discrete.static_graph... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Zip download and unpack |
87,712 | 21.02.2021 16:49:18 | 0 | 65887955871a91d86c8bd5db8dbff0ea802dcd39 | [data] Get functions for index, edge attributes, and feature | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "import os\nimport zipfile\nimport numpy as np\n+import torch\nfrom six.moves import urllib\nfrom torch_geometric_temporal.data.discrete.... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Get functions for index, edge attributes, and feature |
87,712 | 21.02.2021 16:50:02 | 0 | 476ba2ddd3d429489554d9a2b13cb8df790da6f4 | [data] Fix, Get functions for index, edge attributes, and feature | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -2,6 +2,7 @@ import os\nimport zipfile\nimport numpy as np\nimport torch\n+from torch_geometric.utils import dense_to_sparse\nfrom si... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Fix, Get functions for index, edge attributes, and feature |
87,712 | 21.02.2021 17:26:21 | 0 | de57647027f6d870eb18627decfd8d93925fbc87 | [data] Signature for generating different dataset based on task | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -50,17 +50,20 @@ class METRLADatasetLoader(object):\ndef _get_edge_weights(self):\nself.edge_weights = np.ones(self.edges.shape[1])\n... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Signature for generating different dataset based on task |
87,712 | 21.02.2021 17:34:20 | 0 | a8259e49cfb9f35571a8c95f6581e90f094211c7 | [data] Combining getting the edges and edge_weights into one method | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -42,13 +42,12 @@ class METRLADatasetLoader(object):\nself.A = torch.from_numpy(A)\nself.X = torch.from_numpy(X)\n- def _get_edges(sel... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Combining getting the edges and edge_weights into one method |
87,712 | 21.02.2021 17:50:09 | 0 | a0051b9ca521b1773f3b6bce8791bd9d0849bcf6 | [data] Generate dataset dependent on task | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -60,7 +60,18 @@ class METRLADatasetLoader(object):\nnum_timesteps_in (int): number of timesteps the sequence model sees\nnum_timestep... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [data] Generate dataset dependent on task |
87,712 | 21.02.2021 18:15:55 | 0 | 6ad0125cc70eee0d2fc22a48705163ccb1cde176 | [METR-LA] Working version for generating METR-LA regression tasks, with simulated download and data processing | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -15,8 +15,9 @@ class METRLADatasetLoader(object):\nto June 2012.\n\"\"\"\n- def __init__(self, arg):\n- super(MetrlaDatasetLoader, se... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [METR-LA] Working version for generating METR-LA regression tasks, with simulated download and data processing |
87,712 | 21.02.2021 18:45:40 | 0 | b46bfdff9cde597c2453be68dfd27a1c58403cd0 | [Test] Dataset tests for METR-LA | [
{
"change_type": "MODIFY",
"old_path": "test/dataset_test.py",
"new_path": "test/dataset_test.py",
"diff": "import numpy as np\nimport networkx as nx\n-from torch_geometric_temporal.data.dataset import ChickenpoxDatasetLoader\n+from torch_geometric_temporal.data.dataset import ChickenpoxDatasetLoade... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Test] Dataset tests for METR-LA |
87,712 | 02.03.2021 00:23:36 | 0 | b40e96b4e65e2f90b31062f0a5b8cff4269796a2 | [PEMSBAY] Initial commit with method signatures | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "+import os\n+import zipfile\n+import numpy as np\n+import torch\n+from torch_geometric.utils import dense_to_sparse\n+from six.moves import urllib\n+from torch_geometric_temporal.data.... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMSBAY] Initial commit with method signatures |
87,712 | 02.03.2021 22:30:06 | 0 | b60cae79e32c69c4681dc5d2f6b1966e7342eeaf | [PEMSBAY] Created raw data and read_web_function with placeholder url | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "@@ -11,15 +11,38 @@ class PemsBayDatasetLoader(object):\n\"\"\"\ndef __init__(self):\n- super(PemsBayDatasetLoader, self).__init()\n+ ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMSBAY] Created raw data and read_web_function with placeholder url |
87,712 | 02.03.2021 22:31:34 | 0 | a63deca8f1682d1552eaf61b77c4de33550927c1 | [PEMSBAY] Custom task formulation with default set to DCRNN paper, as StaticGraphDiscreteSignal Dataset | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "@@ -45,10 +45,43 @@ class PemsBayDatasetLoader(object):\nself.edge_weights = values\ndef _generate_task(self, num_timesteps_in: int=12... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMSBAY] Custom task formulation with default set to DCRNN paper, as StaticGraphDiscreteSignal Dataset |
87,712 | 02.03.2021 23:01:19 | 0 | 55fc6f6081504bc05a465d0680fcf48e1fee150a | [PEMSBAY] Setting default generated task to match DCRNN paper | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "@@ -44,7 +44,7 @@ class PemsBayDatasetLoader(object):\nself.edges = edge_indices\nself.edge_weights = values\n- def _generate_task(sel... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMSBAY] Setting default generated task to match DCRNN paper |
87,712 | 03.03.2021 11:44:42 | 0 | 0ef9c00756e91b50e1ae5f1b032c209934d512bf | [METR-LA] Download raw data for METR-LA | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -19,12 +19,19 @@ class METRLADatasetLoader(object):\nsuper(METRLADatasetLoader, self).__init__()\nself._read_web_data()\n+ def _downl... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [METR-LA] Download raw data for METR-LA |
87,712 | 03.03.2021 12:24:05 | 0 | 80c8b38a0afc88d93aedba601070272c7ad09c05 | [PEMSBAY] Download URLs and outputting both output node features | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "@@ -14,11 +14,18 @@ class PemsBayDatasetLoader(object):\nsuper(PemsBayDatasetLoader, self).__init__()\nself._read_web_data()\n+ def _d... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMSBAY] Download URLs and outputting both output node features |
87,712 | 03.03.2021 15:29:11 | 0 | f7404374fcf6f3fb14da4f5710ff3222b6926020 | [Test] Tests for PEMSBAY Dataset | [
{
"change_type": "MODIFY",
"old_path": "test/dataset_test.py",
"new_path": "test/dataset_test.py",
"diff": "import numpy as np\nimport networkx as nx\n-from torch_geometric_temporal.data.dataset import ChickenpoxDatasetLoader, METRLADatasetLoader\n+from torch_geometric_temporal.data.dataset import C... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Test] Tests for PEMSBAY Dataset |
87,712 | 03.03.2021 17:21:07 | 0 | 23a948cb4755aa5ecd6e160ed6759f375fa17b82 | [METR-LA] Download paths that work across operating systems | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"new_path": "torch_geometric_temporal/data/dataset/metr_la.py",
"diff": "@@ -15,10 +15,12 @@ class METRLADatasetLoader(object):\nto June 2012.\n\"\"\"\n- def __init__(self):\n+ def __init__(self, raw_data_dir=... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [METR-LA] Download paths that work across operating systems |
87,712 | 03.03.2021 17:22:00 | 0 | dc2ce18b5f52954b9b289868e81e0af50f5f3352 | [PEMS-BAY] OS agnostic path resolution for rawdata, important for tests | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"new_path": "torch_geometric_temporal/data/dataset/pems_bay.py",
"diff": "@@ -10,8 +10,9 @@ class PemsBayDatasetLoader(object):\n\"\"\"A traffic forecasting dataset as described in DCRNN paper\n\"\"\"\n- def ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [PEMS-BAY] OS agnostic path resolution for rawdata, important for tests |
87,712 | 03.03.2021 17:32:23 | 0 | 163f95a9535390776642db2ad9d1ff23fabe2255 | [Test]
Saving raw-data to tmp for tests | [
{
"change_type": "MODIFY",
"old_path": "test/dataset_test.py",
"new_path": "test/dataset_test.py",
"diff": "@@ -82,7 +82,7 @@ def test_chickenpox():\nassert snapshot.y.shape == (20, )\ndef test_metrla():\n- loader = METRLADatasetLoader()\n+ loader = METRLADatasetLoader(raw_data_dir=\"/tmp/\")\ndatas... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | [Test]
Saving raw-data to tmp for tests |
87,711 | 11.03.2021 17:30:54 | -3,600 | 7283ade6299d317c73b3b922c4cbba222f4a93ca | ones to device
passed torch matrices to the same device as features x | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/recurrent/dcrnn.py",
"new_path": "torch_geometric_temporal/nn/recurrent/dcrnn.py",
"diff": "@@ -49,9 +49,9 @@ class DConv(MessagePassing):\ndef forward(self, x, edge_index, edge_weight):\nadj_mat = to_dense_adj(edge_index, edge_attr... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | ones to device
passed torch matrices to the same device as features x |
87,709 | 15.03.2021 19:03:43 | 0 | aab17a202ed099e83f7576b10a3b0c2c9efa4e08 | ASTGCN, model, example, test, and utils | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/astgcn_example.py",
"diff": "+import torch\n+import random\n+import numpy as np\n+import networkx as nx\n+import torch.nn.functional as F\n+from torch_geometric_temporal.nn.convolutional import ASTGCN\n+from torch_geometric.utils import... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | ASTGCN, model, example, test, and utils |
87,709 | 15.03.2021 22:07:11 | 0 | 11c22e6e312f178fe81535e292393c213a1aa7bc | fix typo for MSTGCN | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -164,7 +164,7 @@ def test_mstgcn():\nx, edge_index = create_mock_data(node_count, edge_per_node, node_features)\nadj_mx = to_scipy_sparse_matrix(edge_index)\n- model = MSTGCN(DE... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | fix typo for MSTGCN |
87,709 | 15.03.2021 23:12:50 | 0 | 699e24d99e9a95d5caa64cd271dfe06263c6dff1 | MSTGCN example, similar to ASTGCN example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/mstgcn_example.py",
"diff": "+import torch\n+import random\n+import numpy as np\n+import networkx as nx\n+import torch.nn.functional as F\n+from torch_geometric_temporal.nn.convolutional import MSTGCN\n+from torch_geometric.utils import... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | MSTGCN example, similar to ASTGCN example |
87,709 | 16.03.2021 10:45:36 | 0 | b9473208cba5bcc27d7e593557ec4782acb555c1 | README to include ASTGCN, MSTGCN, readthedocs to be updated | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -107,6 +107,12 @@ In detail, the following temporal graph neural networks were implemented.\n* **[STGCN](https://pytorch-geometric-temporal.readthedocs.io/en/latest/modules/root.html#torch_geometric_temporal.nn.... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | README to include ASTGCN, MSTGCN, readthedocs to be updated |
87,709 | 17.03.2021 11:00:58 | 0 | 0d500e14e45562d77ff50390b54982e0a92e64eb | MSTGCN remove utils, change name of ChebConv, remove function to generate model, update documentation | [
{
"change_type": "MODIFY",
"old_path": "examples/mstgcn_example.py",
"new_path": "examples/mstgcn_example.py",
"diff": "@@ -4,7 +4,7 @@ import numpy as np\nimport networkx as nx\nimport torch.nn.functional as F\nfrom torch_geometric_temporal.nn.convolutional import MSTGCN\n-from torch_geometric.util... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | MSTGCN remove utils, change name of ChebConv, remove function to generate model, update documentation |
87,709 | 17.03.2021 11:13:50 | 0 | 2775ce5253580a592becb764f1a76d82c8e76e6e | ASTGCN updated, remove function to generate model, put Chebyshev calculation into layers | [
{
"change_type": "MODIFY",
"old_path": "examples/astgcn_example.py",
"new_path": "examples/astgcn_example.py",
"diff": "@@ -2,9 +2,7 @@ import torch\nimport random\nimport numpy as np\nimport networkx as nx\n-import torch.nn.functional as F\nfrom torch_geometric_temporal.nn.convolutional import ASTG... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | ASTGCN updated, remove function to generate model, put Chebyshev calculation into layers |
87,709 | 18.03.2021 10:37:08 | 0 | f62d49509673e3df5f7a628463e18fbd65cd070d | fix MSTGCN to use PTG ChebConv | [
{
"change_type": "MODIFY",
"old_path": "examples/mstgcn_example.py",
"new_path": "examples/mstgcn_example.py",
"diff": "@@ -3,7 +3,8 @@ import random\nimport numpy as np\nimport networkx as nx\nimport torch.nn.functional as F\n-from torch_geometric_temporal.nn.convolutional import MSTGCN\n+# from to... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | fix MSTGCN to use PTG ChebConv |
87,709 | 18.03.2021 10:44:50 | 0 | 158b402cbbf8edb3bf53f007258b7c73973d97ee | mstgcn example | [
{
"change_type": "MODIFY",
"old_path": "examples/mstgcn_example.py",
"new_path": "examples/mstgcn_example.py",
"diff": "@@ -3,8 +3,7 @@ import random\nimport numpy as np\nimport networkx as nx\nimport torch.nn.functional as F\n-# from torch_geometric_temporal.nn.convolutional import MSTGCN\n-from ms... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | mstgcn example |
87,709 | 18.03.2021 11:51:30 | 0 | b6e5117c2fc63a389880ceb887bb38a5580a7c68 | no normalization of Laplacian when using ChebConv, calculate lambda_max explicitly | [
{
"change_type": "MODIFY",
"old_path": "examples/mstgcn_example.py",
"new_path": "examples/mstgcn_example.py",
"diff": "@@ -75,7 +75,7 @@ for epoch in range(epochs):\nfor batch_data in train_loader:\nencoder_inputs, labels = batch_data\noptimizer.zero_grad()\n- outputs = model(encoder_inputs, edge_i... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | no normalization of Laplacian when using ChebConv, calculate lambda_max explicitly |
87,709 | 18.03.2021 12:01:29 | 0 | 907e82424eff494f9f2fa58688cbf6fb80e86110 | batch not None for ChebConv | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mstgcn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mstgcn.py",
"diff": "@@ -36,7 +36,7 @@ class MSTGCN_block(nn.Module):\noutputs = []\nfor time_step in range(num_of_timesteps):\noutputs.append(torch.un... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | batch not None for ChebConv |
87,709 | 18.03.2021 12:49:39 | 0 | 509a541a01913f5b45859b801c48b5fd264bd94a | parallel computation of time and batch dim, more efficient | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mstgcn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mstgcn.py",
"diff": "@@ -14,6 +14,7 @@ class MSTGCN_block(nn.Module):\nself.time_conv = nn.Conv2d(nb_chev_filter, nb_time_filter, kernel_size=(1, 3), s... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | parallel computation of time and batch dim, more efficient |
87,709 | 18.03.2021 13:06:31 | 0 | 4a02ede131a907e6735fa47697ffc8d0d9622614 | MSTGCN can deal with changing edge_index over time as a list or constant edge_index efficiently in parallel | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -178,5 +178,51 @@ def test_mstgcn():\ncriterion = torch.nn.MSELoss().to(DEVICE)\nfor batch_data in train_loader:\nencoder_inputs, labels = batch_data\n- outputs = model(encoder_... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | MSTGCN can deal with changing edge_index over time as a list or constant edge_index efficiently in parallel |
87,709 | 18.03.2021 13:07:54 | 0 | d512154af574283734805252db695740374946c1 | example and docs for MSTGCN | [
{
"change_type": "MODIFY",
"old_path": "examples/mstgcn_example.py",
"new_path": "examples/mstgcn_example.py",
"diff": "@@ -75,7 +75,7 @@ for epoch in range(epochs):\nfor batch_data in train_loader:\nencoder_inputs, labels = batch_data\noptimizer.zero_grad()\n- outputs = model(encoder_inputs, edge_i... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | example and docs for MSTGCN |
87,709 | 18.03.2021 15:56:58 | 0 | bef78ecda73a683f7d5d3607df0fcc1167d6f9cb | mstgcn batch | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -153,7 +153,7 @@ def test_mstgcn():\nnb_time_strides = 1\ndevice = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n- node_features = 1\n+ node_features = 2\nnb... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | mstgcn batch |
87,709 | 18.03.2021 16:56:08 | 0 | 58e6911b0d38e421974357101273701891ce9f8e | rewrite chebconv with attention for astgcn | [
{
"change_type": "MODIFY",
"old_path": "examples/astgcn_example.py",
"new_path": "examples/astgcn_example.py",
"diff": "@@ -2,6 +2,7 @@ import torch\nimport random\nimport numpy as np\nimport networkx as nx\n+from torch import nn\nfrom torch_geometric_temporal.nn.convolutional import ASTGCN\ndef cre... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | rewrite chebconv with attention for astgcn |
87,709 | 18.03.2021 17:08:12 | 0 | 7fab66203f2afb5d9cf3e20b898a5fb16b6882ac | ChebConvAtt layer | [
{
"change_type": "MODIFY",
"old_path": "examples/astgcn_example.py",
"new_path": "examples/astgcn_example.py",
"diff": "@@ -3,7 +3,7 @@ import random\nimport numpy as np\nimport networkx as nx\nfrom torch import nn\n-from torch_geometric_temporal.nn.convolutional import ASTGCN\n+from torch_geometric... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | ChebConvAtt layer |
87,709 | 18.03.2021 17:17:27 | 0 | b31dd8833856d0aa67f45c6baed709f014360a52 | remove device from input | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -117,7 +117,7 @@ def test_astgcn():\nbatch_size = 32\nx, edge_index = create_mock_data(node_count, edge_per_node, node_features)\n- model = ASTGCN(device, nb_block, node_feature... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove device from input |
87,709 | 18.03.2021 17:21:45 | 0 | 7096129170907aa0cd300a52e90ffa3608f3c9da | remove device as model input from example | [
{
"change_type": "MODIFY",
"old_path": "examples/astgcn_example.py",
"new_path": "examples/astgcn_example.py",
"diff": "@@ -47,7 +47,7 @@ nb_time_filter = 64\nbatch_size = 32\nx, edge_index = create_mock_data(node_count, edge_per_node, node_features)\n-model = ASTGCN(device, nb_block, node_features,... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove device as model input from example |
87,709 | 18.03.2021 17:24:05 | 0 | d8bd19c7bcd6c53b6f6f9ee0240e33321445da59 | add convolution test for astgcn with changing edge_index over time | [
{
"change_type": "MODIFY",
"old_path": "test/convolutional_test.py",
"new_path": "test/convolutional_test.py",
"diff": "@@ -180,6 +180,52 @@ def test_mstgcn():\noutputs = model(encoder_inputs, edge_index)\nassert outputs.shape == (batch_size, node_count, num_for_predict)\n+def test_astgcn_change_edg... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | add convolution test for astgcn with changing edge_index over time |
87,709 | 18.03.2021 17:40:39 | 0 | 6c59b8ca9dfbafb201be2b108f82784c1c86a1f3 | chebconvatt documentation update | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -63,7 +63,7 @@ Discrete Temporal Graph Convolutional Layers\n.. automodule:: torch_geometric_temporal.nn.convolutional.chebconvatt\n:members:\n:undoc-members:\n- :exclude-me... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | chebconvatt documentation update |
87,709 | 18.03.2021 17:43:31 | 0 | d255ba180972b63bc793cf333c90e013d5a8424b | astgcn documentation update: delete prime | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/astgcn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/astgcn.py",
"diff": "@@ -24,10 +24,10 @@ class Spatial_Attention_layer(nn.Module):\nB is the batch size. N_nodes is the number of nodes in the graph. F... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | astgcn documentation update: delete prime |
87,709 | 18.03.2021 18:15:18 | 0 | 6703cc6c64cd4b5ca1623fdbb44ffd6a59a3e4ec | reset parameters added to astgcn and mstgcn, deleted from examples | [
{
"change_type": "MODIFY",
"old_path": "examples/astgcn_example.py",
"new_path": "examples/astgcn_example.py",
"diff": "@@ -2,7 +2,6 @@ import torch\nimport random\nimport numpy as np\nimport networkx as nx\n-from torch import nn\nfrom torch_geometric_temporal.nn import ASTGCN\ndef create_mock_data(... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | reset parameters added to astgcn and mstgcn, deleted from examples |
87,709 | 18.03.2021 18:28:08 | 0 | c2e8a3e4b81d804c0e20edd72a95275101e9a220 | remove unsed att_norm | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"new_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"diff": "@@ -116,17 +116,16 @@ class ChebConvAtt(MessagePassing):\nlambda_max, dtype=x.dtype,\nbatch=batch)\nrow, col = edge_inde... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove unsed att_norm |
87,709 | 18.03.2021 18:28:29 | 0 | 4417f6ed8b020821cb6190cae4655c2512adf8d2 | remove unsed col, row | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"new_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"diff": "@@ -115,8 +115,8 @@ class ChebConvAtt(MessagePassing):\nedge_weight, self.normalization,\nlambda_max, dtype=x.dtype,\nba... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove unsed col, row |
87,709 | 18.03.2021 18:49:39 | 0 | b4b712595e2c8ad9a812da6739e69c564dad108c | add test for chebconvatt | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/chebconvatt_example.py",
"diff": "+import torch\n+import random\n+import numpy as np\n+import networkx as nx\n+from torch_geometric_temporal.nn import ChebConvAtt\n+from torch_geometric.transforms import LaplacianLambdaMax\n+from torch_... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | add test for chebconvatt |
87,709 | 18.03.2021 22:29:06 | 0 | 557f898e3f71db13aece8c3e0f2e20b8e7c9c7c3 | fix bug of chebconvatt | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"new_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"diff": "@@ -115,13 +115,14 @@ class ChebConvAtt(MessagePassing):\nedge_weight, self.normalization,\nlambda_max, dtype=x.dtype,\n... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | fix bug of chebconvatt |
87,709 | 18.03.2021 23:26:13 | 0 | a51b5bc62b0b95da401cbfb02a861471914fdf78 | add transpose according to the original implementation | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"new_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"diff": "@@ -123,12 +123,13 @@ class ChebConvAtt(MessagePassing):\nout = torch.matmul(TAx_0, self.weight[0])\n# L_tilde = torch.s... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | add transpose according to the original implementation |
87,709 | 18.03.2021 23:43:47 | 0 | 33530921e6b4e76c66d2035f99bffd841c27cedb | forward doc for chebconvatt | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"new_path": "torch_geometric_temporal/nn/convolutional/chebconvatt.py",
"diff": "@@ -100,7 +100,23 @@ class ChebConvAtt(MessagePassing):\ndef forward(self, x, edge_index, spatial_attention, edge_weight... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | forward doc for chebconvatt |
87,709 | 19.03.2021 21:19:40 | 0 | 04328a51b0eb0fd867733c1cd11380e76fa48de0 | MTGNN, layers, model, test and example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/mtgnn_multi_step_example.py",
"diff": "+import torch\n+import numpy as np\n+from torch_geometric.utils import to_scipy_sparse_matrix\n+import networkx as nx\n+from torch_geometric_temporal.nn import MTGNN\n+\n+def create_mock_data(numbe... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | MTGNN, layers, model, test and example |
87,709 | 19.03.2021 21:44:40 | 0 | 19deaba55ba47cef4803fc9b39785f4015d8a4a4 | MTGNN args docs | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"diff": "@@ -2,6 +2,32 @@ from .mtgnn_layers import *\nclass MTGNN(nn.Module):\n+ r\"\"\"An implementation of the Multivariate Time Series Fo... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | MTGNN args docs |
87,709 | 19.03.2021 21:59:44 | 0 | b0e1e7a585bc3f9f26f02021d9978a4f613dfd9e | docs for forward pass | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"diff": "@@ -113,6 +113,18 @@ class MTGNN(nn.Module):\ndef forward(self, input, idx=None):\n+ \"\"\"\n+ Making a forward pass of MTGNN.\n+ B ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | docs for forward pass |
87,709 | 19.03.2021 22:01:06 | 0 | 7ee6b179214eed82433e653ed53ee1da6e62607c | docs for mtgnn | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -66,6 +66,11 @@ Discrete Temporal Graph Convolutional Layers\n:undoc-members:\n:exclude-members: MSTGCN_submodule, MSTGCN_block\n+.. automodule:: torch_geometric_temporal.nn... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | docs for mtgnn |
87,709 | 19.03.2021 22:13:58 | 0 | 42f0c1f21d9bcb68fab92b6b2f508374de4dfa1a | remove device as model init part | [
{
"change_type": "MODIFY",
"old_path": "examples/mtgnn_multi_step_example.py",
"new_path": "examples/mtgnn_multi_step_example.py",
"diff": "@@ -125,7 +125,7 @@ data = DataLoaderM(x_all,y_all,batch_size)\nscaler = StandardScaler(mean=x_all[..., 0].mean(), std=x_all[..., 0].std())\n# define model and ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove device as model init part |
87,709 | 19.03.2021 22:20:37 | 0 | d75373ea909101a68ac145771aa6c2aa0a75fb82 | resources add MTGNN | [
{
"change_type": "MODIFY",
"old_path": "docs/source/notes/resources.rst",
"new_path": "docs/source/notes/resources.rst",
"diff": "@@ -23,6 +23,8 @@ External Resources - Architectures\n* Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, Huaiyu Wan: **Attention Based Spatial-Temporal Graph Convolutiona... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | resources add MTGNN |
87,709 | 19.03.2021 23:06:41 | 0 | 16bfaa1dde81c8640900f19067c277a3c8333256 | two more useful layers added, unused layers deleted | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/__init__.py",
"new_path": "torch_geometric_temporal/nn/convolutional/__init__.py",
"diff": "@@ -3,3 +3,4 @@ from .astgcn import ASTGCN\nfrom .mstgcn import MSTGCN\nfrom .chebconvatt import ChebConvAtt\nfrom .mtgnn impo... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | two more useful layers added, unused layers deleted |
87,709 | 19.03.2021 23:09:09 | 0 | 8590a09b5cd63f5b7293be885d9dc69c67985686 | docs for the two layers with comments | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -88,3 +88,8 @@ Auxiliary Graph Convolutional Layers\n:members:\n:undoc-members:\n:exclude-members: glorot, zeros\n+\n+.. automodule:: torch_geometric_temporal.nn.convolution... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | docs for the two layers with comments |
87,709 | 19.03.2021 23:14:52 | 0 | 89dd7cf923b1148c8d982429d08a873d691f5486 | fix typo in tanhalpha docs | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"diff": "@@ -25,7 +25,7 @@ class MTGNN(nn.Module):\nout_dim (int, optional) : output dimension, default 12.\nlayers (int, optional) : number ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | fix typo in tanhalpha docs |
87,709 | 20.03.2021 14:36:28 | 0 | 128b50aff54bf0fde89ed561815a942151c8541b | update docs and add tests for mtgnn layers, delete unused commands | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/gc_mixprop_example.py",
"diff": "+import torch\n+import numpy as np\n+from torch_geometric.utils import to_scipy_sparse_matrix\n+import networkx as nx\n+from torch_geometric_temporal.nn import mixprop, graph_constructor\n+\n+def create_... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | update docs and add tests for mtgnn layers, delete unused commands |
87,709 | 20.03.2021 15:55:46 | 0 | 3ed6d81279e8e82d103f153c9ca4cbfde2c84849 | GMAN, model, example and test | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/GMAN_example.py",
"diff": "+import torch.optim as optim\n+import torch.nn as nn\n+import torch\n+import math\n+import networkx as nx\n+import numpy as np\n+from torch_geometric_temporal.nn import GMAN\n+\n+def create_mock_data(number_of... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | GMAN, model, example and test |
87,709 | 20.03.2021 16:05:42 | 0 | 8f67a08ec8630429984276460e13c8d8c53d7674 | mtgnn doc typo | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"new_path": "torch_geometric_temporal/nn/convolutional/mtgnn.py",
"diff": "@@ -118,7 +118,7 @@ class MTGNN(nn.Module):\nArg types:\n* input (PyTorch Float Tensor) - input sequence, with shape (batch size, in... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | mtgnn doc typo |
87,709 | 20.03.2021 16:08:51 | 0 | c231071505476dac831ad8b1d827f2196d8f5662 | GMAN in docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -71,6 +71,11 @@ Discrete Temporal Graph Convolutional Layers\n:undoc-members:\n:exclude-members:\n+.. automodule:: torch_geometric_temporal.nn.convolutional.gman\n+ :members... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | GMAN in docs |
87,709 | 20.03.2021 16:10:33 | 0 | 7c091d6055907290ffd4620d83eeeb4bf3eaf1b5 | GMAN in resources | [
{
"change_type": "MODIFY",
"old_path": "docs/source/notes/resources.rst",
"new_path": "docs/source/notes/resources.rst",
"diff": "@@ -25,6 +25,8 @@ External Resources - Architectures\n* Zonghan Wu, Shirui Pan, Guodong Long, Jing Jiang, Xiaojun Chang, Chengqi Zhang: **Connecting the Dots: Multivariat... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | GMAN in resources |
87,709 | 20.03.2021 16:12:58 | 0 | 531ddf068280264c29ca389115e28acb36a73dad | GMAN in README | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -113,13 +113,14 @@ In detail, the following temporal graph neural networks were implemented.\n* **[MTGNN](https://pytorch-geometric-temporal.readthedocs.io/en/latest/modules/root.html#torch_geometric_temporal.nn... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | GMAN in README |
87,709 | 20.03.2021 16:16:21 | 0 | 9ccf6d83be8fe95505332845daef3db0d7d7667f | remove transformAttention docs | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -74,7 +74,7 @@ Discrete Temporal Graph Convolutional Layers\n.. automodule:: torch_geometric_temporal.nn.convolutional.gman\n:members:\n:undoc-members:\n- :exclude-members: ... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | remove transformAttention docs |
87,709 | 20.03.2021 19:58:52 | 0 | d65f1fec6b350eba11ef3ebb7454e846f089e2c1 | typo: momentum | [
{
"change_type": "MODIFY",
"old_path": "torch_geometric_temporal/nn/convolutional/gman.py",
"new_path": "torch_geometric_temporal/nn/convolutional/gman.py",
"diff": "@@ -318,7 +318,7 @@ class GMAN(nn.Module):\nL (int) : number of STAtt blocks in the encoder/decoder.\nK (int) : number of attention he... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | typo: momentum |
87,709 | 20.03.2021 20:42:20 | 0 | 8efa512ff3ac06546a082de036a85428720abd7a | reduce the number of tests but add more asset in each test functions | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/GMAN_components_example.py",
"diff": "+import torch.nn as nn\n+import torch\n+import math\n+import networkx as nx\n+import numpy as np\n+from torch_geometric_temporal.nn import STEmbedding, STAttBlock, transformAttention\n+\n+def create... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | reduce the number of tests but add more asset in each test functions |
87,709 | 20.03.2021 20:58:40 | 0 | 3e3775b035209b56335ebda63d7f49d89ede4e67 | docs for gman, change test so that input and output do not have the same length | [
{
"change_type": "MODIFY",
"old_path": "examples/GMAN_components_example.py",
"new_path": "examples/GMAN_components_example.py",
"diff": "@@ -19,7 +19,7 @@ d = 8\nD = K * d\nbn_decay = 0.1\nnum_his = 12\n-num_pred = 12\n+num_pred = 10\nnum_nodes = 50\nnum_sample = 100\nbatch_size = 32\n@@ -44,5 +44,... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | docs for gman, change test so that input and output do not have the same length |
87,709 | 20.03.2021 21:13:31 | 0 | 08bb3dbe3a7454dbbdc7c9ac5f45b9f2139204da | documentation for auxiliary layers in GMAN | [
{
"change_type": "MODIFY",
"old_path": "docs/source/modules/root.rst",
"new_path": "docs/source/modules/root.rst",
"diff": "@@ -98,3 +98,8 @@ Auxiliary Graph Convolutional Layers\n:members:\n:undoc-members:\n:exclude-members: nconv, linear, dilated_inception, LayerNorm\n+\n+.. automodule:: torch_geo... | Python | MIT License | benedekrozemberczki/pytorch_geometric_temporal | documentation for auxiliary layers in GMAN |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.