Loading AI Engineering Foundations...
A prediction is the finalized computed output generated by an AI model for an input, frequently expressed as normalized probabilities across candidates or continuous score tensors.
“A weather forecaster stating: "There is an 82% probability of rain in Seattle tomorrow."”
// Softmax to probability
const probabilities = softmax(logits);
const predictedClass = argmax(probabilities);Treating model confidence as a proof of factual accuracy: a hallucinating LLM can assign 99% confidence to a fabricated claim.