- Run
docker build -t jackpredictor:latest .
to build the image - Run
docker run -p 8000:8000 jackpredictor
to start the container - Run
python teste.py
to test the predictor
curl -H "Content-Type: application/json" -d '{"features": [3, 0, 45]}' http://localhost:8000/queries.json
Elements in json:
- social class (1 OR 2 OR 3)
- sex (0: Man, 1: Woman)
- age