From aab66fe3cfc4efad89e8fe000a9d1b60c5b34db9 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sat, 26 Aug 2023 10:36:50 -0400 Subject: [PATCH] {pyactr} Turn off base-level learning by default to match ACT-R --- framework/pyactr/pyactr.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/pyactr/pyactr.go b/framework/pyactr/pyactr.go index ed5a646..4269a0a 100644 --- a/framework/pyactr/pyactr.go +++ b/framework/pyactr/pyactr.go @@ -236,6 +236,9 @@ func (p *PyACTR) GenerateCode(initialBuffers framework.InitialBuffers) (code []b if memory.IsUsingBaseLevelLearning() { p.Writeln(" decay=%s,", numbers.Float64Str(*memory.Decay)) + } else { + p.Writeln(" # baselevel_learning defaults to true in pyactr, so set it to false which is the default in ACT-R") + p.Writeln(" baselevel_learning=False,") } p.writeSpreadingActivation()