Knowledge-Graph-Hub / neat-ml

Network Embedding All the Things
BSD 3-Clause "New" or "Revised" License
18 stars 1 forks source link

Output link predictions as SSSOM #90

Open caufieldjh opened 2 years ago

caufieldjh commented 2 years ago

The existing output for predicted links looks like this:

source_node destination_node    score
ENSP00000451575 ENSP00000435370 0.9370759965425138
ENSP00000451575 ENSP00000435370 0.9370759965425138
ENSP00000451575 ENSP00000361636 0.9361207132288921
ENSP00000451575 ENSP00000361636 0.9361207132288921
ENSP00000451575 ENSP00000357879 0.9361171909487621

The corresponding columns in SSSOM are subject_id, object_id, and confidence. We can change the column heading and already be compliant.

It would be best to include some provenance as well, though - a string can go in additional columns, mapping_tool and mapping_tool_version. We have a few different things to keep track of here:

caufieldjh commented 1 year ago

Could represent neat config full text as hash, then include in SSSOM output (don't forget docs on where to find the hash function)