Skip to content

Weighted Sum Algorithm to infer BN nodes' NPTs

Notifications You must be signed in to change notification settings

q-rapids/qrapids-WSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Before running the main class TestUtil, modify the following variables:

  1. pathname Path to the DNE file containing the BN in which the WSA will be applied. Example: "C:/Users/Martí/Strategic Indicators Protocol/workshop_productquality.dne";

  2. SInodeName Exact name of the node for which the CPT is going to be inferred. Can be found in the node properties inside Netica Example: "productquality";

  3. weights Weights of the parent nodes of the child node for which the CPT is going to be inferred (SInodeName), quantifying the relative impact of each factor on the child node. The weights must add up to 1 and should be in float format.

The weights have to be ordered in the same way they are ordered in the CPT of the child node (In Netica, right click on child node/Table) Example 1: // BC SS CQ weights[] = {0.68f, 0.24f, 0.08f};

Example 2: // CQ SW float weights[] = {0.3f, 0.7f};

About

Weighted Sum Algorithm to infer BN nodes' NPTs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages