This is a REST server that uses machine learning to predict occupancy on the Belgian train network. An endpoint is currently running on 193.190.127.247
{
"high_probability": "0.176085",
"low_probability": "0.515583",
"medium_probability": "0.308332",
"prediction": "low"
}
- Install the dependencies
(sudo) python setup.py install
- Start mongod on a certain port
- Change the host and portnumber of your running MongoDB in
server.py
and then execute it:python server.py