MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / MainHandler

Class MainHandler

supervised_class/app.py:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 model = pickle.load(f)
21
22class MainHandler(tornado.web.RequestHandler):
23 def get(self):
24 self.write("Hello, Tornado!")
25
26class PredictionHandler(tornado.web.RequestHandler):
27 # predict one sample at a time

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected