Skip to content

feat: add regression branch #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 62 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e9ead9e
feat: add regression repo
Dec 19, 2022
5c6cafc
Correct Path
Dec 21, 2022
d024124
Install pkg
Dec 21, 2022
4431b0d
Test commit
Dec 21, 2022
52596e2
Remove test.txt
Dec 21, 2022
8266058
Remove regression to avoid infinite loop
Dec 21, 2022
32b6157
feat: update notebooks to save resources to csv files and upload them…
Dec 21, 2022
65f9c62
feat: add jenkins job id to config file
Dec 21, 2022
1242942
Fix config json format
Dec 22, 2022
7f990dc
feat: fix output path
Dec 22, 2022
d0f4b1c
fix: update notebook id
Dec 22, 2022
acef433
fix: include all notebooks in regression test
Jan 4, 2023
58c5c06
fix: update config file for monitoring cluster info
Jan 4, 2023
8b3d423
Fix json format
Jan 4, 2023
e133b48
fix: add pytigergraph csv file
Jan 6, 2023
bfe9de6
fix: update file path
Jan 6, 2023
81ac8d9
fix: notebook path
Jan 6, 2023
eea2541
fix: fix the typo uploading pytigergraph.csv to server
Jan 6, 2023
b2ed3c0
fix: fix the typo uploading pytigergraph.csv to server
Jan 6, 2023
e6658f7
fix(pyTG_101): getVer error when DB has nontypical version
billshitg Jan 13, 2023
123cf9b
feat(basics): add template query
billshitg Jan 18, 2023
b7eb71d
fix(topoLinkPred): add print for testcase
billshitg Jan 23, 2023
137db6b
fix(template_query): note some template queries are missing
billshitg Jan 23, 2023
ddde456
fix(app): add print in fraud for testing
billshitg Jan 24, 2023
47d77d4
chore(basics): save template query for later
billshitg Jan 26, 2023
00964eb
feat(environments): first commit
parkererickson-tg Mar 13, 2023
d185fb3
fix(tensorflow env): add yml file extension
parkererickson-tg Mar 13, 2023
b877ba3
fix(torch env): add ipykernel
parkererickson-tg Mar 13, 2023
e02cad3
feat(fastrp_embedding): add fast rp embeddings to xgboost
parkererickson-tg Jan 12, 2023
51f66a9
clean(ethereum fraud): remove pyTG upgrade
parkererickson-tg Jan 30, 2023
2f3c482
feat(nodepiece notebooks): first commit
parkererickson-tg Dec 16, 2022
414d2c9
feat(nodepiece_gnn): update embedding table
parkererickson-tg Dec 16, 2022
e979e4a
doc(nodepiece_gnn): update doc
parkererickson-tg Dec 21, 2022
ffa9dbb
docs(nodepiece): update notebook comments
parkererickson-tg Dec 21, 2022
2b4a014
fix(nodepiece nb): fix config.json path
parkererickson-tg Jan 9, 2023
a2f7663
clean(nodepiece): remove unneeded git install
parkererickson-tg Jan 26, 2023
bed8d49
doc(nodepiece nb): add pyTG compatibility
parkererickson-tg Jan 30, 2023
d9f4e6c
feat(template_query): add example for BFS
billshitg Feb 7, 2023
8f29b2b
feat(fraud): add model with non-graph features
billshitg Mar 7, 2023
4742b92
fix(embeddings): fix parameter names for fastrp
billshitg Mar 8, 2023
e7a3c9b
fix(readme): add template query notebook
billshitg Feb 18, 2023
efbf5c1
fix(torch env): fix pyg version
parkererickson-tg Mar 13, 2023
b0f6169
feat(basics): add draft of data loader notebook
billshitg Apr 20, 2023
4bc8d32
fix(data_loaders): change kafka address
billshitg Apr 20, 2023
b2bcba5
doc(data_loaders): add table of contents and stop
billshitg Apr 25, 2023
1c66f96
feat(ethereum notebook): add built-in model
parkererickson-tg Apr 26, 2023
99b6ba1
fix(hgat pyg): self loops = false in accordance to upgraded PyG
parkererickson-tg May 6, 2023
ba84867
fix(hgat): fix add_self_loops in both models
parkererickson-tg May 7, 2023
e180b70
fix(spektral): add num_classes to gcn notebook
billshitg Jun 13, 2023
1ecfecc
doc(ethereum data): update doc, richer summary
parkererickson-tg Aug 2, 2023
d65d56d
feat(cloud_deploy): add gcp notebook
parkererickson-tg Mar 10, 2023
5848440
feat(gcp notebook): add gcp notebook
parkererickson-tg Mar 15, 2023
48d6955
doc(gcp notebook): update description
parkererickson-tg Mar 15, 2023
738f7b9
feat(langchain): add Langchain demo
parkererickson-tg Aug 4, 2023
0dbc7bb
feat(ethereum notebook): add wcc feature
parkererickson-tg Aug 7, 2023
a5f9971
fix: change gmlnotebook_id
Jan 11, 2023
aeb714e
Fix typo
Jan 11, 2023
5b114c6
Fix syntax error
Jan 11, 2023
9210d13
fix: change the folder of regression results
Jan 13, 2023
062eefd
fix: add keyword to notebooks and algorithms
Jan 15, 2023
7ae1c4c
fix: keyword and notebook id in algorithm
Jan 18, 2023
5091aeb
fix: rm langchain and dataloader notebook
billshitg Sep 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GNNs/PyG/hgat_node_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
" out_units = out_dim if i == (num_layers - 1) else hidden_dim\n",
" heads = 1 if i == (num_layers - 1) else num_heads\n",
" self.layers.append(\n",
" GATConv(in_units, out_units, heads=heads, dropout=dropout)\n",
" GATConv(in_units, out_units, heads=heads, dropout=dropout, add_self_loops=False)\n",
" )\n",
"\n",
" def reset_parameters(self):\n",
Expand Down Expand Up @@ -709,7 +709,7 @@
" out_units = out_dim if i == (num_layers - 1) else hidden_dim\n",
" heads = 1 if i == (num_layers - 1) else num_heads\n",
" self.layers.append(\n",
" GATConv(in_units, out_units, heads=heads, dropout=dropout)\n",
" GATConv(in_units, out_units, heads=heads, dropout=dropout, add_self_loops=False)\n",
" )\n",
"\n",
" def reset_parameters(self):\n",
Expand Down
18 changes: 9 additions & 9 deletions GNNs/Spektral/gcn_node_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
"optimizer = Adam(learning_rate=hp[\"lr\"])\n",
"loss_fn = CategoricalCrossentropy()\n",
"\n",
"one_hot_y = to_categorical(y)\n",
"one_hot_y = to_categorical(y, num_classes=7)\n",
"tf_a = tf.SparseTensor(#converts the scipy sparse matrix to a tensorflow sparse matrix\n",
" indices=np.array([adj.row, adj.col]).T,\n",
" values=adj.data,\n",
Expand Down Expand Up @@ -673,13 +673,13 @@
"outputs": [],
"source": [
"def preprocess_batch(graph):\n",
" x, adj, y, mask_tr, mask_va, mask_te = graph.x, graph.A, graph.y, graph.train_mask, graph.val_mask, graph.test_mask\n",
" one_hot_y = to_categorical(y)\n",
" tf_a = tf.SparseTensor(#converts the scipy sparse matrix to a tensorflow sparse matrix\n",
" indices=np.array([adj.row, adj.col]).T,\n",
" values=adj.data,\n",
" dense_shape=adj.shape)\n",
" return x, tf_a, one_hot_y\n",
" x, adj, y, mask_tr, mask_va, mask_te = graph.x, graph.A, graph.y, graph.train_mask, graph.val_mask, graph.test_mask\n",
" one_hot_y = to_categorical(y, num_classes=7)\n",
" tf_a = tf.SparseTensor(#converts the scipy sparse matrix to a tensorflow sparse matrix\n",
" indices=np.array([adj.row, adj.col]).T,\n",
" values=adj.data,\n",
" dense_shape=adj.shape)\n",
" return x, tf_a, one_hot_y\n",
"\n",
"val_acc_metric = tf.keras.metrics.CategoricalAccuracy()\n",
"val_loss_metric = tf.keras.metrics.CategoricalCrossentropy()"
Expand Down Expand Up @@ -918,7 +918,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.9.16"
},
"vscode": {
"interpreter": {
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ We recommend starting with the tutorials in the `basics` folders if you are new
| basics | [pyTigergraph_101.ipynb](./basics/pyTigergraph_101.ipynb) | Basic pyTigerGraph examples|
| basics | [gsql_101.ipynb](./basics/gsql_101.ipynb) | Basic GSQL 101 using pyTigerGraph |
| basics | [gsql_102.ipynb](./basics/gsql_102.ipynb) | Advanced GSQL 102 (pattern match) using pyTigerGraph |
| basics | [template_query.ipynb](./basics/template_query.ipynb) | How to call template query with pyTigerGraph |

### 2. Graph Algorithms

Expand Down
Loading