python3 train.py
python3 predict.py
API Request
- Body:
{
"g1":1,
"g2":0,
"g3":1,
"g4":0,
"g5":1,
"g6":1,
"g7":0,
"g8":1,
"g9":1,
"g10":1
}
- Response:
HTTP/1.1 200 OK
{
"prediction": "[[0.8754984]]",
"success": true
}