basics of refresh function done.
ugh.. django model -> scikit-learn is a pain.  There must be an easy way to do this.