Commit e866c07
committed
[refactor] Format evaluators (mainly tae, abstract_evaluator, evaluator)
* [refactor] Refactor __init__ of abstract evaluator
* [refactor] Collect shared variables in NamedTuples
* [fix] Copy the budget passed to the evaluator params
* [refactor] Add cross validation result manager for separate management
* [refactor] Separate pipeline classes from abstract evaluator
* [refactor] Increase the safety level of pipeline config
* [test] Add tests for the changes
* [test] Modify queue.empty in a safer way
[fix] Find the error in test_tabular_xxx
Since pipeline is updated after the evaluations and the previous code
updated self.pipeline in the predict method, dummy class only needs
to override this method. However, the new code does it separately,
so I override get_pipeline method so that we can reproduce the same
results.
[fix] Fix the shape issue in regression and add bug comment in a test
[fix] Fix the ground truth of test_cv
Since we changed the weighting strategy for the cross validation in
the validation phase so that we weight performance from each model
proportionally to the size of each VALIDATION split.
I needed to change the answer.
Note that the previous was weighting the performance proportionally
to the TRAINING splits for both training and validation phases.
[fix] Change qsize --> Empty since qsize might not be reliable
[refactor] Add cost for crash in autoPyTorchMetrics
[fix] Fix the issue when taking num_classes from regression task
[fix] Deactivate the save of cv model in the case of holdout1 parent 2306c45 commit e866c07
File tree
14 files changed
+1599
-2111
lines changed- autoPyTorch
- api
- configs
- evaluation
- optimizer
- pipeline/components/training/metrics
- test
- test_api
- test_evaluation
14 files changed
+1599
-2111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
685 | 686 | | |
686 | 687 | | |
687 | 688 | | |
688 | | - | |
| 689 | + | |
689 | 690 | | |
690 | 691 | | |
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
695 | | - | |
| 696 | + | |
696 | 697 | | |
697 | 698 | | |
| 699 | + | |
698 | 700 | | |
699 | 701 | | |
700 | 702 | | |
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
704 | | - | |
| 706 | + | |
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
| |||
770 | 772 | | |
771 | 773 | | |
772 | 774 | | |
773 | | - | |
| 775 | + | |
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
779 | 781 | | |
780 | | - | |
| 782 | + | |
781 | 783 | | |
782 | 784 | | |
783 | 785 | | |
| |||
788 | 790 | | |
789 | 791 | | |
790 | 792 | | |
791 | | - | |
| 793 | + | |
792 | 794 | | |
793 | 795 | | |
794 | 796 | | |
| |||
1078 | 1080 | | |
1079 | 1081 | | |
1080 | 1082 | | |
1081 | | - | |
| 1083 | + | |
1082 | 1084 | | |
1083 | 1085 | | |
1084 | 1086 | | |
| |||
1362 | 1364 | | |
1363 | 1365 | | |
1364 | 1366 | | |
1365 | | - | |
| 1367 | + | |
1366 | 1368 | | |
1367 | 1369 | | |
1368 | 1370 | | |
| |||
1573 | 1575 | | |
1574 | 1576 | | |
1575 | 1577 | | |
1576 | | - | |
| 1578 | + | |
1577 | 1579 | | |
1578 | 1580 | | |
1579 | 1581 | | |
1580 | 1582 | | |
1581 | 1583 | | |
1582 | | - | |
| 1584 | + | |
1583 | 1585 | | |
1584 | 1586 | | |
1585 | 1587 | | |
1586 | 1588 | | |
1587 | 1589 | | |
1588 | 1590 | | |
1589 | | - | |
1590 | 1591 | | |
1591 | 1592 | | |
1592 | 1593 | | |
1593 | 1594 | | |
1594 | 1595 | | |
1595 | 1596 | | |
1596 | 1597 | | |
1597 | | - | |
| 1598 | + | |
1598 | 1599 | | |
1599 | 1600 | | |
1600 | 1601 | | |
| |||
1606 | 1607 | | |
1607 | 1608 | | |
1608 | 1609 | | |
1609 | | - | |
| 1610 | + | |
1610 | 1611 | | |
1611 | 1612 | | |
1612 | 1613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments