-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mathematical correctness of prediction and the mean #17
Comments
Hey there!! You're right. It looks like this repo is not the final code that I submitted for my class assignment. I have lost the original files from my Uni cluster. Do you have a pull request for this? |
Hi there! |
Hey @reachsumit , I could do that but not in a couple of weeks at least. @fadili97 That's not a good idea I believe. |
Firstly there are only 7 cases in your
predict.py
where I believe you are trying to augment the input image (4 rotations states and two flip states). Shouldn't it be 8 cases?Next, when taking the average, you have recursively taken average of the current result with the result of previous average? In doing so, doesn't it give more weight to the latest prediction?
For example say we have to take the average of three results which are a, b and c (In your case, you should have 8 results, though you have 7 only).
The average result should be :
(a+b+c)/3
whereas you are doing:
[ (a+b)/2 + c ] / 2,
i.e. (a+b+2c)/4.
Which is not the same as (a+b+c)/3.
What am I missing here?
The text was updated successfully, but these errors were encountered: