Browse Source

prediction work @TODO: socketio read http://stackoverflow.com/questions/32545634/flask-a-restful-api-and-socketio-server

steve 8 years ago
parent
commit
b2a1ed9165
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/index.py

+ 1 - 1
src/api/index.py

@@ -150,7 +150,7 @@ def learn():
 	r = r[id]
 	r = ML.Filter('label',app,r)
 	label = ML.Extract(['status'],r)
-	
+	r = ML.Extract(['cpu_usage','memory_usage'],r)
 	
 if __name__== '__main__':