mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixing grammar
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402926
This commit is contained in:
parent
37870e17af
commit
0b8492bedc
@ -178,19 +178,19 @@ int main()
|
||||
|
||||
sample(0) = 3.123;
|
||||
sample(1) = 2;
|
||||
cout << "This +1 example should have high probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This +1 example should have high probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 3.123;
|
||||
sample(1) = 9.3545;
|
||||
cout << "This +1 example should have high probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This +1 example should have high probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 13.123;
|
||||
sample(1) = 9.3545;
|
||||
cout << "This -1 example should have low probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This -1 example should have low probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 13.123;
|
||||
sample(1) = 0;
|
||||
cout << "This -1 example should have low probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This -1 example should have low probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
|
||||
|
||||
|
@ -184,19 +184,19 @@ int main()
|
||||
|
||||
sample(0) = 3.123;
|
||||
sample(1) = 2;
|
||||
cout << "This +1 example should have high probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This +1 example should have high probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 3.123;
|
||||
sample(1) = 9.3545;
|
||||
cout << "This +1 example should have high probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This +1 example should have high probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 13.123;
|
||||
sample(1) = 9.3545;
|
||||
cout << "This -1 example should have low probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This -1 example should have low probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
sample(0) = 13.123;
|
||||
sample(1) = 0;
|
||||
cout << "This -1 example should have low probability. It's probability is: " << learned_pfunct(sample) << endl;
|
||||
cout << "This -1 example should have low probability. Its probability is: " << learned_pfunct(sample) << endl;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user