Machine Learning
✨ Create predictions for all tasks
Create predictions for all tasks using a specific ML backend so that you can set up an active learning strategy based on the confidence or uncertainty scores associated with the predictions. Creating predictions requires a Label Studio ML backend set up and configured for your project.
See Set up machine learning for more details about a Label Studio ML backend.
Reference the ML backend ID in the path of this API call. Get the ML backend ID by listing the ML backends for a project.
post/api/ml/{id}/predict
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/ml/{id}/predict
- AuthAPI key in header Authorization
Path parameters
idinteger required
A unique integer value identifying this ML backend.
Query parameters
batch_sizeinteger
Computed number of tasks without predictions that the ML backend needs to predict.
Response
Predictions have successfully started.
Changes
No operation changes recorded.