Commit 764e169
Use get_heterogeneous_feature_mapping in LFI argparse dispatcher
Summary: Refactors the learned imputation argument dispatcher to delegate feature index computation to the dataset's built-in mapping utility. This eliminates duplicated feature-ordering logic and ensures consistency with the canonical ordering convention.
Differential Revision: D1021971381 parent 970c571 commit 764e169
2 files changed
Lines changed: 5 additions & 35 deletions
File tree
- ax/generators/torch
- botorch_modular/input_constructors
- tests
Lines changed: 4 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
368 | 363 | | |
369 | | - | |
| 364 | + | |
370 | 365 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 366 | | |
395 | 367 | | |
396 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
479 | | - | |
480 | | - | |
| 478 | + | |
481 | 479 | | |
482 | 480 | | |
483 | 481 | | |
| |||
0 commit comments