RAPLER / dst-1

Combine basic probability assignments with Dempster's rule of combination
6 stars 3 forks source link

Empty set among the focal elements. Normalization necessary. See nzdsr function. #5

Closed garyzhubc closed 1 year ago

garyzhubc commented 1 year ago

What does this error mean?

> bel_bpa <- belplau(bpa)
Error in belplau(bpa) : 
  Invalid data: Empty set among the focal elements. Normalization necessary. See nzdsr function.
RAPLER commented 1 year ago

Hi, The error message means that some of the intersections of subsets give the empty set as a result. This is to be expected when you apply Dempster's rule of combination to a great number of distinct subsets. Inevitably, some results will be contradictory. When this is the case, we recalculate the mass values obtained by dividing the mass value of the non-empty subsets by 1 minus the mass of the empty set. This is what the function "nzdsr" do. Function "belplau" can be used on results which do not contain a non-zero mass allocated to the empty set.

Regards,

Claude

Le jeu. 29 déc. 2022 à 11:16, Peiyuan Zhu @.***> a écrit :

What does this error mean?

bel_bpa <- belplau(bpa) Error in belplau(bpa) : Invalid data: Empty set among the focal elements. Normalization necessary. See nzdsr function.

— Reply to this email directly, view it on GitHub https://github.com/RAPLER/dst-1/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5D5IPZCKKFNWLBAEQWGUTWPW2MBANCNFSM6AAAAAATMG7AVA . You are receiving this because you are subscribed to this thread.Message ID: @.***>