mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
spacing
Co-Authored-By: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
6030965310
commit
b691536ea9
@ -23,12 +23,8 @@ int main() {
|
||||
double A = 0.01;
|
||||
double B = 0.1;
|
||||
double BgivenA = 0.9;
|
||||
|
||||
double AgivenB = bayes_AgivenB(BgivenA, A, B);
|
||||
|
||||
|
||||
std::cout << "A given B = " << AgivenB << std::endl;
|
||||
std::cout << "B given A = " << bayes_BgivenA(AgivenB, A, B) << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user