Package com.bayesserver.analysis
Class AutoInsight
- java.lang.Object
-
- com.bayesserver.analysis.AutoInsight
-
public final class AutoInsight extends Object
Uses comparison queries to automatically derive insight about a target variable from a trained network.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoInsightOutput
calculate(State target, List<Variable> testVariables, Evidence evidence, AutoInsightOptions options)
Uses comparison queries to automatically derive insight about a target variable from a trained network.static AutoInsightOutput
calculate(State target, List<Variable> testVariables, InferenceFactory factory)
Uses comparison queries to automatically derive insight about a target variable from a trained network.static AutoInsightOutput
calculate(State target, List<Variable> testVariables, InferenceFactory factory, Evidence evidence)
Uses comparison queries to automatically derive insight about a target variable from a trained network.static AutoInsightOutput[]
calculate(Variable continuousTarget, List<Interval<Double>> targetIntervals, List<Variable> testVariables, Evidence evidence, AutoInsightOptions options)
Uses comparison queries to automatically derive insight about a target variable from a trained network.
-
-
-
Method Detail
-
calculate
public static AutoInsightOutput calculate(State target, List<Variable> testVariables, InferenceFactory factory) throws InconsistentEvidenceException
Uses comparison queries to automatically derive insight about a target variable from a trained network.- Parameters:
target
- The variable state to derive insight about.testVariables
- The variables that might impact the target.factory
- A factory which can create inference engines. e.g.RelevanceTreeInferenceFactory
.- Returns:
- The automatically derived insight.
- Throws:
InconsistentEvidenceException
-
calculate
public static AutoInsightOutput calculate(State target, List<Variable> testVariables, InferenceFactory factory, Evidence evidence) throws InconsistentEvidenceException
Uses comparison queries to automatically derive insight about a target variable from a trained network.- Parameters:
target
- The variable state of interest to derive insight about.testVariables
- The variables that might impact the target.factory
- A factory which can create inference engines. e.g.RelevanceTreeInferenceFactory
.evidence
- Optional evidence which can be used to condition the insight calculations.- Returns:
- The automatically derived insight.
- Throws:
InconsistentEvidenceException
-
calculate
public static AutoInsightOutput[] calculate(Variable continuousTarget, List<Interval<Double>> targetIntervals, List<Variable> testVariables, Evidence evidence, AutoInsightOptions options) throws InconsistentEvidenceException
Uses comparison queries to automatically derive insight about a target variable from a trained network.- Parameters:
continuousTarget
- The continuous variable to derive insight about.targetIntervals
- The (ordered) intervals of the continuous target to test against.testVariables
- The variables that might impact the target.evidence
- Optional evidence which can be used to condition the insight calculations.options
- Configuration options for the calculations.- Returns:
- The automatically derived insight.
- Throws:
InconsistentEvidenceException
-
calculate
public static AutoInsightOutput calculate(State target, List<Variable> testVariables, Evidence evidence, AutoInsightOptions options) throws InconsistentEvidenceException
Uses comparison queries to automatically derive insight about a target variable from a trained network.- Parameters:
target
- The variable state to derive insight about.testVariables
- The variables that might impact the target.evidence
- Optional evidence which can be used to condition the insight calculations.options
- Configuration options for the calculations. ///- Returns:
- The automatically derived insight.
- Throws:
InconsistentEvidenceException
-
-