neurodata / primitives-interfaces

A mirror of D3M's primitives-interfaces
Apache License 2.0
1 stars 4 forks source link

load_graph: avoid passing problem specification completely #71

Open alyakin314 opened 4 years ago

alyakin314 commented 4 years ago

part of #66

the only place it is currently used is lcc and the only reason it is there is to avoid assigning components to a dataframe that is not of the same size as the graph (for example, it can be only a subset of vertices in the community detection problem).

this more likely than not has an easy workaround by using dataframe. that is: have a dataframe of nodeIDs to component and leftmerge learning_data and this dataframe.