Cargando…
An O(n) method of calculating Kendall correlations of spike trains
The ability to record from increasingly large numbers of neurons, and the increasing attention being paid to large scale neural network simulations, demands computationally fast algorithms to compute relevant statistical measures. We present an O(n) algorithm for calculating the Kendall correlation...
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6375604/ https://www.ncbi.nlm.nih.gov/pubmed/30763350 http://dx.doi.org/10.1371/journal.pone.0212190 |
_version_ | 1783395391867191296 |
---|---|
author | Redman, William |
author_facet | Redman, William |
author_sort | Redman, William |
collection | PubMed |
description | The ability to record from increasingly large numbers of neurons, and the increasing attention being paid to large scale neural network simulations, demands computationally fast algorithms to compute relevant statistical measures. We present an O(n) algorithm for calculating the Kendall correlation of spike trains, a correlation measure that is becoming especially recognized as an important tool in neuroscience. We show that our method is around 50 times faster than the O (n ln n) method which is a current standard for quickly computing the Kendall correlation. In addition to providing a faster algorithm, we emphasize the role that taking the specific nature of spike trains had on reducing the run time. We imagine that there are many other useful algorithms that can be even more significantly sped up when taking this into consideration. A MATLAB function executing the method described here has been made freely available on-line. |
format | Online Article Text |
id | pubmed-6375604 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-63756042019-03-01 An O(n) method of calculating Kendall correlations of spike trains Redman, William PLoS One Research Article The ability to record from increasingly large numbers of neurons, and the increasing attention being paid to large scale neural network simulations, demands computationally fast algorithms to compute relevant statistical measures. We present an O(n) algorithm for calculating the Kendall correlation of spike trains, a correlation measure that is becoming especially recognized as an important tool in neuroscience. We show that our method is around 50 times faster than the O (n ln n) method which is a current standard for quickly computing the Kendall correlation. In addition to providing a faster algorithm, we emphasize the role that taking the specific nature of spike trains had on reducing the run time. We imagine that there are many other useful algorithms that can be even more significantly sped up when taking this into consideration. A MATLAB function executing the method described here has been made freely available on-line. Public Library of Science 2019-02-14 /pmc/articles/PMC6375604/ /pubmed/30763350 http://dx.doi.org/10.1371/journal.pone.0212190 Text en © 2019 William Redman http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Redman, William An O(n) method of calculating Kendall correlations of spike trains |
title | An O(n) method of calculating Kendall correlations of spike trains |
title_full | An O(n) method of calculating Kendall correlations of spike trains |
title_fullStr | An O(n) method of calculating Kendall correlations of spike trains |
title_full_unstemmed | An O(n) method of calculating Kendall correlations of spike trains |
title_short | An O(n) method of calculating Kendall correlations of spike trains |
title_sort | o(n) method of calculating kendall correlations of spike trains |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6375604/ https://www.ncbi.nlm.nih.gov/pubmed/30763350 http://dx.doi.org/10.1371/journal.pone.0212190 |
work_keys_str_mv | AT redmanwilliam anonmethodofcalculatingkendallcorrelationsofspiketrains AT redmanwilliam onmethodofcalculatingkendallcorrelationsofspiketrains |