Examples

Here we provide examples from each of our papers [1], [2], and [3]. These examples can also be accessed with Jupiter notebook from our GitHub repository .

Moving beyond generalization to accurate interpretation of flexible models

The first example generates synthetic data from a double-well potential and uses this data to fit the model potential. It reproduces Figure 3 in the main text [1]. The second example demonstrates our feature consistency method for model selection in the case of stationary dynamics. It reproduces Figure 5 in the main text [1].

Learning non-stationary Langevin dynamics from stochastic observations of latent trajectories

The first example generates synthetic data from the ramping dynamics, and optimizes the model potential on this data. Also the importance of various non-stationary components for accurate model inference is demonstrated. It reproduces Figures 2,3 in the main text [#Genkin2020preprint]_. The second example generates two synthetic datasets from ramping and stepping dynamics, and uses this data to infer the model potentials. It also infers the model potential, the initial distribution of the latent states, and the noise magnitude from data generated from the ramping dynamics. It reproduces Figure 4 in the main text [#Genkin2020preprint]_. The third example demonstrates feature consistency analysis for model selection for the case of non-stationary data. It reproduces Figure 5a-c in the main text [#Genkin2020preprint]_.

The dynamics and geometry of choice in premotor cortex

The first example fits single-neuron model from PMd data and selects an optimal model using feature consistency analysis, see Figure 3 in [3]. The second example fits population model from PMd data and selects an optimal model using feature consistency analysis, see Figure 4 in [3].

References