mirror of https://github.com/kubeflow/examples.git
Update HousingServe.py
This commit is contained in:
parent
37cf0ef755
commit
a85cc31fce
|
@ -32,6 +32,6 @@ class HousingServe(object):
|
|||
"""Generate a random sample feature."""
|
||||
return np.ndarray([1, 37])
|
||||
|
||||
if __name__=='__main__':
|
||||
if __name__ == '__main__':
|
||||
serve = HousingServe()
|
||||
print(serve.predict(serve.sample_test(), None))
|
||||
|
|
Loading…
Reference in New Issue