Skip to content

Commit

Permalink
{pyactr} Turn off base-level learning by default to match ACT-R
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Feb 26, 2024
1 parent cf1d858 commit aab66fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/pyactr/pyactr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit aab66fe

Please sign in to comment.