summaryrefslogtreecommitdiff
path: root/CakePenalties.R
diff options
context:
space:
mode:
Diffstat (limited to 'CakePenalties.R')
-rwxr-xr-x[-rw-r--r--]CakePenalties.R4
1 files changed, 3 insertions, 1 deletions
diff --git a/CakePenalties.R b/CakePenalties.R
index b4f24d4..33d2e0b 100644..100755
--- 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 <http://www.gnu.org/licenses/>.
# 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

Contact - Imprint