Hi and pardon my obvious question as I'm not that familiar with Javascript. Are you saving the state in the predict(data) function so that it can be returned by state()? Or is just sigma required? There is mention of updating the state, but it's not obvious that it's saved for the next pass by something like this._state = state.
Hi and pardon my obvious question as I'm not that familiar with Javascript. Are you saving the state in the predict(data) function so that it can be returned by state()? Or is just sigma required? There is mention of updating the state, but it's not obvious that it's saved for the next pass by something like this._state = state.
Thanks in advance for your help.