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
Map analysis takes days to calculate and gigabytes to store, but we're only interested in the top matches from standard to standard. It's no use to find 100 weakly linked topics if you have a couple of direct links and a number of strong links.
The idea therefore is to prune the search we do for map analysis, by stopping search early if we know that we're looking
design a strategy for pruning. First stab: don't search for average and weak links if we have direct and strong links. Don't search for weak links if we have direct, strong or average links'.
update the search algorithm. This will require some smartness, depending on how it is implemented.
By the way, I notice we don't seem to have weak links anymore: should we change our categorization and make 3-6 average and 7+ weak?
First step: find expertise in Neo4J. Rob
The text was updated successfully, but these errors were encountered:
By the way, I notice we don't seem to have weak links anymore: should we change our categorization and make 3-6 average and 7+ weak?
The query is the following:
OPTIONAL MATCH (BaseStandard:NeoStandard {name: $name1}) OPTIONAL MATCH (CompareStandard:NeoStandard {name: $name2}) OPTIONAL MATCH p = allShortestPaths((BaseStandard)-[*..20]-(CompareStandard)) WITH p WHERE length(p) > 1 AND ALL(n in NODES(p) WHERE (n:NeoCRE or n = BaseStandard or n = CompareStandard) AND NOT n.name in $denylist) RETURN p
followed by
OPTIONAL MATCH (BaseStandard:NeoStandard {name: $name1}) OPTIONAL MATCH (CompareStandard:NeoStandard {name: $name2}) OPTIONAL MATCH p = allShortestPaths((BaseStandard)-[:(LINKED_TO|CONTAINS)*..20]-(CompareStandard)) WITH p WHERE length(p) > 1 AND ALL(n in NODES(p) WHERE (n:NeoCRE or n = BaseStandard or n = CompareStandard) AND NOT n.name in $denylist) RETURN p
and then we filter and assign weights in code
we can start by optimizing these pretty brute-forcy queries
Map analysis takes days to calculate and gigabytes to store, but we're only interested in the top matches from standard to standard. It's no use to find 100 weakly linked topics if you have a couple of direct links and a number of strong links.
The idea therefore is to prune the search we do for map analysis, by stopping search early if we know that we're looking
By the way, I notice we don't seem to have weak links anymore: should we change our categorization and make 3-6 average and 7+ weak?
First step: find expertise in Neo4J. Rob
The text was updated successfully, but these errors were encountered: