You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mdl/emb/__config__.yaml
+27-12Lines changed: 27 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ model:
7
7
ns: 5# number of negative samples for each positive sample
8
8
lr: 0.001#learning rate
9
9
es: 5# earlystopping's patience. to bypass, set it to a higher value than epoch
10
-
save_per_epoch: False
10
+
save_per_epoch: True
11
11
12
12
# Quoc V. Le, Tomás Mikolov: Distributed Representations of Sentences and Documents. ICML 2014: 1188-1196
13
13
d2v: # we use gensim
@@ -22,7 +22,7 @@ model:
22
22
d: ${dim}
23
23
e: ${model.epochs}
24
24
lr: ${model.lr}
25
-
save_per_epoch: ${model.save_per_epoch}
25
+
spe: ${model.save_per_epoch}
26
26
27
27
gnn:
28
28
graph:
@@ -41,13 +41,13 @@ model:
41
41
#max
42
42
#mul
43
43
pre: # if set, use pretrained D2v vectors as initial node features of graph data
44
-
#d8.e100.w10.d2v.dm1.skillmember # skill, member, team
45
-
#d8.e100.w10.d2v.dm1.skill # skill, team
46
-
#d9.e100.w10.d2v.dm1.skill # if not exists, train from scratch!
44
+
#d2v.d8.e100.w10.dm1.skillmember # skill, member, team
45
+
#d2v.d8.e100.w10.dm1.skill # skill, team
46
+
#d2v.d9.e100.w10.dm1.skill # if not exists, train from scratch!
47
47
48
48
pytorch: #will be overriden dynamically in ./src/main.py from root ./__config__.yaml
49
49
seed: ${model.seed}
50
-
model: #dummy tag as placeholder. don't worry or touch it.
50
+
model: #dummy tag as placeholder. don't worry or touch it.
51
51
52
52
#Grover, Aditya, and Jure Leskovec. "node2vec: Scalable feature learning for networks." Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining. 2016.
53
53
#p: Return parameter, controls likelihood of revisiting the previous node. high p → discourages going back, low p → encourages backtracking
metapath_name: # to have an embedding for a node type, it should be part of the metapath, e.g., for locations
78
-
#[[[member, rev_to, skill], [skill, to, member]], ms-sm] # for sm graph structure
79
-
[[[member, to, team], [team, rev_to, skill], [skill, to, team], [team, rev_to, member]], 'mts-stm'] #m->t->s, s->t->m for stm. Note: when we build the graph, m->t, s->t, l->t. So, make it undirected, t->m, t->s get 'rev_to' label
80
-
#[[[member, to, team],[team, rev_to, loc], [loc, to, team], [team, rev_to, member]], mtl-ltm] #stml
78
+
##member → skill → member → skill, recommend skills to members, for sm graph structure
79
+
#[[[member, rev_to, skill], [skill, to, member], [member, rev_to, skill]], msm]
80
+
81
+
##team → skill → team → member for stm. Given a team, rank likely members, recommend members to a team
82
+
[[[team, rev_to, skill], [skill, to, team ], [team, rev_to, member]], tstm]
83
+
## member → team → skill → team for stm. Given a member, recommend likely teams
84
+
#[[[member, to, team], [team, rev_to, skill], [skill, to, team], mtst]
85
+
86
+
##stml (member → team → location → team) Members worked on teams in the same location as the target team. Recommending teams to members or ranking likely team assignments for new members
87
+
#[[[member, to, team], [team, rev_to, loc], [loc, to, team]], mtlt]
88
+
89
+
##Combines skill and location similarity (similar domain and location) to find members from teams that share skills and location with the target team. Location is important (e.g., for co-location constraints) and to reflect real-world assignment feasibility
90
+
#[[[team, rev_to, skill], [skill, to, team], [team, rev_to, loc], [loc, to, team], [team, rev_to, member]], tstlt]
91
+
## (member → team → location → team), Member to similar teams in area, Teams near where member has worked
92
+
#[[member, to, team], [team, rev_to, loc], [loc, to, team], mtlt]
93
+
## (team → location → team → member), Recommend local team members, Members in geographically close teams
94
+
#[[team, rev_to, loc], [loc, to, team], [team, rev_to, member]], tltm]
wl: 3#${model.gnn.n2v.wl} #walk_length AttributeError: The 'walk_length' is longer than the given 'metapath', but the 'metapath' does not denote a cycle
90
105
wn: ${model.gnn.n2v.wn} #walks_per_node
91
106
92
107
#Thomas N. Kipf, Max Welling: Semi-Supervised Classification with Graph Convolutional Networks. ICLR (Poster) 2017
0 commit comments