add method for running regression against streams