Move the prediction closer to the target and compare the numbers.
target = 4
prediction = 7
print(abs(target - prediction)) Line notes
- Set the known target value.
- Set one prediction.
- Print the distance from the prediction to the target.
Question 3 of 5
The question says “when to try again,” while the relevant guide says “retry delay.” The phrases are not identical.
“How can I close my account?” and “Steps to delete a profile” share little wording. A model can represent each request as a list of numbers called an embedding. Try known paraphrases: if requests with similar meanings land close together, that distance can help find related support tickets.
WHERE TO START
Can you write two short requests that mean the same thing using different words?
Move the prediction closer to the target and compare the numbers.
target = 4
prediction = 7
print(abs(target - prediction))