Uses of Class
com.bayesserver.Network
-
-
Uses of Network in com.bayesserver
Methods in com.bayesserver that return Network Modifier and Type Method Description NetworkNetwork. copy()Makes a copy of the network.NetworkUnrollOutput. getDbn()Gets the Dynamic Bayesian network before it was unrolled.NetworkDecomposeOutput. getDecomposedNetwork()Gets the network, which is the decomposed equivalent of the original network.NetworkLink. getNetwork()TheNetworkthe link belongs to.NetworkNetworkLinkCollection. getNetwork()Gets theNetworkthe collection belongs to.NetworkNetworkNodeCollection. getNetwork()TheNetworkthe collection belongs to.NetworkNetworkNodeGroupCollection. getNetwork()Gets the network instance that these groups belong to.NetworkNetworkVariableCollection. getNetwork()TheNetworkthe collection belongs to.NetworkNode. getNetwork()TheNetworkthe node belongs to.NetworkDecomposeOutput. getOriginalNetwork()Gets the original network, containing nodes with multiple variables.NetworkUnrollOutput. getUnrolled()Gets the unrolled Dynamic Bayesian network.Methods in com.bayesserver with parameters of type Network Modifier and Type Method Description static DecomposeOutputDecomposer. decompose(Network network, DecomposeOptions options)Decomposes a Bayesian network containing nodes with multiple variables into its single variable node equivalent.static doubleParameterCounter. getParameterCount(Network network)Gets the number of parameters in a Bayesian network.static doubleParameterCounter. getParameterCount(Network network, ParameterCountOptions options)Gets the number of parameters in a Bayesian network.static booleanDag. isDag(Network network)Determines if a network is a Directed Acyclic Graph (DAG).static booleanDag. isDag(Network network, Iterable<Link> ignore, Iterable<Link> extra)Determines if a network is a DAG (Directed Acyclic Graph).static Node[]TopologicalSort. sort(Network network)Returns the nodes in a Bayesian network sorted in topological order.static TopologicalSortNodeInfo[]TopologicalSort. sortWithDepth(Network network)Returns the nodes in a Bayesian network sorted and grouped in topological order.static UnrollOutputUnroller. unroll(Network network, int sliceCount, UnrollOptions options)Unrolls the specified Dynamic Bayesian network into the equivalent Bayesian network. -
Uses of Network in com.bayesserver.analysis
Methods in com.bayesserver.analysis with parameters of type Network Modifier and Type Method Description static DSeparationOutputDSeparation. calculate(Network network, List<Node> sourceNodes, List<Node> testNodes, Evidence evidence, DSeparationOptions options)Calculates whether sets of nodes are D-Separated, given any evidence.static DSeparationOutputDSeparation. calculate(Network network, List<Node> sourceNodes, List<Integer> sourceNodeTimes, List<Node> testNodes, List<Integer> testTimes, Evidence evidence, DSeparationOptions options)Calculates whether sets of nodes are D-Separated, given any evidence, and associated times for any temporal nodes.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 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.EvidenceReaderCommandClusterCountActions. createEvidenceReaderCommand(Network networkCopy, DataPartitioning partitioning)A user supplied function to create an evidence reader command based on a copy of the original network.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.voidClusterCountActions. learn(Network networkCopy, EvidenceReaderCommand evidenceReaderCommand)A user supplied function to learn the paramters of a copy of the original network based on a training partition of the data.static InSampleAnomalyDetectionInSampleAnomalyDetection. learn(Network network, EvidenceReaderCommandFactory evidenceReaderCommandFactory, InSampleAnomalyDetectionActions actions, InSampleAnomalyDetectionOptions options)Build the in-sample anomaly detector, which can be used to remove anomalous data from a training data set.voidInSampleAnomalyDetectionActions. learn(Network networkCopy, EvidenceReaderCommand evidenceReaderCommand)A user supplied function to learn the paramters of a copy of the original network based on a training partition of the data.Constructors in com.bayesserver.analysis with parameters of type Network Constructor Description SensitivityToParameters(Network network, InferenceFactory factory)Initializes a new instance of theSensitivityToParametersclass . -
Uses of Network in com.bayesserver.causal
Methods in com.bayesserver.causal that return Network Modifier and Type Method Description NetworkBackdoorCriterion. getNetwork()The Bayesian network on which the identification is based.NetworkCausalInferenceBase. getNetwork()The target Bayesian network.NetworkDisjunctiveCauseCriterion. getNetwork()The Bayesian network on which the identification is based.NetworkFrontDoorCriterion. getNetwork()The Bayesian network on which the identification is based.NetworkIdentification. getNetwork()The Bayesian network on which the identification is based.Methods in com.bayesserver.causal with parameters of type Network Modifier and Type Method Description static voidBackdoorGraph. convert(Network network, Evidence evidence, Distribution query, BackdoorGraphOptions options)Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).static voidBackdoorGraph. convert(Network network, List<CausalNode> treatments, List<CausalNode> outcomes, BackdoorGraphOptions options)Constructs the Backdoor graph or the proper Backdoor graph from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).static voidIndirectGraph. convert(Network network, Evidence evidence, Distribution query, IndirectGraphOptions options)Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).static voidIndirectGraph. convert(Network network, List<CausalNode> treatments, List<CausalNode> outcomes, IndirectGraphOptions options)Constructs the 'Indirect graph' from a Bayesian network, one of more treatments (X) and one or more outcomes (Y).InferenceBackdoorInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.InferenceDisjunctiveCauseInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.InferenceFrontDoorInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.protected voidCausalInferenceBase. setNetwork(Network value)Constructors in com.bayesserver.causal with parameters of type Network Constructor Description BackdoorCriterion(Network network)Initializes a new instance of theBackdoorCriterionclass.BackdoorInference(Network network)Initializes a new instance of theBackdoorInferenceclass.CausalInferenceBase(Network network, InferenceFactory factory)Initializes a new instance of theCausalInferenceBaseclass.DisjunctiveCauseCriterion(Network network)Initializes a new instance of theDisjunctiveCauseCriterionclass.DisjunctiveCauseInference(Network network)Initializes a new instance of theDisjunctiveCauseInferenceclass.FrontDoorCriterion(Network network)Initializes a new instance of theFrontDoorCriterionclass.FrontDoorInference(Network network)Initializes a new instance of theFrontDoorInferenceclass. -
Uses of Network in com.bayesserver.data
Methods in com.bayesserver.data that return Network Modifier and Type Method Description NetworkCrossValidationNetwork. getNetwork()Gets the network learnt from the cross validation partitioning.NetworkDefaultCrossValidationNetwork. getNetwork()Gets the network learnt from a cross validation partitioning.Methods in com.bayesserver.data with parameters of type Network Modifier and Type Method Description EvidenceReaderCommandDataTableEvidenceReaderCommandFactory. create(Network network)Create an evidence reader command, based on a specific network which may be a copy of the original.EvidenceReaderCommandEvidenceReaderCommandFactory. create(Network network)Create an evidence reader command, based on a specific network which may be a copy of the original.EvidenceReaderCommandDataTableEvidenceReaderCommandFactory. createPartitioned(Network network, DataPartitioning dataPartitioning, int partitionCount)Create an evidence reader command on a partition, based on a specific network which may be a copy of the original.EvidenceReaderCommandEvidenceReaderCommandFactory. createPartitioned(Network network, DataPartitioning dataPartitioning, int partitionCount)Create an evidence reader command on a partition, based on a specific network which may be a copy of the original.voidDefaultCrossValidationNetwork. setNetwork(Network value)Sets the network learnt from a cross validation partitioning.Constructors in com.bayesserver.data with parameters of type Network Constructor Description DefaultCrossValidationNetwork(Network network)Initializes a new instance of theDefaultCrossValidationNetworkclass, with a network. -
Uses of Network in com.bayesserver.data.sampling
Methods in com.bayesserver.data.sampling that return Network Modifier and Type Method Description NetworkDataSampler. getNetwork()Gets the Bayesian network or Dynamic Bayesian network that was used in the constructor.Constructors in com.bayesserver.data.sampling with parameters of type Network Constructor Description DataSampler(Network network)Initializes a new instance of theDataSamplerclass.DataSampler(Network network, Evidence fixedData)Initializes a new instance of theDataSamplerclass. -
Uses of Network in com.bayesserver.inference
Methods in com.bayesserver.inference that return Network Modifier and Type Method Description NetworkDefaultEvidence. getNetwork()Gets the Bayesian network that is the the target of the evidence.NetworkDefaultQueryDistributionCollection. getNetwork()Gets theNetworkthat is the target for aInference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).NetworkDefaultQueryFunctionCollection. getNetwork()Gets theNetworkthat is the target for aInference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).NetworkEvidence. getNetwork()Gets the Bayesian network that is the the target of the evidence.NetworkInference. getNetwork()The target Bayesian network.NetworkLikelihoodSamplingInference. getNetwork()The target Bayesian network.NetworkLoopyBeliefInference. getNetwork()The target Bayesian network.NetworkRelevanceTreeInference. getNetwork()The target Bayesian network.NetworkVariableEliminationInference. getNetwork()The target Bayesian network.Methods in com.bayesserver.inference with parameters of type Network Modifier and Type Method Description InferenceInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.InferenceLikelihoodSamplingInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.InferenceLoopyBeliefInferenceFactory. createInferenceEngine(Network network)Creates an instance of an inference algorithm, with the [network] as it's target.InferenceRelevanceTreeInferenceFactory. createInferenceEngine(Network network)Uses the factory design pattern to create inference related objects for the Relevance Tree algorithm.InferenceVariableEliminationInferenceFactory. createInferenceEngine(Network network)Uses the factory design pattern to create inference related objects for the Variable elimination algorithm.static TreeQueryOutputTreeQuery. query(Network network, QueryDistributionCollection queryDistributions, Evidence evidence, TreeQueryOptions queryOptions)Calculates properties of a Bayesian network or Dynamic Bayesian network when converted to a tree for inference.Constructors in com.bayesserver.inference with parameters of type Network Constructor Description DefaultEvidence(Network network)Initializes a new instance of theDefaultEvidenceclass, with the target Bayesian network.DefaultQueryDistributionCollection(Network network)Initializes a new instance of theDefaultQueryDistributionCollectionclass, passing the target Bayesian network as a parameter.DefaultQueryFunctionCollection(Network network)Initializes a new instance of theDefaultQueryFunctionCollectionclass, passing the target Bayesian network as a parameter.LikelihoodSamplingInference(Network network)Initializes a new instance of theLikelihoodSamplingInferenceclass, with the target Bayesian network.LoopyBeliefInference(Network network)Initializes a new instance of theLoopyBeliefInferenceclass, with the target Bayesian network.RelevanceTreeInference(Network network)Initializes a new instance of theRelevanceTreeInferenceclass, with the target Bayesian network.VariableEliminationInference(Network network)Initializes a new instance of theVariableEliminationInferenceclass, with the target Bayesian network. -
Uses of Network in com.bayesserver.learning.parameters
Methods in com.bayesserver.learning.parameters that return Network Modifier and Type Method Description NetworkDistributedMapperContext. getNetwork()Gets theNetworkthat is being learnt by the distributed process.NetworkParameterLearning. getNetwork()Returns the relevant network.Methods in com.bayesserver.learning.parameters with parameters of type Network Modifier and Type Method Description static ParameterLearningOutputParameterLearning. learnDistributed(Network network, ParameterLearningOptions options, Distributer<DistributerContext> distributer)Learns the parameters of a Bayesian network or Dynamic Bayesian network from data, on a distributed platform.static ParameterLearningOutputParameterLearning. learnDistributed(Network network, List<DistributionSpecification> distributionSpecifications, ParameterLearningOptions options, Distributer<DistributerContext> distributer)Learns the parameters of a Bayesian network or Dynamic Bayesian network from data, on a distributed platform.Constructors in com.bayesserver.learning.parameters with parameters of type Network Constructor Description OnlineLearning(Network network, InferenceFactory factory)Initializes a new instance of theOnlineLearningclass.ParameterLearning(Network network, InferenceFactory factory)Initializes a new instance of theParameterLearningclass. -
Uses of Network in com.bayesserver.optimization
Methods in com.bayesserver.optimization with parameters of type Network Modifier and Type Method Description OptimizerOutputGeneticOptimizer. optimize(Network network, Objective objective, List<DesignVariable> designVariables, Evidence fixedEvidence, OptimizerOptions options)Perform optimization of an objective (target).OptimizerOutputGeneticSimplification. optimize(Network network, Objective objective, List<DesignVariable> designVariables, Evidence fixedEvidence, OptimizerOptions options)Perform optimization of an objective (target).OptimizerOutputOptimizer. optimize(Network network, Objective objective, List<DesignVariable> designVariables, Evidence fixedEvidence, OptimizerOptions options)Perform optimization of an objective (target).
-