Package | Description |
---|---|
bham.leakiest | |
bham.leakiest.infotheory |
Modifier and Type | Method and Description |
---|---|
static Observations |
ARFFFile.computeObservationsFromARFF(java.lang.String fileName,
java.util.TreeSet<java.lang.String> highFeaturesSet,
java.util.TreeSet<java.lang.String> lowFeaturesSet)
Computes the observations from a given ARFF file and given features.
|
Observations |
ReadFile.getObservations()
Returns the observation.
|
Observations |
ARFFFile.obsFromARFF(java.util.TreeSet<java.lang.Integer> inputIndexes,
java.util.TreeSet<java.lang.Integer> outputIndexes)
Returns the observation for specified high and low features.
|
Modifier and Type | Method and Description |
---|---|
void |
CSVFile.addLeakageData(Observations observations,
int leakageType)
Adds a new line of information leakage statistics to the CSV file, given
an Observations object.
|
static double |
Estimate.getCapacity(Observations obs)
Calculates the channel capacity from given observations.
|
static double |
Estimate.getCondMinEntropy(Observations obs)
Calculates the conditional min-entropy leakage from given observations.
|
static double |
Estimate.getCondMinEntropyLowerBound(Observations obs)
Calculates the lower bound of the confidence interval (95%)
of conditional min-entropy from a given chanel.
|
static double |
Estimate.getCondMinEntropyUpperBound(Observations obs)
Calculates the upper bound of the confidence interval (95%)
of conditional min-entropy from a given chanel.
|
static double |
Estimate.getCorrectedCapacity(Observations obs)
Calculates the corrected channel capacity from given observations.
|
static double |
Estimate.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 |
Estimate.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 |
Estimate.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 |
Estimate.getCorrectedMutualInformation(Observations obs)
Calculates the corrected mutual information from given observations.
|
static double |
Estimate.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 |
Estimate.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 |
Estimate.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 |
Estimate.getCorrectedMutualInformationWithKnownPrior(Observations obs,
ProbDist pd) |
static double[] |
Estimate.getInputDistYieldingCapacity(Observations obs)
Calculates the input distribution that gives the channel capacity.
|
static double |
Estimate.getMinCapacity(Observations obs)
Calculates the min-capacity leakage from given observations.
|
static double |
Estimate.getMinEntropyLeak(Observations obs)
Calculates the min-entropy leakage from given observations.
|
static double |
Estimate.getMinEntropyLeakLowerBound(Observations obs)
Calculates the lower bound of the confidence interval (95%)
of min-entropy leakage from a given chanel.
|
static double |
Estimate.getMinEntropyLeakUpperBound(Observations obs)
Calculates the upper bound of the confidence interval (95%)
of min-entropy leakage from a given chanel.
|
static double |
Estimate.getMutualInformation(Observations obs)
Calculates the mutual information from given observations.
|
static double |
Estimate.getOldCorrectedMIConfidenceIntervalUnderKnownPrior(Observations obs,
ProbDist pd)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMILowerBoundUnderKnownPrior(Observations obs,
ProbDist pd)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMIUpperBoundUnderKnownPrior(Observations obs,
ProbDist pd)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMutualInformation(Observations obs)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMutualInformationConfidenceInterval(Observations obs)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMutualInformationLowerBound(Observations obs)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMutualInformationUpperBound(Observations obs)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getOldCorrectedMutualInformationWithKnownPrior(Observations obs,
ProbDist pd)
Deprecated.
This method is only for confirming the old implementation and should be replaced with another method.
|
static double |
Estimate.getPossibleErrorOfCapacity(Observations obs)
Calculates the input distribution that gives the channel capacity.
|
static double |
Estimate.getUpperBoundForZeroLeakage(Observations obs)
Calculates the upper bound for zero leakage from given observations.
|
static double |
Estimate.getVariance(Observations obs)
Calculates the variance of the estimated mutual information
from given observations
when the input distribution is also estimated from the sample.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MinEntropy.hasSufficientSamplesForMEL(Observations obs,
int numCells)
Tests whether the sample size recorded in this Observations object
is sufficient for estimating min-entropy leakage.
|
static double[] |
MinEntropy.minConditionalEntropyConfidenceIntervalChiSquare(Observations obs)
Calculates the confidence interval of the estimated conditional min-entropy
using the Chi-square test when the input distribution is also estimated.
|
static double |
MinEntropy.minConditionalEntropyLowerBoundConfidenceIntervalChiSquare(Observations obs)
Calculates the lower bound of the confidence interval of
the estimated conditional min-entropy using the Chi-square
test when the input distribution is also estimated.
|
static double |
MinEntropy.minConditionalEntropyUpperBoundConfidenceIntervalChiSquare(Observations obs)
Calculates the upper bound of the confidence interval of
the estimated conditional min-entropy using the Chi-square
test when the input distribution is also estimated.
|
static double[] |
MinEntropy.minEntropyLeakConfidenceIntervalChiSquare(Observations obs)
Calculates the confidence interval of the estimated min-entropy leakage
using the Chi-square test when the input distribution is also estimated.
|
static double |
MinEntropy.minEntropyLeakLowerBoundConfidenceIntervalChiSquare(Observations obs)
Calculates the lower bound of the confidence interval of
the estimated min-entropy leakage using the Chi-square test
when the input distribution is also estimated.
|
static double |
MinEntropy.minEntropyLeakUpperBoundConfidenceIntervalChiSquare(Observations obs)
Calculates the upper bound of the confidence interval of
the estimated min-entropy leakage using the Chi-square test
when the input distribution is also estimated.
|