A repository to host Machine Learning examples for Metacall.
The file run_model.py
has actual exported function, and it is exposed in the metacall.json
file.
It expects a 2d array of integers as input, output is predicted salaries.
curl -X POST https://api.metacall.io/<your_alias>/python-machine-learning-example/v1/call/predict_salary --data '{"input":[[3],[6]]}'
Expected result:
[54854.0195733983,82891.84690276542]