How to Deploy a Prediction I / O Model

I work with logistic regression using the io prediction pattern. I deployed the model with pio deploy. This gives me the port where I am testing my problem. My question is how to deploy the model. Is there any command to deploy. Or I need to find the PID of the port using netstat -npl | grep port noand manually kill the PID.

+4
source share
2 answers

you can use pio undeploy

pio undeploy --ip <user_ip> --port <user_port>
+5
source

Another way to unlock the server of a running server is to run it GETat the /stopserver endpoint .

Using a browser is just goto:

http://<host>:<port>/stop

Using curl, it will look like

curl <host>:<port>/stop

Source:

https://github.com/PredictionIO/PredictionIO/blob/develop/core/src/main/scala/io/prediction/workflow/CreateServer.scala#L651

+2

Source: https://habr.com/ru/post/1609787/


All Articles