dynamo.vf.IntGrad

dynamo.vf.IntGrad(points, Function, DiffusionMatrix, dt)[source]

Calculate the action of the path based on the (reconstructed) vector field function and diffusion matrix (Eq. 18)

Arg:

points: The sampled points in the state space used to calculate the action. Function: The (learned) vector field function. DiffusionMatrix: The function that returns diffusion matrix which can be dependent on the variables (for example, genes). dt: The time interval used in calculating action.

Returns:

The action calculated based on the input path, the vector field function and the diffusion matrix.

Return type:

integral