Our python3 implementation requires numpy, apgpy (https://github.com/bodono/apgpy), and matplotlib.
Run the example code (lambda=0) by calling "apply_functions_command_line.py" as follows:
This estimates an MGM as described in the supplementary methods section. Here,
For visualization run:
to visualize the results for lambda=0.
An example sequence is provided in 'lam_seq.npy' (should be in a decreasing order).