transforms predictScore into predictionAPI