From fd9ea462ba438c023e33902449429eae6d2dc28f Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 9 Nov 2022 10:08:37 +0100 Subject: Version 3.5, from a fresh installation --- CakePenalties.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 CakePenalties.R (limited to 'CakePenalties.R') diff --git a/CakePenalties.R b/CakePenalties.R old mode 100644 new mode 100755 index b4f24d4..33d2e0b --- a/CakePenalties.R +++ b/CakePenalties.R @@ -1,6 +1,7 @@ # $Id$ # Some of the CAKE R modules are based on mkin -# Modifications developed by Tessella for Syngenta: Copyright (C) 2011-2020 Syngenta +# Modifications developed by Hybrid Intelligence (formerly Tessella), part of +# Capgemini Engineering, for Syngenta, Copyright (C) 2011-2022 Syngenta # Tessella Project Reference: 6245, 7247, 8361, 7414, 10091 # # The CAKE R modules are free software: you can redistribute it and/or modify @@ -17,6 +18,7 @@ # along with this program. If not, see . # Penalty function for fits that should not be accepted +# Note: If the penalty scale is updated from 10 then the reported % penalty in ReportGenerator.cs will need to be updated CakePenalties<-function(params, modelled, obs, penalty.scale = 10, ...){ # Because the model cost is roughly proportional to points, # make the penalties scale that way too for consistent behaviour -- cgit v1.2.1