Knowledge discovery method for deriving conditional probabilities from large datasets