<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Comput. Neurosci.</journal-id>
<journal-title>Frontiers in Computational Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Comput. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5188</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncom.2018.00056</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Modern Machine Learning as a Benchmark for Fitting Neural Responses</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Benjamin</surname> <given-names>Ari S.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/483978/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Fernandes</surname> <given-names>Hugo L.</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Tomlinson</surname> <given-names>Tucker</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Ramkumar</surname> <given-names>Pavan</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>VerSteeg</surname> <given-names>Chris</given-names></name>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Chowdhury</surname> <given-names>Raeed H.</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/586737/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Miller</surname> <given-names>Lee E.</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/4233/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Kording</surname> <given-names>Konrad P.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff6"><sup>6</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/231/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Bioengineering, University of Pennsylvania</institution>, <addr-line>Philadelphia, PA</addr-line>, <country>United States</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Physical Medicine and Rehabilitation, Rehabilitation Institute of Chicago, Northwestern University</institution>, <addr-line>Chicago, IL</addr-line>, <country>United States</country></aff>
<aff id="aff3"><sup>3</sup><institution>Department of Physiology, Northwestern University</institution>, <addr-line>Chicago, IL</addr-line>, <country>United States</country></aff>
<aff id="aff4"><sup>4</sup><institution>Department of Neurobiology, Northwestern University</institution>, <addr-line>Evanston, IL</addr-line>, <country>United States</country></aff>
<aff id="aff5"><sup>5</sup><institution>Department of Biomedical Engineering, Northwestern University</institution>, <addr-line>Evanston, IL</addr-line>, <country>United States</country></aff>
<aff id="aff6"><sup>6</sup><institution>Department of Neuroscience, University of Pennsylvania</institution>, <addr-line>Philadelphia, PA</addr-line>, <country>United States</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Yoram Burak, Hebrew University of Jerusalem, Israel</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Tatyana Sharpee, Salk Institute for Biological Studies, United States; Jonas Kubilius, KU Leuven, Belgium and Massachusetts Institute of Technology, United States</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Ari S. Benjamin <email>aarrii&#x00040;seas.upenn.edu</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>19</day>
<month>07</month>
<year>2018</year>
</pub-date>
<pub-date pub-type="collection">
<year>2018</year>
</pub-date>
<volume>12</volume>
<elocation-id>56</elocation-id>
<history>
<date date-type="received">
<day>05</day>
<month>10</month>
<year>2017</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>06</month>
<year>2018</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2018 Benjamin, Fernandes, Tomlinson, Ramkumar, VerSteeg, Chowdhury, Miller and Kording.</copyright-statement>
<copyright-year>2018</copyright-year>
<copyright-holder>Benjamin, Fernandes, Tomlinson, Ramkumar, VerSteeg, Chowdhury, Miller and Kording</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract><p>Neuroscience has long focused on finding encoding models that effectively ask &#x0201C;what predicts neural spiking?&#x0201D; and generalized linear models (GLMs) are a typical approach. It is often unknown how much of explainable neural activity is captured, or missed, when fitting a model. Here we compared the predictive performance of simple models to three leading machine learning methods: feedforward neural networks, gradient boosted trees (using XGBoost), and stacked ensembles that combine the predictions of several methods. We predicted spike counts in macaque motor (M1) and somatosensory (S1) cortices from standard representations of reaching kinematics, and in rat hippocampal cells from open field location and orientation. Of these methods, XGBoost and the ensemble consistently produced more accurate spike rate predictions and were less sensitive to the preprocessing of features. These methods can thus be applied quickly to detect if feature sets relate to neural activity in a manner not captured by simpler methods. Encoding models built with a machine learning approach accurately predict spike rates and can offer meaningful benchmarks for simpler models.</p></abstract>
<kwd-group>
<kwd>encoding models</kwd>
<kwd>neural coding</kwd>
<kwd>tuning curves</kwd>
<kwd>machine learning</kwd>
<kwd>generalized linear model</kwd>
<kwd>GLM</kwd>
<kwd>spike prediction</kwd>
</kwd-group>
<contract-num rid="cn001">NS074044</contract-num>
<contract-num rid="cn001">NS048845</contract-num>
<contract-num rid="cn001">NS053603</contract-num>
<contract-num rid="cn001">NS095251</contract-num>
<contract-num rid="cn002">5T32LM012203-02</contract-num>
<contract-num rid="cn002">R01NS063399</contract-num>
<contract-num rid="cn002">R01NS074044</contract-num>
<contract-num rid="cn002">MH103910</contract-num>
<contract-sponsor id="cn001">National Institute of Neurological Disorders and Stroke<named-content content-type="fundref-id">10.13039/100000065</named-content></contract-sponsor>
<contract-sponsor id="cn002">Foundation for the National Institutes of Health<named-content content-type="fundref-id">10.13039/100000009</named-content></contract-sponsor>
<counts>
<fig-count count="7"/>
<table-count count="0"/>
<equation-count count="6"/>
<ref-count count="66"/>
<page-count count="13"/>
<word-count count="9450"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>Introduction</title>
<p>A central tool of neuroscience is the tuning curve, which maps aspects of external stimuli to neural responses. The tuning curve can be used to determine what information a neuron encodes in its spikes. For a tuning curve to be meaningful it is important that it accurately describes the neural response. Often, however, methods are chosen for simplicity but not evaluated for their relative accuracy. Since inaccurate methods may systematically miss aspects of the neural response, any choice of predictive method should be compared with accurate benchmark methods.</p>
<p>A popular predictive model for neural data is the Generalized Linear Model (GLM) (Nelder and Baker, <xref ref-type="bibr" rid="B36">1972</xref>; Simoncelli et al., <xref ref-type="bibr" rid="B53">2004</xref>; Truccolo et al., <xref ref-type="bibr" rid="B61">2005</xref>; Wu et al., <xref ref-type="bibr" rid="B65">2006</xref>; Gerwinn et al., <xref ref-type="bibr" rid="B20">2010</xref>). The GLM performs a nonlinear operation upon a linear combination of the input features, which are often called external covariates. Typical covariates are stimulus features, movement vectors, or the animal&#x00027;s location, and may include covariate history or spike history. In the absence of history terms, the GLM is also referred to as a linear-nonlinear Poisson (LN) cascade. The nonlinear operation is usually held fixed, though it can be learned (Chichilnisky, <xref ref-type="bibr" rid="B10">2001</xref>; Paninski et al., <xref ref-type="bibr" rid="B38">2004a</xref>), and the linear weights of the combined inputs are chosen to maximize the agreement between the model fit and the neural recordings. This optimization problem of weight selection is convex, allowing a global optimum, and can be solved with efficient algorithms (Paninski, <xref ref-type="bibr" rid="B37">2004</xref>). The assumption of Poisson firing statistics can often be loosened (Pillow et al., <xref ref-type="bibr" rid="B41">2005</xref>), as well, allowing the modeling of a broad range of neural responses. Due to its ease of use, perceived interpretability, and flexibility, the GLM has become a popular model of neural spiking.</p>
<p>When using a GLM, it is important to check that the method&#x00027;s assumptions about the data are correct. The GLM&#x00027;s central assumption is that the inputs relate linearly to the log firing rate, or generally some monotonic function of the firing rate. It thus cannot learn arbitrary multi-dimensional functions of the inputs. When the nonlinearity is different than assumed, it is likely that the optimal weight on one input will depend on the values of other inputs. In this case the GLM will only partially represent the neural response, will poorly predict activity, and may not be reproducible on other datasets. This drawback has been noted before, and indeed the GLM has been shown to miss nonlinearity in numerous circumstances (Butts et al., <xref ref-type="bibr" rid="B7">2011</xref>; Freeman et al., <xref ref-type="bibr" rid="B16">2015</xref>; Heitman et al., <xref ref-type="bibr" rid="B22">2016</xref>; McIntosh et al., <xref ref-type="bibr" rid="B33">2016</xref>). However, GLMs are still commonly applied without comparison to other methods. To test if the linearity assumption is valid, it is sufficient to test if other nonlinear methods predict activity more accurately from the same features. Many extensions have been proposed that introduce a specific form of nonlinearity (McFarland et al., <xref ref-type="bibr" rid="B32">2013</xref>; Theis et al., <xref ref-type="bibr" rid="B60">2013</xref>; Latimer et al., <xref ref-type="bibr" rid="B27">2014</xref>; Williamson et al., <xref ref-type="bibr" rid="B63">2015</xref>; Maheswaranathan et al., <xref ref-type="bibr" rid="B30">2017</xref>), but these methods ask specific research questions and are not intended as general benchmarks. What is needed is are nonlinear methods that are universally applicable to new data.</p>
<p>Machine learning (ML) methods for regression have improved dramatically since the invention of the GLM. Many ML methods require little feature engineering (i.e., pre-transformations the features) and do not need to assume linearity. These methods are thus ideal candidates for benchmark methods. The ML approach is now quite standardized and robust across many domains of data. As exemplified by winning solutions on Kaggle, an ML competition website (Kaggle Winner&#x00027;s Blog, <xref ref-type="bibr" rid="B25">2016</xref>), the usual approach is to fit several top performing methods, and then to ensemble these models together. These methods are now relatively easy to implement in a few lines of code in a scripting language such as Python, and are enabled by well-supported machine learning packages, such as scikit-learn (Pedregosa et al., <xref ref-type="bibr" rid="B40">2011</xref>), Keras (Chollet, <xref ref-type="bibr" rid="B11">2015</xref>), Tensorflow (Abadi et al., <xref ref-type="bibr" rid="B1">2016</xref>), and XGBoost (Chen and Guestrin, <xref ref-type="bibr" rid="B9">2016</xref>). The greatly increased predictive power of modern ML methods is now very accessible and could help to benchmark and improve the state of the art in encoding models across neuroscience.</p>
<p>In order to investigate the feasibility of ML as a benchmark approach, we applied several ML methods, including artificial neural networks, gradient boosted trees, and ensembles to the task of predicting spike rates, and evaluated their performance alongside a GLM. We compared the methods on data from three separate brain areas. These areas differed greatly in the effect size of covariates and in their typical spike rates, and thus served to evaluate the strengths of these methods across different conditions. In each area we found that the ensemble of methods could more accurately predict spiking than the GLM with typical feature choices. The use of an ML benchmark thus made clear that tuning curves built for these features with a GLM would not capture the full nature of neural activity. We provide our implementing code at <ext-link ext-link-type="uri" xlink:href="https://github.com/KordingLab/spykesML">https://github.com/KordingLab/spykesML</ext-link> so that all neuroscientists may easily test and compare ML to their own methods on other datasets.</p>
</sec>
<sec sec-type="materials and methods" id="s2">
<title>Materials and methods</title>
<sec>
<title>Data</title>
<p>We tested our methods at predicting spike rates for neurons in the macaque primary motor cortex, the macaque primary somatosensory cortex, and the rat hippocampus. All animal use procedures were approved by the institutional animal care and use committees at Northwestern University and conform to the principles outlined in the Guide for the Care and Use of Laboratory Animals (National Institutes of Health publication no. 86-23, revised 1985). Data presented here were previously recorded for use with multiple analyses. Procedures were designed to minimize animal suffering and reduce the number used.</p>
<p>The macaque motor cortex data consisted of previously published electrophysiological recordings from 82 neurons in the primary motor cortex (M1) (Stevenson et al., <xref ref-type="bibr" rid="B57">2011</xref>). The neurons were sorted from recordings made during a two-dimensional center-out reaching task with eight targets. In this task the monkey grasped the handle of a planar manipulandum that controlled a cursor on a computer screen and simultaneously measured the hand location and velocity (Figure <xref ref-type="fig" rid="F1">1</xref>). After training, an electrode array was implanted in the arm area of area 4 on the precentral gyrus. Spikes were discriminated using offline sorter (Plexon, Inc), counted and collected in 50-ms bins. The neural recordings used here were taken in a single session lasting around 13 min.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Encoding models aim to predict spikes, top, from input data, bottom. The inputs displayed are the position and velocity signals from the M1 dataset (Stevenson et al., <xref ref-type="bibr" rid="B57">2011</xref>) but could represent any set of external covariates. The GLM takes a linear combination of the inputs, applies an exponential function <italic>f</italic>, and produces a Poisson spike probability that can be used to generate spikes <bold>(Left)</bold>. The feedforward neural network <bold>(Center)</bold> does the same when the number of hidden layers <italic>i</italic> &#x0003D; 0. With <italic>i</italic> &#x02265; 1 hidden layers, the process repeats; each of the <italic>j</italic> nodes in layer <italic>i</italic> computes a nonlinear function <italic>g</italic> of a linear combination of the previous layer. The vector of outputs from all <italic>j</italic> nodes is then fed as input to the nodes in the next layer, or to the final exponential <italic>f</italic> on the final iteration. Boosted trees <bold>(Right)</bold> return the sum of N functions of the original inputs. Each of the <italic>f</italic><sub><italic>i</italic></sub> is built to minimize the residual error of the sum of the previous <italic>f</italic> <sub>0:<italic>i</italic>&#x02212;1</sub>.</p></caption>
<graphic xlink:href="fncom-12-00056-g0001.tif"/>
</fig>
<p>The macaque primary somatosensory cortex (S1) data was recorded during a two-dimensional random-pursuit reaching task and was previously unpublished. In this task, the monkey gripped the handle of the same manipulandum. The monkey was rewarded for bringing the cursor to a series of randomly positioned targets appearing on the screen. After training, an electrode array was implanted in the arm area of area 2 on the post-central gyrus, which receives a mix of cutaneous and proprioceptive afferents. Spikes were processed as for M1. The data used for this publication derives from a single recording session lasting 51 min.</p>
<p>As with M1 (described in results), we processed the hand position, velocity, and acceleration accompanying the S1 recordings in an attempt to obtain linearized features. The features (<italic>x, y</italic>, &#x01E8B;, &#x01E8F;) were found to be the most successful for the GLM. Since cells in the arm area of S1 have been shown to have approximately sinusoidal tuning curves relating to movement direction (Prud&#x00027;homme and Kalaska, <xref ref-type="bibr" rid="B44">1994</xref>), we also tested the same feature transformations as were performed for M1 but did not observe any increase in predictive power.</p>
<p>The third dataset consists of recordings from 58 neurons in the CA1 region of the rat dorsal hippocampus during a single 93 min free foraging experiment, previously published and made available online by the authors (Mizuseki et al., <xref ref-type="bibr" rid="B34">2009a</xref>,<xref ref-type="bibr" rid="B35">b</xref>). Position data from two head-mounted LEDs provided position and heading direction inputs. Here we binned inputs and spikes from this experiment into 50 ms bins. Since many neurons in the dorsal hippocampus are responsive to the location of the rat, we processed the 2D position data into a list of squared distances from a 5 &#x000D7; 5 grid of place fields that tile the workspace. Each position feature thus has the form</p>
<disp-formula id="E1"><mml:math id="M1"><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>&#x003A3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003BC;<sub><italic>ij</italic></sub> is the center of place field <italic>i, j</italic> &#x02264; <italic>5</italic> and &#x003A3;<sub><italic>ij</italic></sub> is a covariance matrix chosen for the uniformity of tiling. An exponentiated linear combination of the <italic>p</italic><sub><italic>ij</italic></sub> (as is performed in the GLM) evaluates to a single Gaussian centered anywhere between the place fields. The inclusion of the <italic>p</italic><sub><italic>ij</italic></sub> as features thus transforms the standard representation of cell-specific place fields (Brown et al., <xref ref-type="bibr" rid="B6">1998</xref>) into the mathematical formulation of a GLM. The final set of features included the <italic>p</italic><sub><italic>ij</italic></sub> as well as the rat speed and head orientation.</p>
</sec>
<sec>
<title>Treatment of spike and covariate history</title>
<p>We slightly modified our data preparation methods for spike rate prediction when spike and covariate history terms were included as regressors (Figure <xref ref-type="fig" rid="F6">6</xref>). To construct spike and covariate history filters, we convolved 10 raised cosine bases (built as in Pillow et al., <xref ref-type="bibr" rid="B42">2008</xref>) with binned spikes and covariates. The longest temporal basis included times up to 250 ms before the time bin being predicted. This process resulted in 120 total covariates per sample (10 current covariates, 100 covariate temporal filters, and 10 spike history filters). We predicted spike rates in 5 ms bins (rather than 50 ms) to allow for modeling of more precise time-dependent phenomena, such as refractory effects. The cross-validation scheme also differs from the main analysis of this paper, as using randomly selected splits of the data would result in the appearance in the test set of samples that were in history terms of training sets, potentially resulting in overfitting. We thus employed a cross-validation routine to split the data continuously in time, assuring that no test set sample has appeared in any form in training sets.</p>
</sec>
<sec>
<title>Generalized linear model</title>
<p>The Poisson GLM is a multivariate regression model that describes the instantaneous firing rate as a nonlinear function of a linear combination of input features (see e.g., Schwartz et al., <xref ref-type="bibr" rid="B51">2006</xref>; Aljadeff et al., <xref ref-type="bibr" rid="B2">2016</xref> for review, Pillow et al., <xref ref-type="bibr" rid="B42">2008</xref>; Fernandes et al., <xref ref-type="bibr" rid="B14">2014</xref>; Ramkumar et al., <xref ref-type="bibr" rid="B46">2016</xref> for usage). Here, we took the form of the nonlinearity to be exponential, as is common in previous applications of GLMs to similar data (Saleh et al., <xref ref-type="bibr" rid="B48">2012</xref>). It should be noted that it is also possible to learn arbitrary link functions through histogram methods (Chichilnisky, <xref ref-type="bibr" rid="B10">2001</xref>; Paninski et al., <xref ref-type="bibr" rid="B38">2004a</xref>). We approximate neural activity as a Poisson process, in which the probability of firing in any instant is independent of firing history. The general form of the GLM is depicted in Figure <xref ref-type="fig" rid="F1">1</xref>. We implemented the GLM using elastic-net regularization, using the open-source Python package pyglmnet (Ramkumar et al., <xref ref-type="bibr" rid="B45">2017</xref>). The regularization path was optimized separately on a single neuron in each dataset on a validation set not used for scoring.</p>
</sec>
<sec>
<title>Neural network</title>
<p>Neural networks are well-known for their success at supervised learning tasks. More comprehensive reviews can be found elsewhere (Schmidhuber, <xref ref-type="bibr" rid="B49">2015</xref>). Here, we implemented a simple feedforward neural network and, for the analysis with history terms, an LSTM, a recurrent neural network architecture that allows the modeling of time dependencies on multiple time-scales (Gers et al., <xref ref-type="bibr" rid="B19">2000</xref>).</p>
<p>We point out that a feedforward neural network with no hidden layers is equivalent in mathematical form to a GLM (Figure <xref ref-type="fig" rid="F1">1</xref>). For multilayer networks, one can write each hidden layer of <italic>n</italic> nodes as simply <italic>n</italic> GLMs, each taking the output of the previous layer as inputs (noting that the weights of each are chosen to maximize only the final objective function, and that the intermediate nonlinearities need not be the same as the output nonlinearity). A feedforward neural network can be seen as a generalization, or repeated application of a GLM.</p>
<p>The networks were implemented with the open-source neural network library Keras, running Theano as the backend (Chollet, <xref ref-type="bibr" rid="B11">2015</xref>; Team et al., <xref ref-type="bibr" rid="B59">2016</xref>). The feedforward network contained two hidden layers, dense connections, rectified linear activation, and a final exponentiation. To help avoid overfitting, we allowed dropout on the first layer, included batch normalization, and allowed elastic-net regularization upon the weights (but not the bias term) of the network (Srivastava et al., <xref ref-type="bibr" rid="B56">2014</xref>). The networks were trained to maximize the Poisson likelihood of the neural response. We optimized over the number of nodes in the first and second hidden layers, the dropout rate, and the regularization parameters for the feedforward neural network, and for the number of epochs, units, dropout rate, and batch size for the LSTM. Optimization was performed on only a subset of the data from a single neuron in each dataset, using Bayesian optimization (Snoek et al., <xref ref-type="bibr" rid="B55">2012</xref>) in an open-source Python implementation (BayesianOptimization, <xref ref-type="bibr" rid="B4">2016</xref>).</p>
</sec>
<sec>
<title>Gradient boosted trees</title>
<p>A popular method in many machine learning competitions is that of gradient boosted trees. Here we describe the general operation of XGBoost, an open-source implementation that is efficient and highly scalable, works on sparse data, and easy to implement out-of-the-box (Chen and Guestrin, <xref ref-type="bibr" rid="B9">2016</xref>).</p>
<p>XGBoost trains many sequential models to minimize the residual error of the sum of previous model. Each model is a decision tree, or more specifically a classification and regression tree (CART) (Friedman, <xref ref-type="bibr" rid="B17">2001</xref>). Training a decision tree amounts to determining a series of rule-based splits on the input to classify output. The CART algorithm generalizes this to regression by taking continuously-valued weights on each of the leaves of the decision tree.</p>
<p>For any predictive model <inline-formula><mml:math id="M2"><mml:mrow><mml:msup><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>x</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></inline-formula> and true response <italic>y</italic><sub><italic>i</italic></sub>, we can define a loss function <inline-formula><mml:math id="M3"><mml:mrow><mml:mi>l</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mtext>&#x02009;</mml:mtext><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> between the prediction and the response. The objective to be minimized during training is then simply the sum of the loss over each training example <italic>i</italic>, plus some regularizing function &#x003A9; that biases toward simple models.</p>
<disp-formula id="E2"><mml:math id="M4"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:mrow><mml:mi>l</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mi>i</mml:mi><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle><mml:mo>+</mml:mo><mml:mi>&#x003A9;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></disp-formula>
<p>After minimizing <italic>L</italic> for a single tree, XGBoost constructs a second tree <italic>f</italic><sub>2</sub>(<bold>x</bold><sub><bold>i</bold></sub>) that approximates the residual. The objective to be minimized is thus the total loss <italic>L</italic> between the true response <italic>y</italic><sub><italic>i</italic></sub> and the sum of the predictions given by the first tree and the one to be trained.</p>
<disp-formula id="E3"><mml:math id="M5"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:mrow><mml:mi>l</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mi>i</mml:mi><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>x</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle><mml:mo>+</mml:mo><mml:mi>&#x003A9;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:math></disp-formula>
<p>This process is continued sequentially for a predetermined number of trees, each trained to approximate the residual of the sum of previous trees. In this manner XGBoost is designed to progressively decrease the total loss with each additional tree. At the end of training, new predictions are given by the sum of the outputs of all trees.</p>
<disp-formula id="E4"><mml:math id="M6"><mml:mrow><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mtext>&#x0200A;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x0200A;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:munderover><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>x</mml:mi></mml:mstyle><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:math></disp-formula>
<p>In practice, it is simpler to choose the functions <italic>f</italic><sub><italic>k</italic></sub> via gradient boosting, which minimizes a second order approximation of the loss function (Friedman et al., <xref ref-type="bibr" rid="B18">2000</xref>).</p>
<p>XGBoost offers several additional parameters to optimize performance and prevent overfitting. Many of these describe the training criteria for each tree. We optimized some of these parameters for a single neuron in each dataset using Bayesian optimization (again over a validation set different from the final test set). These parameters included the number of trees to train, the maximum depth of each decision tree, and the minimum weight allowed on each decision leaf, the data subsampling ratio, and the minimum gain required to create a new decision branch.</p>
</sec>
<sec>
<title>Random forests</title>
<p>We implement random forests here to increase the power of the ensemble (see below); their performance alone is displayed in Supplementary Figure <xref ref-type="supplementary-material" rid="SM1">1</xref>. It should be noted that the Scikit-learn implementation currently only minimizes the mean-squared error of the output, which is not properly applicable to Poisson processes and may cause poor performance. Despite this drawback their presence still improves the ensemble scores. Random forests train multiple parallel decision trees on the features-to-spikes regression problem (not sequentially on the remaining residual, as in XGBoost) and averages their outputs (Ho, <xref ref-type="bibr" rid="B23">1998</xref>). The variance on each decision tree is increased by training on a sample of the data drawn with replacement (i.e., bootstrapped inputs) and by choosing new splits using only a random subset of the available features. Random forests are implemented in Scikit-learn (Pedregosa et al., <xref ref-type="bibr" rid="B40">2011</xref>).</p>
</sec>
<sec>
<title>Ensemble method</title>
<p>It is a common machine learning practice to create ensembles of several trained models. Different algorithms may learn different characteristics of the data, make different types of errors, or generalize differently to new examples. Ensemble methods allow for the successes of different algorithms to be combined. Here we implemented <italic>stacking</italic>, in which the output of several models is taken as the input set of a new model (Wolpert, <xref ref-type="bibr" rid="B64">1992</xref>). After training the GLM, neural network, random forest, and XGBoost on the features of each dataset, we trained an additional instance of XGBoost using the spike rate predictions of the previous methods as input. The outputs of this &#x0201C;second stage&#x0201D; XGBoost are the predictions of the ensemble.</p>
</sec>
<sec>
<title>Scoring and cross-validation</title>
<p>Each of the three methods was scored with the Poisson pseudo-<italic>R</italic><sup>2</sup> score, a scoring function applicable to Poisson processes (Cameron and Windmeijer, <xref ref-type="bibr" rid="B8">1997</xref>). Note that a standard <italic>R</italic><sup>2</sup> score assumes Gaussian noise and cannot be applied here. The pseudo-<italic>R</italic><sup>2</sup> was calculated as one minus the ratio of the deviances of the predicted output &#x00177; to the mean firing rate <inline-formula><mml:math id="M7"><mml:mover accent="false" class="mml-overline"><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mo accent="true">&#x000AF;</mml:mo></mml:mover></mml:math></inline-formula>.</p>
<disp-formula id="E5"><mml:math id="M8"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi>M</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>
<p>We can gain intuition into the pseudo-<italic>R</italic><sup>2</sup> score by writing out the deviances in terms of log likelihoods <italic>L</italic>(), and combining the fraction.</p>
<disp-formula id="E6"><mml:math id="M9"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi>M</mml:mi><mml:mn>2</mml:mn></mml:msubsup><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mrow><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mfrac><mml:mrow><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mi>log</mml:mi><mml:mi>L</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>
<p>This expression includes <italic>L</italic>(<italic>y</italic>), which is the log likelihood of the &#x0201C;saturated model,&#x0201D; which offers one parameter per observation and models the data perfectly. The pseudo-<italic>R</italic><sup>2</sup> can thus be interpreted as the fraction of the maximum potential log-likelihood gain achieved by the tested model (Cameron and Windmeijer, <xref ref-type="bibr" rid="B8">1997</xref>). It takes a value of 0 when the data is as likely under the tested model as the null model, and a value of 1 when the tested model perfectly describes the data. It is empirically a lower value than a standard <italic>R</italic><sup>2</sup> when both are applicable (Domencich and McFadden, <xref ref-type="bibr" rid="B13">1975</xref>). The null model can also be taken to be a model other than the mean firing rate (e.g., the GLM) to directly compare two methods, in which case we refer to the score as the &#x0201C;comparative pseudo-<italic>R</italic><sup>2</sup>.&#x0201D; The comparative pseudo-<italic>R</italic><sup>2</sup> is referred to elsewhere as the &#x0201C;relative pseudo-<italic>R</italic><sup>2</sup>,&#x0201D; renamed here to avoid confusion with the difference of two standard pseudo-<italic>R</italic><sup>2</sup> scores both measured against the mean (Fernandes et al., <xref ref-type="bibr" rid="B14">2014</xref>).</p>
<p>We used 8-fold cross-validation (CV) when assigning a final score to the models. The input and spike data were segmented into eight equal partitions. These partitions were continuous in time when spike and covariate history were included as covariates, and otherwise were segmented randomly in time. The methods were trained on seven partitions and tested on the eighth, and this was repeated until all segments served as the test partition once. The mean of the eight scores are then recorded for the final score.</p>
<p>Cross-validation for ensemble methods requires extra care since the inputs for the ensemble are themselves model predictions for each data point. The training set for the ensemble must contain predictions from methods that were themselves not trained on the validation set. Otherwise, there may be a leak of information from the validation set into the training set and the validation score might be better than on a true held-out set. This rules out using simple <italic>k</italic>-fold CV with all methods and the ensemble trained on the same test/train splits. Instead, we used a nested CV scheme to train and score the ensemble. We create an outer <italic>j</italic> &#x0003D; <italic>8</italic> folds to build training and test sets for the ensemble. On each outer fold we create first-order predictions for each data point in the following manner. We first run an inner <italic>k-</italic>fold CV on just the training set (i.e., 7/8 of the original dataset) with each first stage method such that we obtain predictions for the whole training set of that fold. This ensures that the ensemble&#x00027;s test set was never used for training any method. Finally, we build the ensemble&#x00027;s test set from the predictions of the first stage methods trained on the entire training set. The ensemble can then be tested on a held-out set that was never used to fit any model. The process is repeated for each of the <italic>j</italic> folds and the mean and variance of the <italic>j</italic> scores of the ensemble&#x00027;s predictions are recorded.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>Results</title>
<p>We applied several machine learning methods to predict spike counts in three brain regions and compared the quality of the predictions to those of a GLM. Our primary analysis centered on neural recordings from the macaque primary motor cortex (M1) during reaching (Figure <xref ref-type="fig" rid="F1">1</xref>). We examined the methods&#x00027; relative performance on several sets of movement features with various levels of preprocessing, including one set that included spike and covariate history terms. Analyses of data from rhesus macaque S1 and rat hippocampus indicate how these methods compare for areas other than M1. On each of the three datasets we trained a GLM and compared it to the performance of a feedforward neural network, XGBoost (a gradient boosted trees implementation), and an ensemble method. The ensemble was an additional instance of XGBoost trained on the predictions of all three methods plus a random forest regressor. The application of these methods allowed us to demonstrate the potential of a modern approach to be able to identify whether there are typically neural nonlinearities that are not captured by a GLM. The code implementing these methods can be used by any electrophysiology lab to benchmark their own encoding models.</p>
<p>To test that all methods work reasonably well in a trivial case, we trained each to predict spiking from a simple, well-understood feature. Some neurons in M1 have been described as responding linearly to the exponentiated cosine of movement direction relative to a preferred angle (Amirikian and Georgopulos, <xref ref-type="bibr" rid="B3">2000</xref>). We therefore predicted the spiking of M1 neurons from the cosine and sine of the direction of hand movement in the reaching task. (The linear combination of a sine and cosine curve is a phase-shifted cosine, by identity, allowing the GLM to learn the proper preferred direction). We observed that each method identified a similar tuning curve (Figure <xref ref-type="fig" rid="F2">2B</xref>) and that the bulk of the neurons in the dataset were just as well predicted by each of the methods (Figures <xref ref-type="fig" rid="F2">2A,C</xref>) {though the ensemble was slightly more accurate than the GLM, with mean comparative pseudo-<italic>R</italic><sup>2</sup> above zero, 0.06 [0.043 &#x02013; 0.084], 95% bootstrapped confidence interval (CI)}. The similar performance suggested that, for the majority of neurons, an exponentiated cosine successfully approximates the response to movement direction alone, as has been previously found (Paninski et al., <xref ref-type="bibr" rid="B39">2004b</xref>). All methods can in principle estimate tuning curves, and machine learning can indicate if the proper features are used.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Encoding models of M1 performed similarly when trained on the sine and cosine of hand velocity direction. All methods can in principle estimate tuning curves. <bold>(A)</bold> The pseudo-<italic>R</italic><sup>2</sup> for an example neuron was similar for all four methods. On this figure and in Figures <xref ref-type="fig" rid="F3">3&#x02013;5</xref> the example neuron is the same, and is not the neuron for which method hyperparameters were optimized. <bold>(B)</bold> We constructed tuning curves by plotting the predictions of spike rate on the validation set against movement direction. The black points are the recorded responses, to which we added y-axis jitter for visualization to better show trends in the naturally quantized levels of binned spikes. The tuning curves of the neural net and XGBoost were similar to that of the GLM. The tuning curve of the ensemble method was similar and is not shown. <bold>(C)</bold> Plotting the pseudo-<italic>R</italic><sup>2</sup> of modern ML methods vs. that of the GLM indicates that the similarity of methods generalizes across neurons. The single neuron plotted at left is marked with black arrows. The mean scores, inset, indicate the overall success of the methods; error bars represent the 95% bootstrap confidence interval.</p></caption>
<graphic xlink:href="fncom-12-00056-g0002.tif"/>
</fig>
<p>If the form of the nonlinearity is not known, machine learning can still attain good predictive ability. To illustrate the ability of modern machine learning to find the proper nonlinearity, we performed the same analysis as above but omitted the initial cosine feature-engineering step. Trained on only the hand velocity direction, in radians, which changes discontinuously at &#x000B1;&#x003C0;, all methods but the GLM closely matched the predictive power they attained using the engineered feature (Figure <xref ref-type="fig" rid="F3">3A</xref>). The GLM failed at generating a meaningful tuning curve, which was expected since the exponentiated velocity direction is not equal to cosine tuning (Figure <xref ref-type="fig" rid="F3">3B</xref>). Both trends were consistent across the population of recorded neurons (Figure <xref ref-type="fig" rid="F3">3C</xref>). The neural net, XGBoost, and ensemble methods can learn the nonlinearity of single features without requiring manual feature transformation.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Modern ML models learn the cosine nonlinearity when trained on hand velocity direction, in radians. <bold>(A)</bold> For the same example neuron as in Figure <xref ref-type="fig" rid="F2">2</xref>, the neural net and XGBoost maintained the same predictive power, while the GLM was unable to extract a relationship between direction and spike rate. <bold>(B)</bold> XGBoost and neural nets displayed reasonable tuning curves, while the GLM reduced to the average spiking rate (with a small slope, in this case). <bold>(C)</bold> Most neurons in the population were poorly fit by the GLM, while the ML methods achieved the performance levels of Figure <xref ref-type="fig" rid="F2">2</xref>. The ensemble performed the best of the methods tested. The single neuron plotted at left is marked with black arrows.</p></caption>
<graphic xlink:href="fncom-12-00056-g0003.tif"/>
</fig>
<p>The inclusion of multiple features raises the possibility of nonlinear feature interactions that may elude a GLM. As a simple demonstration of this principle, we trained all methods on the four-dimensional set of hand position and velocity (<italic>x, y</italic>, &#x01E8B;, &#x01E8F;). While all methods gained predictive power relative to models using movement direction alone, the GLM failed to match the other methods (Figures <xref ref-type="fig" rid="F4">4A,C</xref>). If the GLM was fit alone, and no further featuring engineering been attempted, these features would have appeared to be relatively uninformative of the neural response. If nonlinear interactions exist between preselected features, machine learning methods can potentially learn these interactions and indicate if more linearly-related features exist.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Modern ML methods can learn nonlinear interactions between features. Here the methods are trained on the feature set (<italic>x, y</italic>, &#x01E8B;, &#x01E8F;). Note the change in axes scales from Figures <xref ref-type="fig" rid="F2">2</xref>, <xref ref-type="fig" rid="F3">3</xref>. <bold>(A)</bold> For the same example neuron as in Figure <xref ref-type="fig" rid="F3">3</xref>, all methods gained a significant amount of predictive power, indicating a strong encoding of position and speed or their correlates. The GLM showed less predictive power than the other methods on this feature set. <bold>(B)</bold> The spike rate in black, with jitter on the y-axis, again overlaid with the predictions of the three methods plotted against velocity direction. The projection of the multidimensional tuning curve onto a 1D velocity direction dependence leaves the projected curve diffuse. <bold>(C)</bold> The ensemble method, neural network, and XGBoost performed consistently better than the GLM across the population. The mean pseudo-<italic>R</italic><sup>2</sup> scores show the hierarchy of success across methods. The single neuron plotted at left is marked with black arrows.</p></caption>
<graphic xlink:href="fncom-12-00056-g0004.tif"/>
</fig>
<p>While feature engineering can improve the performance of GLMs, it is not always simple to guess the optimal set of processed features. We demonstrated this by training all methods on features that have previously been successful at explaining spike rate in a similar center-out reaching task (Paninski et al., <xref ref-type="bibr" rid="B38">2004a</xref>). These extra features included the sine and cosine of velocity direction (as in Figure <xref ref-type="fig" rid="F2">2</xref>), and the speed, radial distance of hand position, and the sine and cosine of position direction. The training set was thus 10-dimensional, though highly redundant, and was aimed at maximizing the predictive power of the GLM. Feature engineering improved the predictive power of all methods to variable degrees, with the GLM improving to the level of the neural network (Figure <xref ref-type="fig" rid="F5">5</xref>). XGBoost and the ensemble still predicted spike rates better than the GLM (Figure <xref ref-type="fig" rid="F5">5C</xref>), with the ensemble scoring on average nearly double the GLM (ratio of population means of 1.8 [1.4 &#x02013; 2.2], 95% bootstrapped CI). The ensemble was significantly better than XGBoost (mean comparative pseudo-<italic>R</italic><sup>2</sup> of 0.08 [0.055 &#x02013; 0.103], 95% bootstrapped CI) and was thus consistently the best predictor. Though standard feature engineering greatly improved the GLM, the ensemble and XGBoost still could identify that neural nonlinearity was missed by the GLM.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Modern ML methods outperform the GLM with standard featuring engineering. For this figure, all methods were trained on the features (<italic>x, y</italic>, &#x01E8B;, &#x01E8F;) plus the engineered features. <bold>(A)</bold> For this example neuron, inclusion of the computed features increased the predictive power of the GLM to the level of the neural net. All methods increased in predictive power. <bold>(B)</bold> The tuning curves for the example neuron are diffuse when projected onto the movement direction, indicating a high-dimensional dependence. <bold>(C)</bold> Even with feature engineering, XGBoost and the ensemble consistently achieve pseudo-<italic>R</italic><sup>2</sup> scores higher than the GLM, though the neural net does not. The neuron selected at left is marked with black arrows.</p></caption>
<graphic xlink:href="fncom-12-00056-g0005.tif"/>
</fig>
<p>It is important to note that the specific ordering of methods depends on features such as the amount of data available for training. We investigated this dependence for the M1 dataset by plotting the cross-validated performance as a function of the fraction of the data used for training (Supplementary Figure <xref ref-type="supplementary-material" rid="SM1">3</xref>). Some neurons are best fit by the GLM when very little data is available, while other neurons are best fit by XGBoost and the ensemble for any amount of data tested. The neural network is most sensitive to training data availability. This sensitivity to the domain of data emphasizes the importance of the applied ML paradigm of evaluating (and potentially ensembling) many methods.</p>
<p>Studies employing a GLM often include activity history as a covariate when predicting spike rates, as well as past values of the covariates themselves, and it is known that this allows GLMs to model a wider range of phenomena (Weber and Pillow, <xref ref-type="bibr" rid="B62">2016</xref>). We tested various ML methods on the M1 dataset using this history-augmented feature set to see if all methods would still explain a similar level of activity. We binned data by 5 ms (rather than 50 ms) to agree in timescale with similar studies, and built temporal filters by convolving 10 raised-cosine bases with features and spikes. We note that smaller time bins result in a sparser dataset, and thus pseudo-<italic>R</italic><sup>2</sup> scores cannot be directly compared with other analysis in this paper. On this problem, our selected ML algorithms again outperformed the GLM (Figure <xref ref-type="fig" rid="F6">6</xref>). The overall best algorithm was the LSTM, which we include here as it specifically designed for modeling time series, though for most neurons XGBoost performed similarly. Thus, for M1 neurons, the GLM did not capture all predicable phenomena even when spike and covariate history were included.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>ML algorithms outperform a GLM when covariate history and neuron spike history are included. The feature set of Figure <xref ref-type="fig" rid="F5">5</xref> (in macaque M1) was augmented with spike and covariate history terms, so that spike rate was predicted for each 5 ms time bin from the past 250 ms of covariates and neural activity. Cross-validation methods for this figure differ from other figures (see methods) and pseudo-<italic>R</italic><sup>2</sup> scores should not be compared directly across figures. All methods outperform the GLM, indicating that the inclusion of history terms does not alone allow the GLM to capture the full nonlinear relationship between covariates and spike rate.</p></caption>
<graphic xlink:href="fncom-12-00056-g0006.tif"/>
</fig>
<p>To ensure that these results were not specific to the motor cortex, we extended the same analyses to primary somatosensory cortex (S1) data. We again predicted neural activity from hand movement and speed, and here without spike or covariate history terms. The ML methods outperformed the GLM for all but three of the 52 neurons, indicating that firing rates in S1 generally relate nonlinearly to hand position and velocity (Figure <xref ref-type="fig" rid="F7">7A</xref>). Each of the three ML methods performed similarly for each neuron. The S1 neural function was thus equally learnable by each method, which is surprising given the dissimilarity of the neural network and XGBoost algorithms. This situation would occur if learning has saturated near ground truth, though this cannot be proven definitively to be the case. It is at least clear from the underperformance of the GLM that the relationship of S1 activity to these covariates is nonlinear beyond the assumptions of the GLM.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>XGBoost and the ensemble method predicted the activity of neurons in S1 and in hippocampus better than a GLM. The diagonal dotted line in both plots is the line of equal predictive power with the GLM. <bold>(A)</bold> All methods outperform the GLM in the macaque S1 dataset. Interestingly, the neural network, XGBoost and the ensemble scored very similarly for each neuron in the 52 neuron dataset. <bold>(B)</bold> Many neurons in the rat hippocampus were described well by XGBoost and the ensemble but poorly by the GLM and the neural network. The poor neural network performance in the hippocampus was due to the low rate of firing of most neurons in the dataset (Supplementary Figure <xref ref-type="supplementary-material" rid="SM1">2</xref>). Note the difference in axes; hippocampal cells are generally more predictable than those in S1.</p></caption>
<graphic xlink:href="fncom-12-00056-g0007.tif"/>
</fig>
<p>We asked if the same trends of performance would hold for the rat hippocampus dataset, which was characterized by very low mean firing rates but strong effect sizes. All methods were trained on a list of squared distances to a grid of place fields and on and the rat head orientation, as described in methods. Far more even than the neocortical data, neurons were described much better by XGBoost and the ensemble method than by the GLM (Figure <xref ref-type="fig" rid="F7">7B</xref>). Many neurons shifted from being completely unpredictable by the GLM (pseudo-<italic>R</italic><sup>2</sup> near zero) to very predictable by XGBoost and the ensemble (pseudo-<italic>R</italic><sup>2</sup> above 0.2). These neurons thus have responses that do not correlate with firing in any one Gaussian place field. We note that the neural network performed poorly, likely due to the very low firing rates of most hippocampal cells (Supplementary Figure <xref ref-type="supplementary-material" rid="SM1">2</xref>). The median spike rate of the 58 neurons in the dataset was just 0.2 spikes/s, and it was only on the four neurons with rates above 1 spikes/s that the neural network achieved pseudo-<italic>R</italic><sup>2</sup> scores comparable to the GLM. The relative success of XGBoost was interesting given the failure of the neural network, and supported the general observation that boosted trees can work well with smaller and sparser datasets than those that neural networks generally require (Supplementary Figure <xref ref-type="supplementary-material" rid="SM1">3</xref>). Thus for hippocampal cells, a method leveraging decision trees such as XGBoost or the ensemble is able to capture more structure in the neural response and thus demonstrate a deficiency of the parameterization of the GLM.</p>
</sec>
<sec sec-type="discussion" id="s4">
<title>Discussion</title>
<p>We analyzed the ability of various machine learning techniques at the task of predicting binned spike counts in three brain regions. We found that of the tested ML methods, XGBoost and the ensemble routinely predicted spike counts more accurately than did the GLM, which is a popular method for neural data. Feedforward neural networks did not always outperform the GLM and were often worse than XGBoost and the ensemble. Machine learning methods, especially LSTMs, also outperformed GLMs when covariate and spike history were included as inputs. The ML methods performed comparably well with and without feature engineering, even for the very low spike rates of the hippocampus dataset. These findings indicate that a standard ML approach can serve as a reliable benchmark to test if data meets the assumptions of a GLM. Furthermore, it may be quite common that standard ML outperforms GLMs given standard feature choices.</p>
<p>When a GLM fails to explain data as well as more expressive, nonlinear methods, the current parameterization of inputs must relate to the data with a different nonlinearity than is assumed by the GLM. Such situations have been identified several times in the literature (Butts et al., <xref ref-type="bibr" rid="B7">2011</xref>; Freeman et al., <xref ref-type="bibr" rid="B16">2015</xref>; Heitman et al., <xref ref-type="bibr" rid="B22">2016</xref>; McIntosh et al., <xref ref-type="bibr" rid="B33">2016</xref>). This unaccounted nonlinearity may produce feature weights that do not reflect true feature importance. A GLM will incorrectly predict no dependence on feature <italic>x</italic> whatsoever, for example, in the extreme case when the neural response to some feature <italic>x</italic> does not correlate with exp(<italic>x</italic>). The only way to ensure that feature weights can be reliably interpreted is to find an input parameterization that maximizes the GLM&#x00027;s predictive power. ML methods can assist this process by indicating how much nonlinearity remains to be explained. New features can then be tested, such as those suggested by a search for maximally informative dimensions (Sharpee et al., <xref ref-type="bibr" rid="B52">2004</xref>). In our analysis, then, the GLM underperforms because we have selected the suboptimal input features. It is always theoretically possible to linearize features such that a GLM obtains equal predictive power. ML methods can highlight the deficiency of features that might have otherwise seemed uncontroversial. When applying a GLM or any simple model to neural data, it is important to compare its predictive power with standard ML methods to ensure the neural response is properly understood.</p>
<p>There are other ways of estimating the performance of a method besides benchmark nonlinear methods. For example, if the same exact stimulus can be given many times in a row, then we can estimate neural variability without having to model how activity depends on stimulus features (Schoppe et al., <xref ref-type="bibr" rid="B50">2016</xref>). This approach, however, requires that we can model how neural responses vary with repetition (Grill-Spector et al., <xref ref-type="bibr" rid="B21">2006</xref>). This approach also makes it difficult to include spike history as an input, since the exact history is rarely repeated. We note that in some cases it may also be impossible to show the same stimulus multiple times, e.g., because eyes move. However, comparing these two classes of benchmark would be interesting on applications where both are feasible.</p>
<p>Advanced ML methods are not widely considered to be interpretable. Interpretation is not necessary for performance benchmarks, but it would be desirable to use these methods as standalone encoding models. We can better discuss this issue with a more precise definition of interpretability. Following Lipton, we make the distinction between a method&#x00027;s <italic>post-hoc interpretability</italic>, the ease of justifying its predictions, and <italic>transparency</italic>, the degree to which its operation and internal parameters are human-readable or easily understandable (Lipton et al., <xref ref-type="bibr" rid="B29">2016</xref>). A GLM is certainly more transparent than many ML methods due to its algorithmic simplicity. Certain nonlinear extensions of the GLM have also been designed to remain transparent (McFarland et al., <xref ref-type="bibr" rid="B32">2013</xref>; Theis et al., <xref ref-type="bibr" rid="B60">2013</xref>; Latimer et al., <xref ref-type="bibr" rid="B27">2014</xref>; Williamson et al., <xref ref-type="bibr" rid="B63">2015</xref>; Maheswaranathan et al., <xref ref-type="bibr" rid="B30">2017</xref>). For high-level areas, though, such as V4, the linearized features may be difficult to be interpreted themselves (Yamins et al., <xref ref-type="bibr" rid="B66">2014</xref>), though it may be possible to increase the interpretability of features (Kaardal et al., <xref ref-type="bibr" rid="B24">2013</xref>). A GLM is also generally more conducive to <italic>post-hoc</italic> interpretations, though this is also possible with modern ML methods. It is possible, for example, to visualize the aspects of stimuli that most elicit a predicted response, as has been implemented in previous applications of neural networks to spike prediction (Lau et al., <xref ref-type="bibr" rid="B28">2002</xref>; Prenger et al., <xref ref-type="bibr" rid="B43">2004</xref>). Various other methods exist in the literature to enable <italic>post-hoc</italic> explanations (McAuley and Leskovec, <xref ref-type="bibr" rid="B31">2013</xref>; Simonyan et al., <xref ref-type="bibr" rid="B54">2013</xref>). Here we highlight Local Interpretable Model-Agnostic Explanations (LIME), an approach that fits simple models in the vicinity of single examples to allow a local interpretation (Ribeiro et al., <xref ref-type="bibr" rid="B47">2016</xref>). On problems where interpretability is important, such capabilities for <italic>post-hoc</italic> justifications may prove sufficient.</p>
<p>Not all types of interpretability are necessary for a given task, and many scientific questions can be answered based on predictive ability alone. Questions of the form, &#x0201C;does feature <italic>x</italic> contribute to neural activity?&#x0201D; for example, or &#x0201C;is past activity necessary to explain current activity?&#x0201D; require no method transparency. One can simply ask whether predictive power increases with feature <italic>x</italic>&#x00027;s inclusion or decreases upon its exclusion. Importance measures based on inclusion and exclusion, or upon the strategy of shuffling a covariate of interest, are well-studied in statistics and machine learning (Bell and Wang, <xref ref-type="bibr" rid="B5">2000</xref>; Strobl et al., <xref ref-type="bibr" rid="B58">2008</xref>). Depending on the application, it may thus be worthwhile to ask not just whether different features could improve a GLM but also whether it is enough to use ML methods directly. It is possible for many questions to stay agnostic to the form of linearized features and directly use changes in predictive ability.</p>
<p>With ongoing progress in machine learning, many standard techniques are easy to implement and can even be automated. Ensemble methods, for example, remove the need to choose any one algorithm. Moreover, the choice of model-specific parameters is made easy by hyperparameter search methods and optimizers. We hope that this ease of use might encourage use in the neurosciences, thereby increasing the power and efficiency of studies involving neural prediction without requiring complicated, application-specific methods development (e.g., Corbett et al., <xref ref-type="bibr" rid="B12">2012</xref>). Community-supported projects in automated machine learning, such as autoSklearn and auto-Weka, are quickly improving and promise to handle the entire regression workflow (Feurer et al., <xref ref-type="bibr" rid="B15">2015</xref>; Kotthoff et al., <xref ref-type="bibr" rid="B26">2016</xref>). Applied to neuroscience, these tools will allow researchers to gain descriptive power over current methods even with simple, out-of-the-box implementations.</p>
<p>Machine learning methods perform quite well and make minimal assumptions about the form of neural encoding. Models that seek to understand the form of the neural code can test if they systematically misconstrue the relationship between stimulus and response by comparing their performance to these benchmarks. Encoding models built with machine learning can thus greatly aid the construction of models that capture arbitrary nonlinearity and more accurately describe neural activity.</p>
<p>The code used for this publication is available at <ext-link ext-link-type="uri" xlink:href="https://github.com/KordingLab/spykesML">https://github.com/KordingLab/spykesML</ext-link>. We invite researchers to adapt it freely for future problems of neural prediction.</p>
</sec>
<sec id="s5">
<title>Author contributions</title>
<p>KK and HF first conceived the project. TT, CV, and RC gathered and curated macaque data. AB prepared the manuscript and performed the analyses, for which HF and PR assisted. LM and KK supervised, and all authors assisted in editing.</p>
<sec>
<title>Conflict of interest statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<sec sec-type="supplementary-material" id="s6">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fncom.2018.00056/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fncom.2018.00056/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Abadi</surname> <given-names>M.</given-names></name> <name><surname>Agarwal</surname> <given-names>A.</given-names></name> <name><surname>Barham</surname> <given-names>P.</given-names></name> <name><surname>Brevdo</surname> <given-names>E.</given-names></name> <name><surname>Chen</surname> <given-names>Z.</given-names></name> <name><surname>Citro</surname> <given-names>C.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Tensorflow: large-scale machine learning on heterogeneous distributed systems</article-title>. <volume>arXiv</volume>:<fpage>160304467</fpage>[preprint].</citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aljadeff</surname> <given-names>J.</given-names></name> <name><surname>Lansdell</surname> <given-names>B. J.</given-names></name> <name><surname>Fairhall</surname> <given-names>A. L.</given-names></name> <name><surname>Kleinfeld</surname> <given-names>D.</given-names></name></person-group> (<year>2016</year>). <article-title>Analysis of neuronal spike trains, deconstructed</article-title>. <source>Neuron</source> <volume>91</volume>, <fpage>221</fpage>&#x02013;<lpage>259</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2016.05.039</pub-id><pub-id pub-id-type="pmid">27477016</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Amirikian</surname> <given-names>B.</given-names></name> <name><surname>Georgopulos</surname> <given-names>A. P.</given-names></name></person-group> (<year>2000</year>). <article-title>Directional tuning profiles of motor cortical cells</article-title>. <source>Neurosci. Res.</source> <volume>36</volume>, <fpage>73</fpage>&#x02013;<lpage>79</lpage>. <pub-id pub-id-type="doi">10.1016/S0168-0102(99)00112-1</pub-id><pub-id pub-id-type="pmid">10678534</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><collab>BayesianOptimization</collab></person-group> (<year>2016</year>). <source>GitHub Repository</source>. <pub-id pub-id-type="pmid">26547490</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bell</surname> <given-names>D. A.</given-names></name> <name><surname>Wang</surname> <given-names>H.</given-names></name></person-group> (<year>2000</year>). <article-title>A formalism for relevance and its application in feature subset selection</article-title>. <source>Mach. Learn.</source> <volume>41</volume>, <fpage>175</fpage>&#x02013;<lpage>195</lpage>. <pub-id pub-id-type="doi">10.1023/A:1007612503587</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brown</surname> <given-names>E. N.</given-names></name> <name><surname>Frank</surname> <given-names>L. M.</given-names></name> <name><surname>Tang</surname> <given-names>D.</given-names></name> <name><surname>Quirk</surname> <given-names>M. C.</given-names></name> <name><surname>Wilson</surname> <given-names>M. A.</given-names></name></person-group> (<year>1998</year>). <article-title>A statistical paradigm for neural spike train decoding applied to position prediction from ensemble firing patterns of rat hippocampal place cells</article-title>. <source>J. Neurosci.</source> <volume>18</volume>, <fpage>7411</fpage>&#x02013;<lpage>7425</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.18-18-07411.1998</pub-id><pub-id pub-id-type="pmid">9736661</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Butts</surname> <given-names>D. A.</given-names></name> <name><surname>Weng</surname> <given-names>C.</given-names></name> <name><surname>Jin</surname> <given-names>J.</given-names></name> <name><surname>Alonso</surname> <given-names>J. M.</given-names></name> <name><surname>Paninski</surname> <given-names>L.</given-names></name></person-group> (<year>2011</year>). <article-title>Temporal precision in the visual pathway through the interplay of excitation and stimulus-driven suppression</article-title>. <source>J. Neurosci.</source> <volume>31</volume>, <fpage>11313</fpage>&#x02013;<lpage>11327</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.0434-11.2011</pub-id><pub-id pub-id-type="pmid">21813691</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cameron</surname> <given-names>A. C.</given-names></name> <name><surname>Windmeijer</surname> <given-names>F. A.</given-names></name></person-group> (<year>1997</year>). <article-title>An R-squared measure of goodness of fit for some common nonlinear regression models</article-title>. <source>J. Econom.</source> <volume>77</volume>, <fpage>329</fpage>&#x02013;<lpage>342</lpage>.</citation></ref>
<ref id="B9">
<citation citation-type="other"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>T.</given-names></name> <name><surname>Guestrin</surname> <given-names>C.</given-names></name></person-group> (<year>2016</year>). <article-title>Xgboost: a scalable tree boosting system</article-title>. arXiv preprint arXiv:160302754[preprint].</citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chichilnisky</surname> <given-names>E.</given-names></name></person-group> (<year>2001</year>). <article-title>A simple white noise analysis of neuronal light responses</article-title>. <source>Netw. Comp. Neural Syst.</source> <volume>12</volume>, <fpage>199</fpage>&#x02013;<lpage>213</lpage>. <pub-id pub-id-type="doi">10.1080/713663221</pub-id><pub-id pub-id-type="pmid">11405422</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Chollet</surname> <given-names>F.</given-names></name></person-group> (<year>2015</year>). <source>Keras. <italic>GitHub repository</italic></source>. Available Online at: <ext-link ext-link-type="uri" xlink:href="https://github.com/keras-team/keras">https://github.com/keras-team/keras</ext-link></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Corbett</surname> <given-names>E. A.</given-names></name> <name><surname>Perreault</surname> <given-names>E. J.</given-names></name> <name><surname>K&#x000F6;rding</surname> <given-names>K. P.</given-names></name></person-group> (<year>2012</year>). <article-title>Decoding with limited neural data: a mixture of time-warped trajectory models for directional reaches</article-title>. <source>J. Neural Eng.</source> <volume>9</volume>:<fpage>036002</fpage>. <pub-id pub-id-type="doi">10.1088/1741-2560/9/3/036002</pub-id><pub-id pub-id-type="pmid">22488128</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Domencich</surname> <given-names>T. A.</given-names></name> <name><surname>McFadden</surname> <given-names>D.</given-names></name></person-group> (<year>1975</year>). <source>Urban Travel Demand-A Behavioral Analysis</source>, Oxford: North-Holland Publishing Company Limited.</citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fernandes</surname> <given-names>H. L.</given-names></name> <name><surname>Stevenson</surname> <given-names>I. H.</given-names></name> <name><surname>Phillips</surname> <given-names>A. N.</given-names></name> <name><surname>Segraves</surname> <given-names>M. A.</given-names></name> <name><surname>Kording</surname> <given-names>K. P.</given-names></name></person-group> (<year>2014</year>). <article-title>Saliency and saccade encoding in the frontal eye field during natural scene search</article-title>. <source>Cereb. Cortex</source> <volume>24</volume>, <fpage>3232</fpage>&#x02013;<lpage>3245</lpage>. <pub-id pub-id-type="doi">10.1093/cercor/bht179</pub-id><pub-id pub-id-type="pmid">23863686</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Feurer</surname> <given-names>M.</given-names></name> <name><surname>Klein</surname> <given-names>A.</given-names></name> <name><surname>Eggensperger</surname> <given-names>K.</given-names></name> <name><surname>Springenberg</surname> <given-names>J.</given-names></name> <name><surname>Blum</surname> <given-names>M.</given-names></name> <name><surname>Hutter</surname> <given-names>F.</given-names></name></person-group> (<year>2015</year>). <article-title>Efficient and robust automated machine learning</article-title>, in <source>Advances in Neural Information Processing Systems</source>, Vol. <volume>28</volume>, eds <person-group person-group-type="editor"><name><surname>Cortes</surname> <given-names>C.</given-names></name> <name><surname>Lawrence</surname> <given-names>N. D.</given-names></name> <name><surname>Lee</surname> <given-names>D. D.</given-names></name> <name><surname>Sugiyama</surname> <given-names>M.</given-names></name> <name><surname>Garnett</surname> <given-names>R.</given-names></name></person-group> (<publisher-name>Curran Associates, Inc.</publisher-name>), <fpage>2962</fpage>&#x02013;<lpage>2970</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://papers.nips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf">http://papers.nips.cc/paper/5872-efficient-and-robust-automated-machine-learning.pdf</ext-link></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freeman</surname> <given-names>J.</given-names></name> <name><surname>Field</surname> <given-names>G. D.</given-names></name> <name><surname>Li</surname> <given-names>P. H.</given-names></name> <name><surname>Greschner</surname> <given-names>M.</given-names></name> <name><surname>Gunning</surname> <given-names>D. E.</given-names></name> <name><surname>Mathieson</surname> <given-names>K.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>Mapping nonlinear receptive field structure in primate retina at single cone resolution</article-title>. <source>Elife</source> <volume>4</volume>:<fpage>e05241</fpage>. <pub-id pub-id-type="doi">10.7554/eLife.05241</pub-id><pub-id pub-id-type="pmid">26517879</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Friedman</surname> <given-names>J. H.</given-names></name></person-group> (<year>2001</year>). <article-title>Greedy function approximation: a gradient boosting machine</article-title>. <source>Ann. Statist.</source> <volume>29</volume>, <fpage>1189</fpage>&#x02013;<lpage>1232</lpage>. <pub-id pub-id-type="doi">10.1214/aos/1013203451</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Friedman</surname> <given-names>J.</given-names></name> <name><surname>Hastie</surname> <given-names>T.</given-names></name> <name><surname>Tibshirani</surname> <given-names>R.</given-names></name></person-group> (<year>2000</year>). <article-title>Additive logistic regression: a statistical view of boosting (with discussion and a rejoinder by the authors)</article-title>. <source>Ann. Statist.</source> <volume>28</volume>, <fpage>337</fpage>&#x02013;<lpage>407</lpage>. <pub-id pub-id-type="doi">10.1214/aos/1016120463</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gers</surname> <given-names>F. A.</given-names></name> <name><surname>Schmidhuber</surname> <given-names>J.</given-names></name> <name><surname>Cummins</surname> <given-names>F.</given-names></name></person-group> (<year>2000</year>). <article-title>Learning to forget: Continual prediction with LSTM</article-title>. <source>Neural Comput.</source> <volume>12</volume>, <fpage>2451</fpage>&#x02013;<lpage>2471</lpage>. <pub-id pub-id-type="doi">10.1162/089976600300015015</pub-id><pub-id pub-id-type="pmid">11032042</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gerwinn</surname> <given-names>S.</given-names></name> <name><surname>Macke</surname> <given-names>J. H.</given-names></name> <name><surname>Bethge</surname> <given-names>M.</given-names></name></person-group> (<year>2010</year>). <article-title>Bayesian inference for generalized linear models for spiking neurons</article-title>. <source>Front. Comp. Neurosci.</source> <volume>4</volume>:<fpage>12</fpage>. <pub-id pub-id-type="doi">10.3389/fncom.2010.00012</pub-id><pub-id pub-id-type="pmid">20577627</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grill-Spector</surname> <given-names>K.</given-names></name> <name><surname>Henson</surname> <given-names>R.</given-names></name> <name><surname>Martin</surname> <given-names>A.</given-names></name></person-group> (<year>2006</year>). <article-title>Repetition and the brain: neural models of stimulus-specific effects</article-title>. <source>Trends Cogn. Sci.</source> <volume>10</volume>, <fpage>14</fpage>&#x02013;<lpage>23</lpage>. <pub-id pub-id-type="doi">10.1016/j.tics.2005.11.006</pub-id><pub-id pub-id-type="pmid">16321563</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Heitman</surname> <given-names>A.</given-names></name> <name><surname>Brackbill</surname> <given-names>N.</given-names></name> <name><surname>Greschner</surname> <given-names>M.</given-names></name> <name><surname>Sher</surname> <given-names>A.</given-names></name> <name><surname>Litke</surname> <given-names>A. M.</given-names></name> <name><surname>Chichilnisky</surname> <given-names>E.</given-names></name></person-group> (<year>2016</year>). <article-title>Testing pseudo-linear models of responses to natural scenes in primate retina</article-title>. <source>bioRxiv</source>:045336 [preprint]. <pub-id pub-id-type="doi">10.1101/045336</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ho</surname> <given-names>T. K.</given-names></name></person-group> (<year>1998</year>). <article-title>The random subspace method for constructing decision forests</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>20</volume>, <fpage>832</fpage>&#x02013;<lpage>844</lpage>.</citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kaardal</surname> <given-names>J.</given-names></name> <name><surname>Fitzgerald</surname> <given-names>J. D.</given-names></name> <name><surname>Berry</surname> <given-names>M. J.</given-names></name> <name><surname>Sharpee</surname> <given-names>T. O.</given-names></name></person-group> (<year>2013</year>). <article-title>Identifying functional bases for multidimensional neural computations</article-title>. <source>Neural Comput.</source> <volume>25</volume>, <fpage>1870</fpage>&#x02013;<lpage>1890</lpage>. <pub-id pub-id-type="doi">10.1162/NECO</pub-id>_a_00465<pub-id pub-id-type="pmid">23607565</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="web"><person-group person-group-type="author"><collab>Kaggle Winner&#x00027;s Blog</collab></person-group> (<year>2016</year>). Available Online at: <ext-link ext-link-type="uri" xlink:href="http://blog.kaggle.com/">http://blog.kaggle.com/</ext-link></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kotthoff</surname> <given-names>L.</given-names></name> <name><surname>Thornton</surname> <given-names>C.</given-names></name> <name><surname>Hoos</surname> <given-names>H. H.</given-names></name> <name><surname>Hutter</surname> <given-names>F.</given-names></name> <name><surname>Leyton-Brown</surname> <given-names>K.</given-names></name></person-group> (<year>2016</year>). <article-title>Auto-WEKA 2.0: automatic model selection and hyperparameter optimization in WEKA</article-title>. <source>J. Mach. Learn. Res.</source> <volume>17</volume>, <fpage>1</fpage>&#x02013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1145/2487575.2487629</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="editor"><name><surname>Latimer</surname> <given-names>K. W.</given-names></name> <name><surname>Chichilnisky</surname> <given-names>E.</given-names></name> <name><surname>Rieke</surname> <given-names>F.</given-names></name> <name><surname>Pillow</surname> <given-names>J. W.</given-names></name></person-group> (eds). (<year>2014</year>). <article-title>Inferring synaptic conductances from spike trains with a biophysically inspired point process model</article-title>, in <source>Advances in Neural Information Processing Systems</source> (<publisher-loc>Curran Associates, Inc.</publisher-loc>), <fpage>954</fpage>&#x02013;<lpage>962</lpage>.</citation>
</ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lau</surname> <given-names>B.</given-names></name> <name><surname>Stanley</surname> <given-names>G. B.</given-names></name> <name><surname>Dan</surname> <given-names>Y.</given-names></name></person-group> (<year>2002</year>). <article-title>Computational subunits of visual cortical neurons revealed by artificial neural networks</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>99</volume>, <fpage>8974</fpage>&#x02013;<lpage>8979</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.122173799</pub-id><pub-id pub-id-type="pmid">12060706</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lipton</surname> <given-names>Z. C.</given-names></name></person-group> (<year>2016</year>). <article-title>The mythos of model interpretability</article-title>. <source>arXiv preprint</source> arXiv:1606.03490.</citation></ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Maheswaranathan</surname> <given-names>N.</given-names></name> <name><surname>Baccus</surname> <given-names>S. A.</given-names></name> <name><surname>Ganguli</surname> <given-names>S.</given-names></name></person-group> (<year>2017</year>). <article-title>Inferring hidden structure in multilayered neural circuits</article-title>. <source>bioRxiv</source>: 120956 [preprint]. <pub-id pub-id-type="doi">10.1101/120956</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="book"><person-group person-group-type="editor"><name><surname>McAuley</surname> <given-names>J.</given-names></name> <name><surname>Leskovec</surname> <given-names>J.</given-names></name></person-group> (eds). (<year>2013</year>). <article-title>Hidden factors and hidden topics: understanding rating dimensions with review text</article-title>, in <source>Proceedings of the 7th ACM Conference on Recommender Systems</source> (<publisher-loc>Hong Kong</publisher-loc>: <publisher-name>ACM</publisher-name>).</citation>
</ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>McFarland</surname> <given-names>J. M.</given-names></name> <name><surname>Cui</surname> <given-names>Y.</given-names></name> <name><surname>Butts</surname> <given-names>D. A.</given-names></name></person-group> (<year>2013</year>). <article-title>Inferring nonlinear neuronal computation based on physiologically plausible inputs</article-title>. <source>PLoS Comput. Biol.</source> <volume>9</volume>:<fpage>e1003143</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1003143</pub-id><pub-id pub-id-type="pmid">23874185</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>McIntosh</surname> <given-names>L.</given-names></name> <name><surname>Maheswaranathan</surname> <given-names>N.</given-names></name> <name><surname>Nayebi</surname> <given-names>A.</given-names></name> <name><surname>Ganguli</surname> <given-names>S.</given-names></name> <name><surname>Baccus</surname> <given-names>S.</given-names></name></person-group> (<year>2016</year>). <article-title>Deep learning models of the retinal response to natural scenes</article-title>, in <source>Advances in Neural Information Processing Systems</source>, Vol. <volume>29</volume>, eds <person-group person-group-type="editor"><name><surname>Lee</surname> <given-names>D. D.</given-names></name> <name><surname>Sugiyama</surname> <given-names>M.</given-names></name> <name><surname>Luxburg</surname> <given-names>U. V.</given-names></name> <name><surname>Guyon</surname> <given-names>I.</given-names></name> <name><surname>Garnett</surname> <given-names>R.</given-names></name></person-group> (<publisher-loc>Curran Associates, Inc.</publisher-loc>), <fpage>1369</fpage>&#x02013;<lpage>1377</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://papers.nips.cc/paper/6388-deep-learning-models-of-the-retinal-response-to-natural-scenes.pdf">http://papers.nips.cc/paper/6388-deep-learning-models-of-the-retinal-response-to-natural-scenes.pdf</ext-link></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mizuseki</surname> <given-names>K.</given-names></name> <name><surname>Sirota</surname> <given-names>A.</given-names></name> <name><surname>Pastalkova</surname> <given-names>E.</given-names></name> <name><surname>Buzs&#x000E1;ki</surname> <given-names>G.</given-names></name></person-group> (<year>2009a</year>). <source>Multi-unit recordings from the rat hippocampus made during open field foraging</source>. <pub-id pub-id-type="doi">10.6080/K0Z60KZ9</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mizuseki</surname> <given-names>K.</given-names></name> <name><surname>Sirota</surname> <given-names>A.</given-names></name> <name><surname>Pastalkova</surname> <given-names>E.</given-names></name> <name><surname>Buzs&#x000E1;ki</surname> <given-names>G.</given-names></name></person-group> (<year>2009b</year>). <article-title>Theta oscillations provide temporal windows for local circuit computation in the entorhinal-hippocampal loop</article-title>. <source>Neuron</source> <volume>64</volume>, <fpage>267</fpage>&#x02013;<lpage>280</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2009.08.037</pub-id><pub-id pub-id-type="pmid">19874793</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nelder</surname> <given-names>J. A.</given-names></name> <name><surname>Baker</surname> <given-names>R. J.</given-names></name></person-group> (<year>1972</year>). <article-title>Generalized linear models</article-title>. <source>Encyclop. Statist. Sci.</source> <volume>135</volume>, <fpage>370</fpage>&#x02013;<lpage>384</lpage>. <pub-id pub-id-type="doi">10.2307/2344614</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Paninski</surname> <given-names>L.</given-names></name></person-group> (<year>2004</year>). <article-title>Maximum likelihood estimation of cascade point-process neural encoding models</article-title>. <source>Netw. Comp. Neural Sys.</source> <volume>15</volume>, <fpage>243</fpage>&#x02013;<lpage>262</lpage>. <pub-id pub-id-type="doi">10.1088/0954-898X_15_4_002</pub-id><pub-id pub-id-type="pmid">15600233</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Paninski</surname> <given-names>L.</given-names></name> <name><surname>Fellows</surname> <given-names>M. R.</given-names></name> <name><surname>Hatsopoulos</surname> <given-names>N. G.</given-names></name> <name><surname>Donoghue</surname> <given-names>J. P.</given-names></name></person-group> (<year>2004a</year>). <article-title>Spatiotemporal tuning of motor cortical neurons for hand position and velocity</article-title>. <source>J. Neurophysiol.</source> <volume>91</volume>, <fpage>515</fpage>&#x02013;<lpage>532</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00587.2002</pub-id><pub-id pub-id-type="pmid">13679402</pub-id></citation></ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Paninski</surname> <given-names>L.</given-names></name> <name><surname>Shoham</surname> <given-names>S.</given-names></name> <name><surname>Fellows</surname> <given-names>M. R.</given-names></name> <name><surname>Hatsopoulos</surname> <given-names>N. G.</given-names></name> <name><surname>Donoghue</surname> <given-names>J. P.</given-names></name></person-group> (<year>2004b</year>). <article-title>Superlinear population encoding of dynamic hand trajectory in primary motor cortex</article-title>. <source>J. Neurosci.</source> <volume>24</volume>, <fpage>8551</fpage>&#x02013;<lpage>8561</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.0919-04.2004</pub-id><pub-id pub-id-type="pmid">15456829</pub-id></citation></ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pedregosa</surname> <given-names>F.</given-names></name> <name><surname>Varoquaux</surname> <given-names>G.</given-names></name> <name><surname>Gramfort</surname> <given-names>A.</given-names></name> <name><surname>Michel</surname> <given-names>V.</given-names></name> <name><surname>Thirion</surname> <given-names>B.</given-names></name> <name><surname>Grisel</surname> <given-names>O.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Scikit-learn: machine learning in Python</article-title>. <source>J. Mach. Learn. Res.</source> <volume>12</volume>, <fpage>2825</fpage>&#x02013;<lpage>2830</lpage>.</citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pillow</surname> <given-names>J. W.</given-names></name> <name><surname>Paninski</surname> <given-names>L.</given-names></name> <name><surname>Uzzell</surname> <given-names>V. J.</given-names></name> <name><surname>Simoncelli</surname> <given-names>E. P.</given-names></name> <name><surname>Chichilnisky</surname> <given-names>E.</given-names></name></person-group> (<year>2005</year>). <article-title>Prediction and decoding of retinal ganglion cell responses with a probabilistic spiking model</article-title>. <source>J. Neurosci.</source> <volume>25</volume>, <fpage>11003</fpage>&#x02013;<lpage>11013</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.3305-05.2005</pub-id><pub-id pub-id-type="pmid">16306413</pub-id></citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pillow</surname> <given-names>J. W.</given-names></name> <name><surname>Shlens</surname> <given-names>J.</given-names></name> <name><surname>Paninski</surname> <given-names>L.</given-names></name> <name><surname>Sher</surname> <given-names>A.</given-names></name> <name><surname>Litke</surname> <given-names>A. M.</given-names></name> <name><surname>Chichilnisky</surname> <given-names>E.</given-names></name> <etal/></person-group>. (<year>2008</year>). <article-title>Spatio-temporal correlations and visual signalling in a complete neuronal population</article-title>. <source>Nature</source> <volume>454</volume>, <fpage>995</fpage>&#x02013;<lpage>999</lpage>. <pub-id pub-id-type="doi">10.1038/nature07140</pub-id><pub-id pub-id-type="pmid">18650810</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Prenger</surname> <given-names>R.</given-names></name> <name><surname>Wu</surname> <given-names>M. C.</given-names></name> <name><surname>David</surname> <given-names>S. V.</given-names></name> <name><surname>Gallant</surname> <given-names>J. L.</given-names></name></person-group> (<year>2004</year>). <article-title>Nonlinear V1 responses to natural scenes revealed by neural network analysis</article-title>. <source>Neural Netw.</source> <volume>17</volume>, <fpage>663</fpage>&#x02013;<lpage>679</lpage>. <pub-id pub-id-type="doi">10.1016/j.neunet.2004.03.008</pub-id><pub-id pub-id-type="pmid">15288891</pub-id></citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Prud&#x00027;homme</surname> <given-names>M. J.</given-names></name> <name><surname>Kalaska</surname> <given-names>J. F.</given-names></name></person-group> (<year>1994</year>). <article-title>Proprioceptive activity in primate primary somatosensory cortex during active arm reaching movements</article-title>. <source>J. Neurophysiol.</source> <volume>72</volume>, <fpage>2280</fpage>&#x02013;<lpage>2301</lpage>. <pub-id pub-id-type="doi">10.1152/jn.1994.72.5.2280</pub-id><pub-id pub-id-type="pmid">7884459</pub-id></citation></ref>
<ref id="B45">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ramkumar</surname> <given-names>P.</given-names></name> <name><surname>Jas</surname> <given-names>M.</given-names></name> <name><surname>Achakulvisut</surname> <given-names>T.</given-names></name> <name><surname>Idrizovi&#x00107;</surname> <given-names>A.</given-names></name> <name><surname>themantalope</surname></name> <name><surname>Acuna</surname> <given-names>D. E.</given-names></name> <etal/></person-group>. (<year>2017</year>). <source>Pyglmnet 1.0.1</source>. (<publisher-loc>Chicago, IL</publisher-loc>).</citation></ref>
<ref id="B46">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ramkumar</surname> <given-names>P.</given-names></name> <name><surname>Lawlor</surname> <given-names>P. N.</given-names></name> <name><surname>Glaser</surname> <given-names>J. I.</given-names></name> <name><surname>Wood</surname> <given-names>D. K.</given-names></name> <name><surname>Phillips</surname> <given-names>A. N.</given-names></name> <name><surname>Segraves</surname> <given-names>M. A.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Feature-based attention and spatial selection in frontal eye fields during natural scene search</article-title>. <source>J. Neurophysiol.</source> <volume>116</volume>, <fpage>1328</fpage>&#x02013;<lpage>1343</lpage>. <pub-id pub-id-type="doi">10.1152/jn.01044.2015</pub-id><pub-id pub-id-type="pmid">27250912</pub-id></citation></ref>
<ref id="B47">
<citation citation-type="book"><person-group person-group-type="editor"><name><surname>Ribeiro</surname> <given-names>M. T.</given-names></name> <name><surname>Singh</surname> <given-names>S.</given-names></name> <name><surname>Guestrin</surname> <given-names>C.</given-names></name></person-group> (eds). (<year>2016</year>). <article-title>Why should i trust you?: Explaining the predictions of any classifier</article-title>, in <source>Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source> (<publisher-loc>San Francisco, CA</publisher-loc>: <publisher-name>ACM</publisher-name>).</citation>
</ref>
<ref id="B48">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Saleh</surname> <given-names>M.</given-names></name> <name><surname>Takahashi</surname> <given-names>K.</given-names></name> <name><surname>Hatsopoulos</surname> <given-names>N. G.</given-names></name></person-group> (<year>2012</year>). <article-title>Encoding of coordinated reach and grasp trajectories in primary motor cortex</article-title>. <source>J. Neurosci.</source> <volume>32</volume>, <fpage>1220</fpage>&#x02013;<lpage>1232</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.2438-11.2012</pub-id><pub-id pub-id-type="pmid">22279207</pub-id></citation></ref>
<ref id="B49">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schmidhuber</surname> <given-names>J.</given-names></name></person-group> (<year>2015</year>). <article-title>Deep learning in neural networks: an overview</article-title>. <source>Neural Netw.</source> <volume>61</volume>:<fpage>85</fpage>&#x02013;<lpage>117</lpage>. <pub-id pub-id-type="doi">10.1016/j.neunet.2014.09.003</pub-id><pub-id pub-id-type="pmid">25462637</pub-id></citation></ref>
<ref id="B50">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schoppe</surname> <given-names>O.</given-names></name> <name><surname>Harper</surname> <given-names>N. S.</given-names></name> <name><surname>Willmore</surname> <given-names>B. D.</given-names></name> <name><surname>King</surname> <given-names>A. J.</given-names></name> <name><surname>Schnupp</surname> <given-names>J. W.</given-names></name></person-group> (<year>2016</year>). <article-title>Measuring the performance of neural models</article-title>. <source>Front. Comput. Neurosci.</source> <volume>10</volume>:<fpage>10</fpage>. <pub-id pub-id-type="doi">10.3389/fncom.2016.00010</pub-id></citation></ref>
<ref id="B51">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schwartz</surname> <given-names>O.</given-names></name> <name><surname>Pillow</surname> <given-names>J. W.</given-names></name> <name><surname>Rust</surname> <given-names>N. C.</given-names></name> <name><surname>Simoncelli</surname> <given-names>E. P.</given-names></name></person-group> (<year>2006</year>). <article-title>Spike-triggered neural characterization</article-title>. <source>J. Vis.</source> <volume>6</volume>:<fpage>13</fpage>. <pub-id pub-id-type="doi">10.1167/6.4.13</pub-id><pub-id pub-id-type="pmid">16889482</pub-id></citation></ref>
<ref id="B52">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sharpee</surname> <given-names>T.</given-names></name> <name><surname>Rust</surname> <given-names>N. C.</given-names></name> <name><surname>Bialek</surname> <given-names>W.</given-names></name></person-group> (<year>2004</year>). <article-title>Analyzing neural responses to natural signals: maximally informative dimensions</article-title>. <source>Neural Comput.</source> <volume>16</volume>, <fpage>223</fpage>&#x02013;<lpage>250</lpage>. <pub-id pub-id-type="doi">10.1162/089976604322742010</pub-id><pub-id pub-id-type="pmid">15006095</pub-id></citation></ref>
<ref id="B53">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Simoncelli</surname> <given-names>E. P.</given-names></name> <name><surname>Paninski</surname> <given-names>L.</given-names></name> <name><surname>Pillow</surname> <given-names>J.</given-names></name> <name><surname>Schwartz</surname> <given-names>O.</given-names></name></person-group> (<year>2004</year>). <article-title>Characterization of neural responses with stochastic stimuli</article-title>, in <source>The cognitive neurosciences</source>, <edition>3rd edn</edition> ed <person-group person-group-type="editor"><name><surname>Gazzaniga</surname> <given-names>M.</given-names></name></person-group> (<publisher-name>MIT Press</publisher-name>), <fpage>327</fpage>&#x02013;<lpage>338</lpage>.</citation></ref>
<ref id="B54">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simonyan</surname> <given-names>K.</given-names></name> <name><surname>Vedaldi</surname> <given-names>A.</given-names></name> <name><surname>Zisserman</surname> <given-names>A.</given-names></name></person-group> (<year>2013</year>). <article-title>Deep inside convolutional networks: Visualising image classification models and saliency maps</article-title>. <volume>arXiv</volume>:<fpage>13126034</fpage>[preprint].</citation></ref>
<ref id="B55">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Snoek</surname> <given-names>J.</given-names></name> <name><surname>Larochelle</surname> <given-names>H.</given-names></name> <name><surname>Adams</surname> <given-names>R. P.</given-names></name></person-group> (<year>2012</year>). <article-title>Practical Bayesian optimization of machine learning algorithms</article-title>, in <source>Advances in Neural Information Processing Systems</source>, Vol. <volume>25</volume>, eds <person-group person-group-type="editor"><name><surname>Pereira</surname> <given-names>F.</given-names></name> <name><surname>Burges</surname> <given-names>C. J. C.</given-names></name> <name><surname>Bottou</surname> <given-names>L.</given-names></name> <name><surname>Weinberger</surname> <given-names>K. Q.</given-names></name></person-group> (<publisher-loc>Curran Associates, Inc.</publisher-loc>), <fpage>2951</fpage>&#x02013;<lpage>2959</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://papers.nips.cc/paper/4522-practical-bayesian-optimization-of-machine-learning-algorithms.pdf">http://papers.nips.cc/paper/4522-practical-bayesian-optimization-of-machine-learning-algorithms.pdf</ext-link></citation></ref>
<ref id="B56">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srivastava</surname> <given-names>N.</given-names></name> <name><surname>Hinton</surname> <given-names>G. E.</given-names></name> <name><surname>Krizhevsky</surname> <given-names>A.</given-names></name> <name><surname>Sutskever</surname> <given-names>I.</given-names></name> <name><surname>Salakhutdinov</surname> <given-names>R.</given-names></name></person-group> (<year>2014</year>). <article-title>Dropout: a simple way to prevent neural networks from overfitting</article-title>. <source>J. Mach. Learn. Res.</source> <volume>15</volume>, <fpage>1929</fpage>&#x02013;<lpage>1958</lpage>.</citation></ref>
<ref id="B57">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stevenson</surname> <given-names>I. H.</given-names></name> <name><surname>Cherian</surname> <given-names>A.</given-names></name> <name><surname>London</surname> <given-names>B. M.</given-names></name> <name><surname>Sachs</surname> <given-names>N. A.</given-names></name> <name><surname>Lindberg</surname> <given-names>E.</given-names></name> <name><surname>Reimer</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Statistical assessment of the stability of neural movement representations</article-title>. <source>J. Neurophysiol.</source> <volume>106</volume>, <fpage>764</fpage>&#x02013;<lpage>774</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00626.2010</pub-id><pub-id pub-id-type="pmid">21613593</pub-id></citation></ref>
<ref id="B58">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Strobl</surname> <given-names>C.</given-names></name> <name><surname>Boulesteix</surname> <given-names>A. L.</given-names></name> <name><surname>Kneib</surname> <given-names>T.</given-names></name> <name><surname>Augustin</surname> <given-names>T.</given-names></name> <name><surname>Zeileis</surname> <given-names>A.</given-names></name></person-group> (<year>2008</year>). <article-title>Conditional variable importance for random forests</article-title>. <source>BMC Bioinformatics</source> <volume>9</volume>:<fpage>307</fpage>. <pub-id pub-id-type="doi">10.1186/1471-2105-9-307</pub-id><pub-id pub-id-type="pmid">18620558</pub-id></citation></ref>
<ref id="B59">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Team</surname> <given-names>T. T. D.</given-names></name> <name><surname>Al-Rfou</surname> <given-names>R.</given-names></name> <name><surname>Alain</surname> <given-names>G.</given-names></name> <name><surname>Almahairi</surname> <given-names>A.</given-names></name> <name><surname>Angermueller</surname> <given-names>C.</given-names></name> <name><surname>Bahdanau</surname> <given-names>D.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Theano: a Python framework for fast computation of mathematical expressions</article-title>. <volume>arXiv</volume>:<fpage>160502688</fpage>[preprint].</citation></ref>
<ref id="B60">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Theis</surname> <given-names>L.</given-names></name> <name><surname>Chagas</surname> <given-names>A. M.</given-names></name> <name><surname>Arnstein</surname> <given-names>D.</given-names></name> <name><surname>Schwarz</surname> <given-names>C.</given-names></name> <name><surname>Bethge</surname> <given-names>M.</given-names></name></person-group> (<year>2013</year>). <article-title>Beyond GLMs: a generative mixture modeling approach to neural system identification</article-title>. <source>PLoS Comput. Biol.</source> <volume>9</volume>:<fpage>e1003356</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1003356</pub-id><pub-id pub-id-type="pmid">24278006</pub-id></citation></ref>
<ref id="B61">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Truccolo</surname> <given-names>W.</given-names></name> <name><surname>Eden</surname> <given-names>U. T.</given-names></name> <name><surname>Fellows</surname> <given-names>M. R.</given-names></name> <name><surname>Donoghue</surname> <given-names>J. P.</given-names></name> <name><surname>Brown</surname> <given-names>E. N.</given-names></name></person-group> (<year>2005</year>). <article-title>A point process framework for relating neural spiking activity to spiking history, neural ensemble, and extrinsic covariate effects</article-title>. <source>J. Neurophysiol.</source> <volume>93</volume>, <fpage>1074</fpage>&#x02013;<lpage>1089</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00697.2004</pub-id><pub-id pub-id-type="pmid">15356183</pub-id></citation></ref>
<ref id="B62">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Weber</surname> <given-names>A. I.</given-names></name> <name><surname>Pillow</surname> <given-names>J. W.</given-names></name></person-group> (<year>2016</year>). <article-title>Capturing the dynamical repertoire of single neurons with generalized linear models</article-title>. <volume>arXiv</volume>:<fpage>160207389</fpage>[preprint].<pub-id pub-id-type="pmid">28957020</pub-id></citation></ref>
<ref id="B63">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Williamson</surname> <given-names>R. S.</given-names></name> <name><surname>Sahani</surname> <given-names>M.</given-names></name> <name><surname>Pillow</surname> <given-names>J. W.</given-names></name></person-group> (<year>2015</year>). <article-title>The equivalence of information-theoretic and likelihood-based methods for neural dimensionality reduction</article-title>. <source>PLoS Comput. Biol.</source> <volume>11</volume>:<fpage>e1004141</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1004141</pub-id><pub-id pub-id-type="pmid">25831448</pub-id></citation></ref>
<ref id="B64">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wolpert</surname> <given-names>D. H.</given-names></name></person-group> (<year>1992</year>). <article-title>Stacked generalization</article-title>. <source>Neural Netw.</source> <volume>5</volume>, <fpage>241</fpage>&#x02013;<lpage>259</lpage>.</citation></ref>
<ref id="B65">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>M. C. K.</given-names></name> <name><surname>David</surname> <given-names>S. V.</given-names></name> <name><surname>Gallant</surname> <given-names>J. L.</given-names></name></person-group> (<year>2006</year>). <article-title>Complete functional characterization of sensory neurons by system identification</article-title>. <source>Annu. Rev. Neurosci.</source> <volume>29</volume>, <fpage>477</fpage>&#x02013;<lpage>505</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.neuro.29.051605.113024</pub-id><pub-id pub-id-type="pmid">16776594</pub-id></citation></ref>
<ref id="B66">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yamins</surname> <given-names>D. L.</given-names></name> <name><surname>Hong</surname> <given-names>H.</given-names></name> <name><surname>Cadieu</surname> <given-names>C. F.</given-names></name> <name><surname>Solomon</surname> <given-names>E. A.</given-names></name> <name><surname>Seibert</surname> <given-names>D.</given-names></name> <name><surname>DiCarlo</surname> <given-names>J. J.</given-names></name></person-group> (<year>2014</year>). <article-title>Performance-optimized hierarchical models predict neural responses in higher visual cortex</article-title>. <source>Proceed. Natl. Acad. Sci. U.S.A.</source> <volume>111</volume>, <fpage>8619</fpage>&#x02013;<lpage>8624</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1403112111</pub-id><pub-id pub-id-type="pmid">24812127</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> LM acknowledges the following grants from the National Institute of Neurological Disorders and Stroke (<ext-link ext-link-type="uri" xlink:href="https://www.ninds.nih.gov/">https://www.ninds.nih.gov/</ext-link>): NS074044, NS048845, NS053603, NS095251. CV recognizes support from the Biomedical Data Driven Discovery (BD3) Training Program funded through the National Institute of Health, grant number 5T32LM012203-02. KK acknowledges support from National Institute of Health (<ext-link ext-link-type="uri" xlink:href="https://www.nih.gov/">https://www.nih.gov/</ext-link>) grants R01NS063399, R01NS074044, and MH103910. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. RC thanks NSF GRFP DGE-1324585.</p>
</fn>
</fn-group>
</back>
</article>