Code associated with the paper "Tensor decomposition of higher-order correlations by nonlinear Hebbian learning," Ocker & Buice, Neurips 2021.
"plot_fig_natim.py" contains code related to figure 1; "plot_fig_natim_multi_term.py" contains code related to figure 3. "data" contains inputs used in figure 1.