Skip to content

Commit

Permalink
white spacing in those two files are removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
JunyungKim committed Sep 18, 2024
1 parent d6c84de commit 730d7a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion ravenframework/Optimizers/BayesianOptimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def __init__(self):
self._paramSelectionOptions = {'ftol':1e-10, 'maxiter':200, 'disp':False} # Optimizer options for hyperparameter selection
self._externalParamOptimizer = 'fmin_l_bfgs_b' # Optimizer for external hyperparameter selection
self._resetModel = False # Reset regression model if True


def handleInput(self, paramInput):
"""
Expand Down
3 changes: 1 addition & 2 deletions ravenframework/Optimizers/GradientDescent.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def __init__(self):
# history trackers, by traj, are deques (-1 is most recent)
self._gradHistory = {} # gradients
self._stepHistory = {} # {'magnitude': size, 'versor': direction, 'info': dict} for step
self._acceptHistory = {} # acceptability
self._acceptHistory = {} # acceptabilitys
self._stepRecommendations = {} # by traj, if a 'cut' or 'grow' is recommended else None
self._acceptRerun = {} # by traj, if True then override accept for point rerun
self._convergenceCriteria = defaultdict(mathUtils.giveZero) # names and values for convergence checks
Expand All @@ -212,7 +212,6 @@ def __init__(self):
self._followerProximity = 1e-2 # distance at which annihilation can start occurring, in ?normalized? space
self._trajectoryFollowers = defaultdict(list) # map of trajectories to the trajectories following them
self._functionalConstraintExplorationLimit = 500 # number of input-space explorations allowable for functional constraints

# __private
# additional methods
# register adaptive sample identification criteria
Expand Down

0 comments on commit 730d7a4

Please sign in to comment.