Home > other >  Please help debug zerodivisionerror
Please help debug zerodivisionerror

Time:09-26

Run word2vec framework, input code:
P_drop={word: 1 - np. SQRT (threshold/frequency [word]) for word in word_counts} when the zerodivisionerror, according to search the solution: 1. The denominator added a 0.00000001, have not had any effect
2. Build the if or except method, are invalid,
Don't know what a great god have debug the experience, ask for help!
  • Related