Skip to main content
. 2019 Nov 29;6:131. doi: 10.3389/frobt.2019.00131

Algorithm 1.

Learning algorithm of the integrated cognitive model. Please refer to Appendix for Equations A-1 and A-11.

  observe wO,wM,wR,ww
  set initial random value to z,zO,zM,zR,s
  set wwCww
  for i←0 to n−1 do
      update parameter of lower MLDA zO,zM,zR (See Equation 10)
      send P1C to top MLDA
      send P3C to BHMM
      update parameter of top MLDA z (See Equation A-1)
      send P2C to lower MLDA
      update parameter of BHMM s by using P3C as an initial value (See Equation A-11)
      send P4C to lower MLDA
      update word information wwC (See Equation 11)
  end for
  send P5 to REINFORCE
  update parameter of REINFORCE λ (See Equations 6 and 7)