Commit 57a26ae
authored
Store CV results if any (#91)
* Store CV results if any
When using a `GridSearchCV` or equivalent as estimator, it is often useful to have access to CV results. This is of particular importance when having multiple scorers, as otherwise it is not possible to access the other scorers results.
* Fix checks
Checks were done badly and failed if the returned object was an empty container or 0.1 parent 89b5b8e commit 57a26ae
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
219 | 227 | | |
220 | | - | |
| 228 | + | |
221 | 229 | | |
222 | 230 | | |
223 | 231 | | |
| |||
0 commit comments