pyhgf.updates.observation.set_predictors#

pyhgf.updates.observation.set_predictors(attributes, node_idx, values)[source]#

Add observations to the predictor layer of a deep network.

Parameters:
  • attributes (dict[int | str, dict]) – The attributes of the probabilistic network.

  • node_idx (int) – Pointer to the input node.

  • values (float) – The new observed value.

Returns:

The attributes of the probabilistic network.

Return type:

attributes