Uses of Class
com.bayesserver.Variable
-
-
Uses of Variable in com.bayesserver
Methods in com.bayesserver that return Variable Modifier and Type Method Description VariableVariable. copy()Copies this instance.VariableNetworkVariableCollection. get(int index)Gets theVariableobject at the specified index.VariableNetworkVariableCollection. get(String name)Performs a case sensitive lookup.VariableNetworkVariableCollection. get(String name, boolean throwIfNotFound)Performs a case sensitive lookup.VariableNodeVariableCollection. get(int index)Gets theVariableobject at the specified index.VariableNodeVariableCollection. get(String name)Performs a case sensitive lookup.VariableNodeVariableCollection. get(String name, boolean throwIfNotFound)Performs a case sensitive lookup.VariableDecomposeOutput. getDecomposedVariable(Variable networkVariable)Maps a variable in the original network to the equivalent variable in the decomposed network.VariableDecomposeOutput. getOriginalVariable(Variable decomposedVariable)Maps a variable in the decomposed network to the equivalent variable in the original network.VariableFunctionVariableExpression. getOwner()Gets the current owner, if assigned to a variable.VariableQueryExpression. getOwner()Gets the current owner, if assigned to a variable.VariableUnrollOutput. getUnrolledVariable(Variable dbnVariable, Integer time)Maps between a variable in the original Dynamic Bayesian network, and the corresponding variable in the unrolled network.VariableState. getVariable()Gets theVariablethe state belongs to, if any.VariableStateCollection. getVariable()Gets theVariablethis collection belongs to.VariableUnrollOutput.VariableTime. getVariable()Gets the variable.VariableVariableContext. getVariable()Gets the variable.VariableNodeVariableCollection. remove(int index)Removes an element from the collection at the specified index.VariableNetworkVariableCollection. set(int index, Variable value)Gets theVariableobject at the specified index.VariableNodeVariableCollection. set(int index, Variable value)Sets theVariableobject at the specified index.Methods in com.bayesserver with parameters of type Variable Modifier and Type Method Description voidNodeVariableCollection. add(int index, Variable item)Inserts an element into the collection at the specified index.intVariable. compareTo(Variable other)booleanVariableContextCollection. contains(Variable variable)Determines whether aVariableis in the collection.booleanVariableContextCollection. contains(Variable variable, Integer time)Determines whether aVariableis in the collection at the specified [time].doubleCLGaussian. getCovariance(Variable continuousHeadA, Variable continuousHeadB)Gets the covariance of a Gaussian distribution with no discrete variables between [continuousHeadA] and [continuousHeadB].doubleCLGaussian. getCovariance(Variable continuousHeadA, Variable continuousHeadB, State... discrete)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).doubleCLGaussian. getCovariance(Variable continuousHeadA, Variable continuousHeadB, StateContext... discrete)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).doubleCLGaussian. getCovariance(Variable continuousHeadA, Variable continuousHeadB, TableIterator iterator)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).doubleCLGaussian. getCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB)Gets the covariance of a Gaussian distribution with no discrete variables between [continuousHeadA] and [continuousHeadB].doubleCLGaussian. getCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, State... discrete)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).doubleCLGaussian. getCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, StateContext... discrete)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).doubleCLGaussian. getCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, TableIterator iterator)Gets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).UnrollOutput.VariableTimeUnrollOutput. getDbnVariable(Variable unrolledVariable)Maps from a variable in the unrolled network to the corresponding variable in the original Dynamic Bayesian network.VariableDecomposeOutput. getDecomposedVariable(Variable networkVariable)Maps a variable in the original network to the equivalent variable in the decomposed network.doubleCLGaussian. getMean(Variable continuousHead)Gets the mean value of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.doubleCLGaussian. getMean(Variable continuousHead, State... discrete)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.doubleCLGaussian. getMean(Variable continuousHead, StateContext... discrete)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.doubleCLGaussian. getMean(Variable continuousHead, TableIterator iterator)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the discrete combination.doubleCLGaussian. getMean(Variable continuousHead, Integer time)Gets the mean value of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable and time.doubleCLGaussian. getMean(Variable continuousHead, Integer time, State... discrete)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.doubleCLGaussian. getMean(Variable continuousHead, Integer time, StateContext... discrete)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.doubleCLGaussian. getMean(Variable continuousHead, Integer time, TableIterator iterator)Gets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the discrete combination.VariableDecomposeOutput. getOriginalVariable(Variable decomposedVariable)Maps a variable in the decomposed network to the equivalent variable in the original network.VariableUnrollOutput. getUnrolledVariable(Variable dbnVariable, Integer time)Maps between a variable in the original Dynamic Bayesian network, and the corresponding variable in the unrolled network.doubleCLGaussian. getVariance(Variable continuousHead)Gets the variance of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.doubleCLGaussian. getVariance(Variable continuousHead, State... discrete)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getVariance(Variable continuousHead, StateContext... discrete)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getVariance(Variable continuousHead, TableIterator iterator)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getVariance(Variable continuousHead, Integer time)Gets the variance of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.doubleCLGaussian. getVariance(Variable continuousHead, Integer time, State... discrete)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getVariance(Variable continuousHead, Integer time, StateContext... discrete)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getVariance(Variable continuousHead, Integer time, TableIterator iterator)Gets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Variable continuousTail)Gets the weight/regression coefficient of a Gaussian distribution with no discrete variables between the [continuousTail] and [continuousHead].doubleCLGaussian. getWeight(Variable continuousHead, Variable continuousTail, State... discrete)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Variable continuousTail, StateContext... discrete)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Variable continuousTail, TableIterator iterator)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail)Gets the weight/regression coefficient of a Gaussian distribution with no discrete variables between the [continuousTail] and [continuousHead].doubleCLGaussian. getWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, State... discrete)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, StateContext... discrete)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).doubleCLGaussian. getWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, TableIterator iterator)Gets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).intVariableContextCollection. indexOf(Variable item)Determines the index of a specificVariablein the collection.intVariableContextCollection. indexOf(Variable variable, Integer time)Determines the index of a specificVariablein the collection at the specified [time].CLGaussianCLGaussian. instantiate(Variable variable, double value)Calculates the distribution which results from instantiating a particular variable.CLGaussianCLGaussian. instantiate(Variable variable, double value, Integer time)Calculates the distribution which results from instantiating a particular variable at a specified time.CLGaussianCLGaussian. instantiateHead(Variable variable, double value, Integer time)Calculates the distribution which results from instantiating a particular continuous head variable at a specified time.CLGaussianCLGaussian. instantiateHead(Variable variable, double value, Integer time, double[] logPdf)Calculates the distribution which results from instantiating a particular continuous head variable at a specified time.booleanNodeVariableCollection. remove(Variable item)Removes theVariablefrom the collection.VariableNetworkVariableCollection. set(int index, Variable value)Gets theVariableobject at the specified index.VariableNodeVariableCollection. set(int index, Variable value)Sets theVariableobject at the specified index.voidCLGaussian. setCovariance(Variable continuousHeadA, Variable continuousHeadB, double value)Sets the covariance of a Gaussian distribution with no discrete variables between [continuousHeadA] and [continuousHeadB]voidCLGaussian. setCovariance(Variable continuousHeadA, Variable continuousHeadB, double value, State... discrete)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setCovariance(Variable continuousHeadA, Variable continuousHeadB, double value, StateContext... discrete)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setCovariance(Variable continuousHeadA, Variable continuousHeadB, double value, TableIterator iterator)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, double value)Sets the covariance of a Gaussian distribution with no discrete variables between [continuousHeadA] and [continuousHeadB]voidCLGaussian. setCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, double value, State... discrete)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, double value, StateContext... discrete)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setCovariance(Variable continuousHeadA, Integer timeA, Variable continuousHeadB, Integer timeB, double value, TableIterator iterator)Sets the covariance of the Gaussian distribution between [continuousHeadA] and [continuousHeadB] for a particular discrete combination (mixture).voidCLGaussian. setMean(Variable continuousHead, double value)Sets the mean value of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.voidCLGaussian. setMean(Variable continuousHead, double value, State... discrete)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.voidCLGaussian. setMean(Variable continuousHead, double value, StateContext... discrete)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.voidCLGaussian. setMean(Variable continuousHead, double value, TableIterator iterator)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the discrete combination.voidCLGaussian. setMean(Variable continuousHead, Integer time, double value)Sets the mean value of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.voidCLGaussian. setMean(Variable continuousHead, Integer time, double value, State... discrete)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.voidCLGaussian. setMean(Variable continuousHead, Integer time, double value, StateContext... discrete)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the [discrete] combination.voidCLGaussian. setMean(Variable continuousHead, Integer time, double value, TableIterator iterator)Sets the mean value of the Gaussian distribution for the specified [continuousHead] variable for the discrete combination.voidCLGaussian. setVariance(Variable continuousHead, double value)Sets the variance of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.voidCLGaussian. setVariance(Variable continuousHead, double value, State... discrete)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setVariance(Variable continuousHead, double value, StateContext... discrete)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setVariance(Variable continuousHead, double value, TableIterator iterator)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setVariance(Variable continuousHead, Integer time, double value)Sets the variance of a Gaussian distribution with no discrete variables for the specified [continuousHead] variable.voidCLGaussian. setVariance(Variable continuousHead, Integer time, double value, State... discrete)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setVariance(Variable continuousHead, Integer time, double value, StateContext... discrete)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setVariance(Variable continuousHead, Integer time, double value, TableIterator iterator)Sets the variance of the Gaussian distribution for the specified [continuousHead] variable for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Variable continuousTail, double value)Sets the weight/regression coefficient of a Gaussian distribution with no discrete variables between the [continuousTail] and [continuousHead].voidCLGaussian. setWeight(Variable continuousHead, Variable continuousTail, double value, State... discrete)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Variable continuousTail, double value, StateContext... discrete)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Variable continuousTail, double value, TableIterator iterator)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, double value)Sets the weight/regression coefficient of a Gaussian distribution with no discrete variables between the [continuousTail] and [continuousHead].voidCLGaussian. setWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, double value, State... discrete)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, double value, StateContext... discrete)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidCLGaussian. setWeight(Variable continuousHead, Integer timeHead, Variable continuousTail, Integer timeTail, double value, TableIterator iterator)Sets the weight/regression coefficient of the Gaussian distribution between the [continuousTail] and [continuousHead] for a particular discrete combination (mixture).voidNetworkMonitor. statesCollectionChange(Variable variable, int index, State add, State remove, CollectionAction action, boolean complete)For internal use.voidNetworkMonitor. variableCollectionChange(int index, Variable add, Variable remove, CollectionAction action, boolean complete)For internal use.Method parameters in com.bayesserver with type arguments of type Variable Modifier and Type Method Description booleanVariableContextCollection. containsAll(List<Variable> items)Determines whether all [items] are matched in the collection.booleanVariableContextCollection. containsAll(List<Variable> items, List<Integer> times)Determines whether all [items] are matched in the collection.booleanVariableContextCollection. containsAny(List<Variable> items, List<Integer> times)Determines whether any [items] are matched in the collection.Constructors in com.bayesserver with parameters of type Variable Constructor Description CLGaussian(Variable variable)Initializes a new instance of theCLGaussianclass with a single variable.CLGaussian(Variable[] variables)Initializes a new instance of theCLGaussianclass with the specified variables.CLGaussian(Variable variable, Integer time)Initializes a new instance of theCLGaussianclass with a single variable at the specified time.Node(Variable variable)Node(String name, Variable... variables)Initializes a new instance of theNodeclass with a specified name and a number of variables.Table(Variable variable)Table(Variable... variables)Initializes a new instance of theTableclass with the specified variables.Table(Variable variable, Integer time)TableAccessor(Table table, Variable[] order)Initializes a new instance of theTableAccessorclass, allowing random access to [table] with a specified [order] for the variables.TableAccessor(Table table, Variable[] order, Integer[] times)Initializes a new instance of theTableAccessorclass, allowing random access to [table] with a specified [order] for the variables at specified times.TableIterator(Table table, Variable[] order)Initializes a new instance of theTableIteratorclass, allowing sequential access to [table] with a specified [order] for the variables.TableIterator(Table table, Variable[] order, Integer[] times)Initializes a new instance of theTableIteratorclass, allowing sequential access to [table] with a specified [order] for the variables at specified times.VariableContext(Variable variable)Initializes a new instance of theVariableContextclass.VariableContext(Variable variable, HeadTail headTail)Initializes a new instance of theVariableContextclass.VariableContext(Variable variable, Integer time)Initializes a new instance of theVariableContextclass.VariableContext(Variable variable, Integer time, HeadTail headTail)Initializes a new instance of theVariableContextclass.Constructor parameters in com.bayesserver with type arguments of type Variable Constructor Description CLGaussian(List<Variable> variables, Integer time)Initializes a new instance of theCLGaussianclass with the specified variables at a particular time.CLGaussian(List<Variable> variables, Integer time, HeadTail headTail)Initializes a new instance of theCLGaussianclass with the specified variables.Node(String name, List<Variable> variables)Initializes a new instance of theNodeclass with a specified name and a number of variables.Table(List<Variable> variables, Integer time)Initializes a new instance of theTableclass with the specified variables, at an optional time.Table(List<Variable> variables, Integer time, HeadTail headTail)Initializes a new instance of theTableclass with the specified variables, at an optional time.TableAccessor(Table table, List<Variable> order, List<Integer> times)Initializes a new instance of theTableAccessorclass, allowing random access to [table] with a specified [order] for the variables at specified times.TableIterator(Table table, List<Variable> order, List<Integer> times)Initializes a new instance of theTableIteratorclass, allowing sequential access to [table] with a specified [order] for the variables at specified times.VariableMap(VariableContextCollection sortedVariables, List<Variable> order, List<Integer> times)Initializes a new instance of theVariableMapclass. -
Uses of Variable in com.bayesserver.analysis
Methods in com.bayesserver.analysis that return Variable Modifier and Type Method Description VariableAutoInsightVariableOutput. getVariable()Gets the test variable.Methods in com.bayesserver.analysis with parameters of type Variable Modifier and Type Method Description static AutoInsightOutput[]AutoInsight. 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.static ImpactOutputImpact. calculate(Network network, Variable hypothesisVariable, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis state and its variable.static ImpactOutputImpact. calculate(Network network, Variable hypothesisVariable, State hypothesisState, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis state and its variable.static ValueOfInformationOutputValueOfInformation. calculate(Variable hypothesis, List<Variable> testVariables, Evidence evidence, InferenceFactory factory, ValueOfInformationOptions options)Calculates value of information, which can be used to determine which variables are most likely to reduce the uncertainty of a particular variable.static ClusterCountOutputClusterCount. detect(Network network, Variable cluster, List<Integer> clusterCounts, ClusterCountActions actions, ClusterCountOptions options)Determine the number of clusters (discrete states of a latent variable) using cross validation.Method parameters in com.bayesserver.analysis with type arguments of type Variable Modifier and Type Method Description static AutoInsightOutputAutoInsight. 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 AutoInsightOutputAutoInsight. calculate(State target, List<Variable> testVariables, InferenceFactory factory)Uses comparison queries to automatically derive insight about a target variable from a trained network.static AutoInsightOutputAutoInsight. 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 ImpactOutputImpact. calculate(Network network, Distribution hypothesisQuery, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on the resulting probability distribution of a hypothesis variable.static ImpactOutputImpact. calculate(Network network, Distribution hypothesisQuery, StateContext[] hypothesisCombination, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis query and discrete combination of that hypothesis query.static ImpactOutputImpact. calculate(Network network, Variable hypothesisVariable, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis state and its variable.static ImpactOutputImpact. calculate(Network network, Variable hypothesisVariable, State hypothesisState, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis state and its variable.static LogLikelihoodAnalysisOutputLogLikelihoodAnalysis. calculate(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisOptions options)Analyzes the log-likelihood based on subsets of evidence.static ValueOfInformationOutputValueOfInformation. calculate(Variable hypothesis, List<Variable> testVariables, Evidence evidence, InferenceFactory factory, ValueOfInformationOptions options)Calculates value of information, which can be used to determine which variables are most likely to reduce the uncertainty of a particular variable.static ImpactHypothesisOutputImpact. calculateStreamed(Network network, Distribution hypothesisQuery, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactAction outputItem, ImpactOptions options)Analyzes the impact of sets of evidence on the resulting probability distribution of a hypothesis variable.static ImpactHypothesisOutputImpact. calculateStreamed(Network network, Distribution hypothesisQuery, StateContext[] hypothesisState, Evidence evidence, List<Variable> evidenceToAnalyse, ImpactAction outputItem, ImpactOptions options)Analyzes the impact of sets of evidence on a hypothesis query and discrete combination of that hypothesis query.static LogLikelihoodAnalysisBaselineOutputLogLikelihoodAnalysis. calculateStreamed(Network network, Evidence evidence, List<Variable> evidenceToAnalyse, LogLikelihoodAnalysisAction outputItem, LogLikelihoodAnalysisOptions options)Analyzes the log-likelihood based on subsets of evidence.static voidCombinations. enumerate(List<Variable> variables, CombinationAction combinationAction, CombinationOptions options)Enumerates the state combinations for a set of variables.Constructors in com.bayesserver.analysis with parameters of type Variable Constructor Description AssociationPair(Variable x, Variable y)Initializes a new instance of theAssociationPairclass with individual variables. -
Uses of Variable in com.bayesserver.causal
Methods in com.bayesserver.causal that return Variable Modifier and Type Method Description VariableEffectsAnalysisOutput. getOutcome()Gets the outome (target) variable on which effects are being measured.VariableEffectsAnalysisOutput. getTreatment()Gets the treatment variable which is being varied.VariableEffectsAnalysisOutputItem. getTreatmentVariable()Gets the treatment variable used to measure the causal effect on the treatment.Methods in com.bayesserver.causal with parameters of type Variable Modifier and Type Method Description static EffectsAnalysisOutputEffectsAnalysis. calculate(Variable treatment, Variable outcome, CausalEffectKind effect, Evidence fixedEvidence, InferenceFactory factory, EffectsAnalysisOptions options)Calculate the causal effect on a target, varying for different treatment values.Method parameters in com.bayesserver.causal with type arguments of type Variable Modifier and Type Method Description static voidAbduction. update(Evidence evidence, List<Variable> abductionEvidenceVariables, List<Variable> characteristicVariables, AbductionOptions options)Performs abduction which is one of the steps in 'counterfactual analysis'. -
Uses of Variable in com.bayesserver.data
Methods in com.bayesserver.data that return Variable Modifier and Type Method Description VariableVariableReference. getVariable()Gets the variable.Methods in com.bayesserver.data with parameters of type Variable Modifier and Type Method Description VariableReferenceVariableReference. copy(Variable newVariable)Creates a copy of this instance, but based on a different variable.Constructors in com.bayesserver.data with parameters of type Variable Constructor Description VariableReference(Variable variable, ColumnValueType columnValueType, String column)Initializes a new instance of theVariableReferenceclass.VariableReference(Variable variable, ColumnValueType columnValueType, String column, StateNotFoundAction stateNotFoundAction)Initializes a new instance of theVariableReferenceclass.VariableReference(Variable variable, ColumnValueType columnValueType, String column, StateNotFoundAction stateNotFoundAction, EmptyStringAction emptyStringAction)Initializes a new instance of theVariableReferenceclass.VariableReference(Variable variable, ColumnValueType columnValueType, String column, StateNotFoundAction stateNotFoundAction, EmptyStringAction emptyStringAction, String interventionColumn)Initializes a new instance of theVariableReferenceclass. -
Uses of Variable in com.bayesserver.data.discovery
Methods in com.bayesserver.data.discovery that return Variable Modifier and Type Method Description VariableVariableInfo. getVariable()Gets the generatedVariable. -
Uses of Variable in com.bayesserver.data.sampling
Methods in com.bayesserver.data.sampling that return Variable Modifier and Type Method Description VariableExcludedVariables. get(int index)VariableExcludedVariables. remove(int index)VariableExcludedVariables. set(int index, Variable item)Methods in com.bayesserver.data.sampling with parameters of type Variable Modifier and Type Method Description voidExcludedVariables. add(int index, Variable element)VariableExcludedVariables. set(int index, Variable item) -
Uses of Variable in com.bayesserver.inference
Methods in com.bayesserver.inference that return Variable Modifier and Type Method Description VariableQueryFunctionOutput. getVariable()The function variable to evaluate.Methods in com.bayesserver.inference with parameters of type Variable Modifier and Type Method Description voidDefaultEvidence. clear(Variable variable)Clears any evidence on a variable.voidDefaultEvidence. clear(Variable variable, Integer time)Clears evidence on a variable at the specified time.voidEvidence. clear(Variable variable)Clears evidence on a variable.voidEvidence. clear(Variable variable, Integer time)Clears evidence on a variable at the specified time.voidDefaultEvidence. copy(Evidence evidence, Variable variable)Replaces the current evidence for an individual variable, with that from anotherEvidenceinstance.voidDefaultEvidence. copy(Evidence evidence, Variable variable, Integer time)Replaces the current evidence for an individual variable at a specific time, with that from anotherEvidenceinstance.voidEvidence. copy(Evidence evidence, Variable variable)Replaces the current evidence for an individual variable, with that from anotherEvidenceinstance.voidEvidence. copy(Evidence evidence, Variable variable, Integer time)Replaces the current evidence for an individual variable at a specific time, with that from anotherEvidenceinstance.DoubleDefaultEvidence. get(Variable variable)Gets the hard evidence for a discrete variable or continuous variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.voidDefaultEvidence. get(Variable variable, Double[] destination, int destinationStart, int startTime, int count)Gets the evidence for a temporal variable.DoubleDefaultEvidence. get(Variable variable, Integer time)Gets the evidence for a discrete variable at the specified time.DoubleEvidence. get(Variable variable)Gets the hard evidence for a discrete variable or continuous variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.voidEvidence. get(Variable variable, Double[] destination, int destinationStart, int startTime, int count)Gets the evidence for a temporal variable.DoubleEvidence. get(Variable variable, Integer time)Gets the evidence for a discrete variable at the specified time.EvidenceTypeDefaultEvidence. getEvidenceType(Variable variable)Returns the type of evidence currently set for a variable (if any).EvidenceTypeDefaultEvidence. getEvidenceType(Variable variable, Integer time)Returns the type of evidence currently set for a variable at a given time.EvidenceTypeEvidence. getEvidenceType(Variable variable)Returns the type of evidence currently set for a variable (if any).EvidenceTypeEvidence. getEvidenceType(Variable variable, Integer time)Returns the type of evidence currently set for a variable at a given time.EvidenceTypesDefaultEvidence. getEvidenceTypes(Variable variable)Gets the type of evidence (if any) and whether or not it is an intervention (do-operator).EvidenceTypesDefaultEvidence. getEvidenceTypes(Variable variable, Integer time)Gets the type of evidence (if any) and whether or not it is an intervention (do-operator).EvidenceTypesEvidence. getEvidenceTypes(Variable variable)Gets the type of evidence (if any) and whether or not it is an intervention (do-operator).EvidenceTypesEvidence. getEvidenceTypes(Variable variable, Integer time)Gets the type of evidence (if any) and whether or not it is an intervention (do-operator).IntegerDefaultEvidence. getMaxTime(Variable variable)Gets the maximum time containing evidence for a variable.IntegerEvidence. getMaxTime(Variable variable)Gets the maximum time containing evidence for a variable.IntegerDefaultEvidence. getState(Variable variable)Gets the hard evidence state for a particular variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.IntegerDefaultEvidence. getState(Variable variable, Integer time)Gets the hard evidence state for a particular variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.IntegerEvidence. getState(Variable variable)Gets the hard evidence state for a particular variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.IntegerEvidence. getState(Variable variable, Integer time)Gets the hard evidence state for a particular variable, or returns null if theEvidenceTypeequalsEvidenceType.NONEorEvidenceType.SOFT.voidDefaultEvidence. getStates(Variable variable, double[] buffer)Fills out a buffer containing the soft evidence for a particular variable.voidDefaultEvidence. getStates(Variable variable, double[] buffer, Integer time)Fills out a buffer containing the soft evidence for a particular variable at a specified time.voidEvidence. getStates(Variable variable, double[] buffer)Fills out a buffer containing the soft evidence for a particular variable.voidEvidence. getStates(Variable variable, double[] buffer, Integer time)Fills out a buffer containing the soft evidence for a particular variable at a specified time.voidDefaultEvidence. getVariables(Variable[] buffer)Fills out a buffer with all variables that have either hard or soft evidence.voidEvidence. getVariables(Variable[] buffer)Fills out a buffer with all variables that have either hard or soft evidence.voidDefaultEvidence. set(Variable variable, Double value)Sets a variable to a particular value (hard evidence).voidDefaultEvidence. set(Variable variable, Double[] source, int sourceStart, int startTime, int count)Sets temporal evidence on a variable.voidDefaultEvidence. set(Variable variable, Double value, Integer time)Sets evidence on a variable at a specified time.voidDefaultEvidence. set(Variable variable, Double value, Integer time, InterventionType interventionType)Sets evidence on the variable, in the form of an intervention (do-operator).voidEvidence. set(Variable variable, Double value)Sets a variable to a particular value (hard evidence).voidEvidence. set(Variable variable, Double[] source, int sourceStart, int startTime, int count)Sets temporal evidence on a variable.voidEvidence. set(Variable variable, Double value, Integer time)Sets evidence on a variable at a specified time.voidEvidence. set(Variable variable, Double value, Integer time, InterventionType interventionType)Sets evidence on the variable, in the form of an intervention (do-operator).voidDefaultEvidence. setState(Variable variable, Integer state)Sets a discrete variable to a particular state (hard evidence).voidDefaultEvidence. setState(Variable variable, Integer state, Integer time)Sets a discrete variable to a particular state (hard evidence), specifiying a time if the state belongs to a variable whose node is temporal.voidEvidence. setState(Variable variable, Integer state)Sets a discrete variable to a particular state (hard evidence).voidEvidence. setState(Variable variable, Integer state, Integer time)Sets a discrete variable to a particular state (hard evidence), specifiying a time if the state belongs to a variable whose node is temporal.voidDefaultEvidence. setStates(Variable variable, double[] values)Sets soft evidence for a particular discrete variable.voidDefaultEvidence. setStates(Variable variable, double[] values, Integer time)Sets soft evidence for a particular discrete variable at a specified time.voidEvidence. setStates(Variable variable, double[] values)Sets soft evidence for a particular discrete variable.voidEvidence. setStates(Variable variable, double[] values, Integer time)Sets soft evidence for a particular discrete variable at a specified time.Constructors in com.bayesserver.inference with parameters of type Variable Constructor Description QueryFunctionOutput(Variable variable)Initializes a new instance of thecom.bayesserver.QueryFunctionOutputclass. -
Uses of Variable in com.bayesserver.learning.structure
Methods in com.bayesserver.learning.structure that return Variable Modifier and Type Method Description VariableFeatureSelectionTest. getTarget()Gets the variable that was the target of the feature selection test.VariableFeatureSelectionTest. getVariable()Gets the variable which was tested to see if it is likely to be a feature of theFeatureSelectionTest.getTarget()variable.Methods in com.bayesserver.learning.structure with parameters of type Variable Modifier and Type Method Description static FeatureSelectionOutputFeatureSelection. detect(List<Variable> variables, EvidenceReaderCommand evidenceReaderCommand, Variable target, FeatureSelectionOptions options)Determines which variables are likely to be good features (predictors) of a target variable.Method parameters in com.bayesserver.learning.structure with type arguments of type Variable Modifier and Type Method Description static FeatureSelectionOutputFeatureSelection. detect(List<Variable> variables, EvidenceReaderCommand evidenceReaderCommand, Variable target, FeatureSelectionOptions options)Determines which variables are likely to be good features (predictors) of a target variable. -
Uses of Variable in com.bayesserver.optimization
Methods in com.bayesserver.optimization that return Variable Modifier and Type Method Description VariableDesignVariable. getVariable()Gets the variable these options refer to.VariableObjective. getVariable()Gets the variable being optimized.Constructors in com.bayesserver.optimization with parameters of type Variable Constructor Description DesignVariable(Variable variable, Double lowerBound, Double upperBound, boolean allowMissing)Initializes a new instance of thecom.bayesserver.optization.DesignVariableclass, automatically generating the necessary design states.DesignVariable(Variable variable, Double lowerBound, Double upperBound, boolean allowMissing, InterventionType interventionType)Initializes a new instance of theDesignVariableclass, automatically generating the necessary design states.DesignVariable(Variable variable, List<DesignState> designStates, boolean allowMissing)Initializes a new instance of theDesignVariableclass.DesignVariable(Variable variable, List<DesignState> designStates, DesignEvidenceKind evidenceKind, boolean allowMissing, InterventionType interventionType)Initializes a new instance of theDesignVariableclass.Objective(Variable variable, ObjectiveKind kind)Initializes a new instance of the {@link com.bayesserver.optimization.objective.} class.Objective(Variable variable, ObjectiveKind kind, Double value)Initializes a new instance of the {@link com.bayesserver.optimization.objective.} class.
-