Commit f8d9dce
authored
Adding small numbers to feature counter
to avoid divide-by-zero, we can add 1e-5 to 'count_for_this' variable.
(or add such condition at the end of the nested for-loop)
if count_for_this == 0:
count_for_this += 1e-51 parent c9b86f9 commit f8d9dce
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments