spynnaker.pyNN.utilities.random_stats package¶
Module contents¶
- class spynnaker.pyNN.utilities.random_stats.AbstractRandomStats¶
Bases:
objectStatistics about PyNN ~spynnaker.pyNN.RandomDistribution objects.
- abstract cdf(dist: RandomDistribution, v: float) float[source]¶
Return the cumulative distribution function value for the value v.
- abstract high(distribution: RandomDistribution) float | None[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- abstract low(distribution: RandomDistribution) float | None[source]¶
Return the low cut-off value of the distribution, or None if the distribution is unbounded.
- abstract mean(dist: RandomDistribution) float[source]¶
Return the mean of the distribution.
- abstract ppf(dist: RandomDistribution, p: float) float[source]¶
Return the percent point function value for the probability p.
- abstract std(dist: RandomDistribution) float[source]¶
Return the standard deviation of the distribution.
- abstract var(dist: RandomDistribution) float[source]¶
Return the variance of the distribution.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsBinomialImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for binomial distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsExponentialClippedImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for clipped exponential distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsExponentialImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for exponential distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsGammaImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for gamma distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsLogNormalImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for log normal distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsNormalClippedImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for normal distributions that are clipped to a boundary (redrawn).
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsNormalImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for normal distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsPoissonImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for Poisson distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsRandIntImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for uniform distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsScipyImpl(distribution_type)¶
Bases:
AbstractRandomStatsA Random Statistics object that uses scipy directly.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsUniformImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for uniform distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.
- class spynnaker.pyNN.utilities.random_stats.RandomStatsVonmisesImpl¶
Bases:
AbstractRandomStatsAn implementation of AbstractRandomStats for von Mises distributions.
- high(distribution)[source]¶
Return the high cut-off value of the distribution, or None if the distribution is unbounded.