Commit df852e0
committed
Fix remaining mypy errors in PCA and logistic regression
- Added None check for explained_variance_ratio_ in PCA
- Added type ignore for bias assignment in logistic regression
- All 4 ML algorithm files now pass mypy checks
- Total: 25 mypy errors fixed across all files1 parent 6af3ea1 commit df852e0
File tree
2 files changed
+3
-2
lines changed- machine_learning
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
0 commit comments