Description Usage Arguments Value
'update_signals' uses graph propagation to update the fitted values (the output.signal attribute) at each vertex in a signalgraph object. It relies on the graph propagation function 'update_vertices' in the lucy package, using calculate_signal as the callback. The 'calculate_signal' callback, when applied to a given vertex, calculates the linear combination of fitted values from the parent nodes, and then applies the activation function to calculate the 'output.signal' attribute. The linear combination is calculated in the function 'getLinearCombination'.
1 2 3 4 5 | update_signals(g, verbose = FALSE)
calculate_signal(g, v)
getLinearCombination(wts, model.mat)
|
g |
a signalgraph object. |
v |
the vertex to be updated given the parents |
wts |
the weights of the incoming edges given the parents |
model.mat |
a matrix constructing of the "output.signal" attributes of the parents |
a signal graph object with updated values for the signal attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.