Codechef SPAMCLAS

codechef easy maths

Please help me out with the following. 

https://discuss.codechef.com/questions/126000/wa-for-spam-classification-using-neural-net

Thank you.

shivhek25
Shivam Singhal
shivhek25

Please Log in to answer

Note: Your answer should not be too short. Please wait a few seconds for the editor to load



Please make sure the answer is not too short

1 Answer

preda2or
preda2or 22:43, Apr 23
Shubham Kumar Gupta

Overflow is probably causing WA

consider the case :

minX=pow(10,9)

maxX=pow(10,9)

n=pow(10,5)

all Wi and Bi=pow(10,9)




Please make sure the answer is not too short
1 Upvotes
Comments
No Comments yet