public class Estimate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
getCapacity(Observations obs)
Calculates the channel capacity from given observations.
|
static double |
getCondMinEntropy(Observations obs)
Calculates the conditional min-entropy leakage from given observations.
|
static double |
getCondMinEntropyLowerBound(Observations obs)
Calculates the lower bound of the confidence interval (95%)
of conditional min-entropy from a given chanel.
|
static double |
getCondMinEntropyUpperBound(Observations obs)
Calculates the upper bound of the confidence interval (95%)
of conditional min-entropy from a given chanel.
|
static double |
getCorrectedCapacity(Observations obs)
Calculates the corrected channel capacity from given observations.
|
static double |
getCorrectedMIConfidenceIntervalUnderKnownPrior(Observations obs,
ProbDist pd)
Calculates the confidence interval for corrected mutual information from
given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMILowerBoundUnderKnownPrior(Observations obs,
ProbDist pd)
Calculates the lower bound of the confidence interval (95%)
of mutual information from given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMIUpperBoundUnderKnownPrior(Observations obs,
ProbDist pd)
Calculates the upper bound of the confidence interval (95%)
of mutual information from given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMutualInformation(Observations obs)
Calculates the corrected mutual information from given observations.
|
static double |
getCorrectedMutualInformationConfidenceInterval(Observations obs)
Calculates the confidence interval for corrected mutual information from
given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMutualInformationLowerBound(Observations obs)
Calculates the lower bound of the confidence interval (95%)
of mutual information from given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMutualInformationUpperBound(Observations obs)
Calculates the upper bound of the confidence interval (95%)
of mutual information from given observations
when the input distribution is also estimated from the sample.
|
static double |
getCorrectedMutualInformationWithKnownPrior(Observations obs,
ProbDist pd) |
static double[] |
getInputDistYieldingCapacity(Observations obs)
Calculates the input distribution that gives the channel capacity.
|
static double |
getMinCapacity(Observations obs)
Calculates the min-capacity leakage from given observations.
|
static double |
getMinEntropyLeak(Observations obs)
Calculates the min-entropy leakage from given observations.
|
static double |
getMinEntropyLeakLowerBound(Observations obs)
Calculates the lower bound of the confidence interval (95%)
of min-entropy leakage from a given chanel.
|
static double |
getMinEntropyLeakUpperBound(Observations obs)
Calculates the upper bound of the confidence interval (95%)
of min-entropy leakage from a given chanel.
|
static double |
getMutualInformation(Observations obs)
Calculates the mutual information from given observations.
|
static double |
getPossibleErrorOfCapacity(Observations obs)
Calculates the input distribution that gives the channel capacity.
|
static double |
getUpperBoundForZeroLeakage(Observations obs)
Calculates the upper bound for zero leakage from given observations.
|
static double |
getVariance(Observations obs)
Calculates the variance of the estimated mutual information
from given observations
when the input distribution is also estimated from the sample.
|
static double |
VarianceOfEstimatedMIUnderEstimatedPrior(ProbDist pd,
Channel channel,
int sampleSize)
Calculates the variance for an estimated non-zero mutual information estimate
when the input distribution is also estimated from the sample.
|
static double |
VarianceOfEstimatedMIUnderKnownPrior(ProbDist pd,
Channel channel,
int sampleSize)
Calculates the variance for an estimated non-zero mutual information estimate
when the input distribution is known.
|
public static double getCapacity(Observations obs)
obs
- Observationspublic static double getCondMinEntropy(Observations obs)
obs
- Observationspublic static double getCondMinEntropyLowerBound(Observations obs)
obs
- Observationspublic static double getCondMinEntropyUpperBound(Observations obs)
obs
- Observationspublic static double getCorrectedCapacity(Observations obs)
obs
- Observationspublic static double getCorrectedMIConfidenceIntervalUnderKnownPrior(Observations obs, ProbDist pd)
obs
- Observationspd
- prior distributionpublic static double getCorrectedMILowerBoundUnderKnownPrior(Observations obs, ProbDist pd)
obs
- Observationspd
- prior distributionpublic static double getCorrectedMIUpperBoundUnderKnownPrior(Observations obs, ProbDist pd)
obs
- Observationspd
- prior distributionpublic static double getCorrectedMutualInformation(Observations obs)
obs
- Observationspublic static double getCorrectedMutualInformationConfidenceInterval(Observations obs)
obs
- Observationspublic static double getCorrectedMutualInformationLowerBound(Observations obs)
obs
- Observationspublic static double getCorrectedMutualInformationUpperBound(Observations obs)
obs
- Observationspublic static double getCorrectedMutualInformationWithKnownPrior(Observations obs, ProbDist pd)
public static double[] getInputDistYieldingCapacity(Observations obs)
obs
- Observationspublic static double getMinCapacity(Observations obs)
obs
- Observationspublic static double getMinEntropyLeak(Observations obs)
obs
- Observationspublic static double getMinEntropyLeakLowerBound(Observations obs)
obs
- Observationspublic static double getMinEntropyLeakUpperBound(Observations obs)
obs
- Observationspublic static double getMutualInformation(Observations obs)
obs
- Observationspublic static double getPossibleErrorOfCapacity(Observations obs)
obs
- Observationspublic static double getUpperBoundForZeroLeakage(Observations obs)
obs
- Observationspublic static double getVariance(Observations obs)
obs
- observationspublic static double VarianceOfEstimatedMIUnderEstimatedPrior(ProbDist pd, Channel channel, int sampleSize)
pd
- (prior) input probability distributionchannel
- channelsampleSize
- sample sizepublic static double VarianceOfEstimatedMIUnderKnownPrior(ProbDist pd, Channel channel, int sampleSize)
pd
- (prior) input probability distributionchannel
- channelsampleSize
- sample size