Update lsm.py

added plot for all membrane and added sklearn Ridge for online classification