Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* multiTR with notebook * notebook * multi local step TREGO * Refactor multi trust region implementation Provide base abstract classes for updateable search space and multi trust region rule. Implement concrete classes for box multi trust region rule. * Fix formatting in notebook & remove orig TR changes * Remove redundant new assert * Undo earlier logging change * Workaround isort & black clash * Keep old ver of mypy happy * Fix typo in slicing * Add new collection space tests * Address feedback plus other small changes * Use generic search space type for MultiTrustRegionBox * Add some private methods to TrustRegionBox * Add kwargs to reinitialize/update * Use American spelling * Move helper function to utils * Add TrustRegionBox/UpdateableSearchSpace unittests * Address feedback for space changes * Some updates to rule/utils from feedback * Rename reinitialize to initialize * Replace get_single_model_and_dataset with generic get_value_for_tag; plus update unit tests * Add unit tests for and change get_unique_points_mask implementation as previous version erroneously identified some points as duplicates * Create subspaces outside the rule Plus revert addition of kwargs * Fix func to work with old tensorflow tf.sqrt for array with inf returns nan in older versions. * Add rule and optimizer unit tests * Add integ test * Add shape-checking/docstring for mask func Plus one other minor tweak. * Add check_shapes, update docstrings & add tag test * Remove notebook, to be added in separate PR * Add deepcopy test * Check TR copy is deep * Improve TR box and test slightly * Address Uri's latest comments * Move get_value_for_tag to more general utils/misc * Remove redundant [] checks * Add fixture for default search space type * Add test for optim multiple boxes as a batch * Rename classes and expand some docstrings * Choose longer class name * Rename updatable class name --------- Co-authored-by: Victor Picheny <[email protected]> Co-authored-by: hstojic <[email protected]>
- Loading branch information