Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion imageai/Prediction/CUSTOMPREDICTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ In the above line, we defined 2 variables to be equal to the function called to

```python
for eachPrediction, eachProbability in zip(predictions, probabilities):
print(eachPrediction + " : " + eachProbability)
print(str(eachPrediction) + " : " + str(eachProbability))
```

The above line obtains each object in the **predictions** array, and also obtains the corresponding percentage probability from the **percentage_probabilities**, and finally prints the result of both to console.
Expand Down