Commit 72fc92c
feat: Enforce right values in y_train to avoid out of index error
np.max(y_train) == len(np.unique(y_train))-1 should be True
Solves #53 and #541 parent 70ddd64 commit 72fc92c
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
314 | 320 | | |
315 | 321 | | |
316 | 322 | | |
| |||
0 commit comments