HazyResearch / deepdive

DeepDive
deepdive.stanford.edu
1.96k stars 536 forks source link

Where are feature weights? #588

Closed minafarid closed 8 years ago

minafarid commented 8 years ago

After running inference, I can see the view dd_graph_weights that has the description of features and the weight ID wid, but which table/view contains the weights themselves, similar to the ones in the census example https://github.com/HazyResearch/deepdive/tree/master/examples/census

lt=# \d dd_graph_weights
  View "public.dd_graph_weights"
   Column    |  Type   | Modifiers 
-------------+---------+-----------
 wid         | bigint  | 
 isfixed     | boolean | 
 initvalue   | integer | 
 description | text    | 
alldefector commented 8 years ago

If you ran deepdive do all, there should be a view called dd_inference_result_weights_mapping.

minafarid commented 8 years ago

Great!! I suggest this becomes a part of deepdive run.

alldefector commented 8 years ago

@minafarid deepdive run is deprecated... https://github.com/HazyResearch/deepdive/issues/563