mattjj / pyhsmm

MIT License
545 stars 172 forks source link

BUG: deepcopy caused memory to balloon when using separate transition matrices. #103

Open mmargenot opened 4 years ago

mmargenot commented 4 years ago

Adding a fix from @mattjj to correct a memory issue that caused PyHSMM to scale poorly when adding separate transition matrices for separate known groups. Previously the memory usage would scale heavily with number of groups. This change should remove the issue.