This is a question from a data mining exam:
You are working with a dataset that contains descriptions of toxic and non-toxic substances.
The dataset, which consists of 1000 examples from each of the two classes, is described in terms of a class label and a number of attributes. The dataset is sorted so that the 1000 toxic examples come first, followed by the 1000 non-toxic examples. Someone tells you that they have confirmed that, for this data set, the conditional probability that is gained from knowledge about a specific attribute X is not different from the prior class probability. Assume that they are correct.
The question is to state whether the following statements are correct or incorrect:
g) For each example, the value of attribute X is sampled from {“true”, “false”} with a uniform distribution. h) For each example, the value of attribute X is sampled from {“true”, “false”} such that the probability of selecting “true” is 0.75, while the probability of selecting “false” is 0.25.
both g and h were solved as correct independently but I find this hard to understand. Can anyone explain?