im predicting some data to my machine learning. Then, im using pathos ThreadPool to predict multiple data at the same time. Example
data 1
data 2
data 3
data 4
And when i use ThreadPool().map(predict,data) it return wrong sequence of json:
data 2
data 3
data 1
data 4
is theres a way to manage the sequence?