Skip to content

Commit c5241d2

Browse files
authored
Merge pull request #4765 from erssebaggala/erssebaggala-patch-1
Correct prediction probabilities in custom training walkthrough
2 parents c020e50 + d29b93f commit c5241d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/core/tutorials/eager/custom_training_walkthrough.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@
573573
" </td></tr>\n",
574574
"</table>\n",
575575
"\n",
576-
"When the model from Figure 2 is trained and fed an unlabeled example, it yields three predictions: the likelihood that this flower is the given Iris species. This prediction is called *[inference](https://developers.google.com/machine-learning/crash-course/glossary#inference)*. For this example, the sum of the output predictions is 1.0. In Figure 2, this prediction breaks down as: `0.03` for *Iris setosa*, `0.95` for *Iris versicolor*, and `0.02` for *Iris virginica*. This means that the model predicts—with 95% probability—that an unlabeled example flower is an *Iris versicolor*."
576+
"When the model from Figure 2 is trained and fed an unlabeled example, it yields three predictions: the likelihood that this flower is the given Iris species. This prediction is called *[inference](https://developers.google.com/machine-learning/crash-course/glossary#inference)*. For this example, the sum of the output predictions is 1.0. In Figure 2, this prediction breaks down as: `0.02` for *Iris setosa*, `0.95` for *Iris versicolor*, and `0.03` for *Iris virginica*. This means that the model predicts—with 95% probability—that an unlabeled example flower is an *Iris versicolor*."
577577
]
578578
},
579579
{
@@ -1225,4 +1225,4 @@
12251225
"outputs": []
12261226
}
12271227
]
1228-
}
1228+
}

0 commit comments

Comments
 (0)