Skip to content

Commit fd3fd20

Browse files
committed
fix: change default regularisation to 1.0 as 0.1 was causing overfitting
1 parent 367019f commit fd3fd20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LoopStructural/modelling/features/builders/_geological_feature_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(
8686
self._orthogonal_features = {}
8787
self._equality_constraints = {}
8888
# add default parameters
89-
self.update_build_arguments({'cpw':1.0,'npw':1.0,'regularisation':.10,'nelements':self.interpolator.n_elements})
89+
self.update_build_arguments({'cpw':1.0,'npw':1.0,'regularisation':1.,'nelements':self.interpolator.n_elements})
9090
def set_not_up_to_date(self, caller):
9191
logger.info(
9292
f"Setting {self.name} to not up to date from an instance of {caller.__class__.__name__}"

0 commit comments

Comments
 (0)