Update README.md
Browse files
README.md
CHANGED
@@ -1 +1,61 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- machine-learning
|
6 |
+
- neural-team-formation
|
7 |
+
pretty_name: 'OpeNTF: An Open-Source Neural Team Formation Benchmark Library'
|
8 |
+
---
|
9 |
+
# File Structure
|
10 |
+
- each training set will have it's own `teamsvecs.pkl` file that can be accessed through the following file path:
|
11 |
+
- the file structure is identical to that in the OpeNTF github repository
|
12 |
+
|
13 |
+
```
|
14 |
+
\---output
|
15 |
+
| \---{domain} # e.g. dblp
|
16 |
+
| \---{training dataset} # e.g. toy.dblp.v12.json
|
17 |
+
| teamsvecs.pkl
|
18 |
+
```
|
19 |
+
|
20 |
+
|
21 |
+
# Teamsvecs Structure
|
22 |
+
|
23 |
+
## Teamsvecs.pkl
|
24 |
+
```
|
25 |
+
{
|
26 |
+
'skill': {spare matrix of n_teams x n_skills},
|
27 |
+
'member': {sparse matrix of n_teams x n_members},
|
28 |
+
'loc': {sparse matrix of n_teams x n_locs} // optional
|
29 |
+
}
|
30 |
+
```
|
31 |
+
|
32 |
+
### skill
|
33 |
+
- every team in the entire dataset is represented as a row
|
34 |
+
- every skill in the entire dataset is represented as a column
|
35 |
+
- **each row represents the skills that everyone on the team possesses**
|
36 |
+
|
37 |
+
### member
|
38 |
+
- every team in the entire dataset is represented as a row
|
39 |
+
- every member in the entire dataset is represented as a column
|
40 |
+
- **each row represents all the members for a the given team**
|
41 |
+
|
42 |
+
### loc
|
43 |
+
- every geolocation in the entire dataset is represented as a row
|
44 |
+
- every skill in the entire dataset is represented as a column
|
45 |
+
- **each row represents all the geolocations for a given team**
|
46 |
+
- NOTE: will be set to `None` if the dataset does not include geolocation
|
47 |
+
|
48 |
+
## Full Sparse Matrix
|
49 |
+
- the three sparse matrices from above can be aligned side by side to form a sparse matrix of `n_teams x (n_skills + n_members + n_locs)`
|
50 |
+
|
51 |
+
### Example
|
52 |
+
- team 1 includes members m1 and m2, skills of s2 and s4, and has the geolocation of l2.
|
53 |
+
- team 2 includes members m2 and m3, skills of s1 and s2, and has the geolocation of l1.
|
54 |
+
|
55 |
+
| s1 | s2 | s3 | s4 | m1 | m2 | m3 | l1 | l2 |
|
56 |
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
57 |
+
| 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 |
|
58 |
+
| 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
|
59 |
+
|
60 |
+
# Links
|
61 |
+
- [OpeNTF GitHub Repository](https://github.com/fani-lab/OpeNTF)
|