liquidFuzz
- 107
- 6
An example of what I try to calculate. In a string matching between two strings the whole strings aren't compared, just a section.
A = The probability of a true hit.
A true hit being:
B = The probability of artifact being correct.
Falls artifact being:
I though I'd use Bayes theorem to calculate the probability, but I'm not sure of how to do it.
P(A|B)\frac{P(B|A)P(A)}{P(B)}
In my example A is much higher than B, would this imply:
P(A|B)\frac{P(≈A)P(A)}{P(B)} ≈ P(A)
A = The probability of a true hit.
A true hit being:
PHP:
|adcbacdcbacd|abacd
|adcbacdcbacd|ab
B = The probability of artifact being correct.
Falls artifact being:
PHP:
|adcbacdcbacd|abacd
|adcbacdcbacd|bca
I though I'd use Bayes theorem to calculate the probability, but I'm not sure of how to do it.
P(A|B)\frac{P(B|A)P(A)}{P(B)}
In my example A is much higher than B, would this imply:
P(A|B)\frac{P(≈A)P(A)}{P(B)} ≈ P(A)