public interface Prior
Modifier and Type | Method and Description |
---|---|
void |
logPrior(double[] dist,
int[] context)
Populates the specified array with the the log of the distribution for the specified context.
|
void |
logPrior(double[] dist,
int[] context,
float[] values)
Populates the specified array with the the log of the distribution for the specified context.
|
void |
setLabels(java.lang.String[] outcomeLabels,
java.lang.String[] contextLabels)
Method to specify the label for the outcomes and contexts.
|
void logPrior(double[] dist, int[] context)
dist
- An array to be populated with the log of the prior distribution.context
- The indices of the contextual predicates for an event.void logPrior(double[] dist, int[] context, float[] values)
dist
- An array to be populated with the log of the prior distribution.context
- The indices of the contextual predicates for an event.values
- The values associated with the context.void setLabels(java.lang.String[] outcomeLabels, java.lang.String[] contextLabels)
outcomeLabels
- An array of each outcome label.contextLabels
- An array of each context label.Copyright © 2010 - 2020 Adobe. All Rights Reserved