Adapts this Domain according to the evidence entered.
this.adapt = function adapt()
For each discrete node of this Domain (which must be a runtime domain) such that both the node and its source node have experience tables, the conditional probability and experience tables of both nodes are learned/updated, and the tables of the domain node will be identical to those of its source node.
this.adaptClassTablesUsingFractionalUpdate = function adaptClassTablesUsingFractionalUpdate()
This function updates (adapts), for all discrete chance nodes of this Domain, the experience count (retrieval of experience) and the conditional probability distribution (dissemination of experience) for all parent configurations having a valid experience count.
this.adaptClassTablesUsingOnlineEM = function adaptClassTablesUsingOnlineEM()
Add a function call to the Batch queue.
this.add = function add( command //, arg1, arg2, arg3, ..., argN )
Adds the specified range of rows of the data set to this Domain as cases.
this.addCases = function addCases( data, start, count )
Adds a Node as a new parent of this Node.
this.addParent = function addParent( parentNode )
Makes this Node become an input node of its Class.
this.addToInputs = function addToInputs()
Registers this BasicWidget to receive update notifiactions from the HuginWidgetManager.
owner.addToLifecycle = function addToLifecycle()
Makes this Node become an output node of its Class.
this.addToOutputs = function addToOutputs()
Removes “near-zero” probabilities from the clique probability tables.
this.approximate = function approximate( epsilon )
Hook for asynchronously invoking a function on the remote script object.
this.Async = function Async( callback )
Generates a number of sample configurations by invoking Domain.simulate a number of times and for each iteration recording the results of Node.getSampledValue, Node.getSampledState or Node.getSampledUtility for specified Nodes.
this.batchSimulate = function batchSimulate( iterations, nodes )
Returns true if a value has been set for this continuous chance or discete node in case caseindex; otherwise, returns false.
this.caseIsSet = function caseIsSet( caseindex )
Check if evidence on CG nodes has been propagated.
this.cgEvidenceIsPropagated = function cgEvidenceIsPropagated()
Check if CG evidence has been propagated in this JunctionTree.
this.cgEvidenceIsPropagated = function cgEvidenceIsPropagated()
Commits any changes performed on the cache to the underlying Table.
this.commit = function()
Compiles this Domain.
this.compile = function compile()
Removes the zero entries from the clique and separator tables of the junction trees in this Domain.
this.compress = function compress()
Computes predictions for {numberOfTimePoints} time slices beyond the current time window.
this.computeDBNPredictions = function computeDBNPredictions()
Computes Bayes factor data for all (nonempty) subsets of evidence nodes up to the specified maximum size.
this.computeExplanationData = function computeExplanationData( x, Y, y, maxSubsetSize )
Computes “normalized likelihoods” for the specified hypothesis and all (nonempty) subsets of evidence nodes up to the specified maximum size.
this.computeExplanationData2 = function computeExplanationData2( x, maxSubsetSize )
Compute the probability of a given interval for the mixture distribution represented by this Table.
this.computeProbabilityOfInterval = function computeProbabilityOfInterval( x, y )
Computes the constants of the sensitivity functions for the specified output probabilities and all CPT parameters in the network.
this.computeSensitivityData = function computeSensitivityData( nodes, states )
Computes the constants of the sensitivity functions for the specified output probability and all CPT/policy parameters in the network.
this.computeSensitivityData = function computeSensitivityData( state )
Construct a new Bar.
this.constructBar = function constructBar( options )
Construct a new BeliefBar.
this.constructBeliefBar = function constructBeliefBar( node, state, options )
Construct a new BeliefLabel.
this.constructBeliefLabel = function constructBeliefLabel( node, state, options )
Construct a new BlockChart.
this.constructBlockChart = function constructBlockChart( options )
Construct a new ButtonInitialize.
this.constructButtonInitialize = function constructButtonInitialize( options )
Construct a new ButtonInput.
this.constructButtonInput = function constructButtonInput( options )
Construct a new ButtonPropagate.
this.constructButtonPropagate = function constructButtonPropagate( options )
Construct a new ColumnChart.
this.constructColumnChart = function constructColumnChart( options )
Construct a new ContinuousNodeTextInput.
this.constructContinuousNodeTextInput = function constructContinuousNodeTextInput( node, options )
Construct a new ExpectedUtilityLabel.
this.constructDiscreteExpectedUtilityLabel = function constructDiscreteExpectedUtilityLabel( discreteNode, state, options )
Construct a new ExpectedUtilityLabel.
this.constructExpectedUtilityLabel = function constructExpectedUtilityLabel( utilityNodeOrDomain, options )
Construct a new FunctionValueLabel.
this.constructFunctionValueLabel = function constructFunctionValueLabel( functionNode, options )
Construct a new HistogramBar.
this.constructHistogramBar = function constructHistogramBar( options )
Construct a new ImageLabel.
this.constructImageLabel = function constructImageLabel( options )
Construct a new LikelihoodTextInput.
this.constructLikelihoodTextInput = function constructLikelihoodTextInput( node, state, options )
Construct a new LineColumnChart.
this.constructLineColumnChart = function constructLineColumnChart( options )
Construct a new NumericNodeTextInput.
this.constructNumericNodeTextInput = function constructNumericNodeTextInput( node, options )
Construct a new OverlayPrimitives.
this.constructOverlayPrimitives = function constructOverlayPrimitives( options )
Construct a new PieChart.
this.constructPieChart = function constructPieChart( options )
Construct a new SelectOption.
this.constructSelectOption = function constructSelectOption( options )
Construct a new StateSelectOption.
this.constructStateSelectOption = function constructStateSelectOption( node, options )
Construct a new TableDataItemLabel.
this.constructTableDataItemLabel = function constructTableDataItemLabel( table, index, options )
Construct a new TableDataItemTextInput.
this.constructTableDataItemTextInput = function constructTableDataItemTextInput( table, index, options )
Construct a new TemporalBeliefBar.
this.constructTemporalBeliefBar = function constructBeliefBar( node, state, count, options )
Construct a new TextInput.
this.constructTextInput = function constructTextInput( options )
Construct a new TextLabel.
this.constructTextLabel = function constructTextLabel( options )
Creates a DBN runtime Domain from this Class.
this.createDBNDomain = function createDBNDomain( numberOfSlices )
Creates a flat runtime Domain from this Class.
this.createDomain = function createDomain()
Create a new TableCache for use in widgets that support editing and displaying node table data.
this.createTableCache = function createTableCache( table )
Constructs a temporal clone of this Node.
this.createTemporalClone = function createTemporalClone()