About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
With the Bayesian Network (Bayes Net) node, you can build a
probability model by combining observed and recorded evidence with real-world knowledge to establish
the likelihood of occurrences. The node focuses on Tree Augmented Naïve Bayes (TAN) and Markov
Blanket networks that are primarily used for classification.
Example
node = stream.create("bayesnet", "My node")
node.setPropertyValue("continue_training_existing_model", True)
node.setPropertyValue("structure_type", "MarkovBlanket")
node.setPropertyValue("use_feature_selection", True)
# Expert tab
node.setPropertyValue("mode", "Expert")
node.setPropertyValue("all_probabilities", True)
node.setPropertyValue("independence", "Pearson")
Properties |
Values | Property description |
---|---|---|
|
[field1 ... fieldN] | Bayesian network models use a single target field, and one or more input fields. Continuous fields are automatically binned. See the topic Common modeling node properties for more information. |
|
flag | |
|
|
Select the structure to be used when building the Bayesian network. |
|
flag | |
|
|
Specifies the method used to estimate the conditional probability tables between nodes where the values of the parents are known. |
|
|
|
|
flag | |
|
flag | |
|
|
Specifies the method used to determine whether paired observations on two variables are independent of each other. |
|
number | Specifies the cutoff value for determining independence. |
|
number | Sets the maximal number of conditioning variables to be used for independence testing. |
|
[field1 ... fieldN] | Specifies which fields from the dataset are always to be used when building the Bayesian network.
Note: The target field is always selected.
|
|
number | Specifies the maximum number of input fields to be used in building the Bayesian network. |
|
flag | |
|
flag | |
|
flag | |
|
|
Was the topic helpful?
0/1000