spynnaker.pyNN.utilities.random_stats package

Module contents

class spynnaker.pyNN.utilities.random_stats.AbstractRandomStats

Bases: object

Statistics about PyNN ~spynnaker.pyNN.RandomDistribution objects.

abstract cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

abstract high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

abstract low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

abstract mean(dist)[source]

Return the mean of the distribution.

abstract ppf(dist, p)[source]

Return the percent point function value for the probability p.

abstract std(dist)[source]

Return the standard deviation of the distribution.

abstract var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsBinomialImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for binomial distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsExponentialClippedImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for clipped exponential distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsExponentialImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for exponential distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsGammaImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for gamma distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsLogNormalImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for log normal distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsNormalClippedImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions that are clipped to a boundary (redrawn).

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsNormalImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsPoissonImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for Poisson distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsRandIntImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsScipyImpl(distribution_type)

Bases: AbstractRandomStats

A Random Statistics object that uses scipy directly.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsUniformImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.

class spynnaker.pyNN.utilities.random_stats.RandomStatsVonmisesImpl

Bases: AbstractRandomStats

An implementation of AbstractRandomStats for von Mises distributions.

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v.

high(distribution)[source]

Return the high cut-off value of the distribution, or None if the distribution is unbounded.

low(distribution)[source]

Return the low cut-off value of the distribution, or None if the distribution is unbounded.

mean(dist)[source]

Return the mean of the distribution.

ppf(dist, p)[source]

Return the percent point function value for the probability p.

std(dist)[source]

Return the standard deviation of the distribution.

var(dist)[source]

Return the variance of the distribution.