Commit d53484d
committed
Update xgboost integration for v2.x/3.x API changes
- Use x, y arguments instead of data=DMatrix (DMatrix deprecated)
- Use verbosity parameter instead of verbose (deprecated)
- Convert y to factor for binary classification (required in xgboost 3.x)
- Filter out deprecated parameters from user args1 parent bfb2df3 commit d53484d
1 file changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | | - | |
| 270 | + | |
| 271 | + | |
268 | 272 | | |
269 | 273 | | |
270 | | - | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | | - | |
| 277 | + | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | 281 | | |
| |||
0 commit comments