NEAL Home Page
Middlesex Logo

Code and Short Tutorial for Neural State Machine

Code

Tutorial

  1. Finite state automata are pretty standard computer systems. The Finite State Machine wiki is a good place to start if you don't know about them.
  2. The way we manage states in neurons is to have binary cell assemblies. These are groups of neurons that are either all firing or not firing.
  3. Similarly, we have inputs, like words, in the form of spike sources. These make neurons fire, and we can use a CA to represent the inputs in the neural system..
  4. We make a topology by connecting the neurons, or in this case the neurons in each of the states.
  5. So, if we start the system by turning the start state on, it will persist until there is an input.
  6. We make a second state, which we'll call A, and an input a. We connect both the start state and the input a CA to the A state. We do this with stateHalfTurnsOnState. Now when the start state is going, and an a comes in, they turn on the A State.
  7. We'll also connect the A state back to the start state and the a input state, but we'll make it shut them down. We do this with stateTurnsOffState.
  8. Now after the a input comes in, the system has the A state on, and only the A state.