Calling AdhereR from Python 311 days ago
Overview | Table of Contents | General ideas | Fundamentals of calling AdhereR from Python 3 | The Python 3 wrapper: the adherer module | Making the adherer module visible to Python (aka installation) | Importing the adherer module and initializations | The class hierarchy | The CallAdhereRError exception class | The base class CMA0 | Class CMA1 and its daughter classes CMA2, CMA3 and CMA4 | Class CMA5 and its daughter classes CMA6, CMA7, CMA8 and CMA9 | Classes CMAPerEpisode and CMASlidingWindow | Examples of use | Basic usage | Importing adherer and checking autodetection | Export the test dataset from R and import it in Python | Compute and plot test CMA | Interactive plotting | From a Jupyter Notebook | Parallel processing (locally and on different machines) | Single thread on the local machine | R | Python 3 | Multi-threaded on the local machine | Parallel on remote machines over a network | Some caveats for over-the-network distributed computation | Appendix I: the communication protocol | Context | Protocol | PARAMETERS[^1] | COMMENTS | SPECIAL PARAMETERS[^2] | FUNCTIONS | PLOTTING | CMA1, CMA2, CMA3, CMA4 | CMA5, CMA6, CMA7, CMA8, CMA9 | CMA_per_episode | CMA_sliding_window | compute_event_int_gaps | compute_treatment_episodes | plot_interactive_cma | Appendix II: the Python 3 code | Notes
