Finding the greatest common divisor can be done using the Euclidean algorithm.
ניתן למצוא את המחלק המשותף הגדול בעזרת האלגוריתם האוקלידי.
It can be constructed using the extended Euclidean algorithm.
אפשר לבצע זאת באמצעות אלגוריתם אוקלידס המורחב.
When the seating chart at your wedding looks more like a Euclidean algorithm... than a dining hall, you know you've got something seriously wrong.
כשסידור הישיבה בחתונה שלך נראה יותר כאלגוריתם אוקלידי, מאשר חדר אוכל, משהו בהחלט לא כשורה.
Other results
Using a different distance function other than (squared) Euclidean distance may stop the algorithm from converging.
שימוש בפונקציית מרחק שונה אחרת מאשר מציאת מרחק אוקלידי עלולה להפסיק את האלגוריתם מלהתכנס.
This algorithm works as follows: Compute the Euclidean or Mahalanobis distance from the query example to the labeled examples.
אלגוריתם זה פועל כדלהלן: חשב את המרחק האוקלידי או מרחק מהלנוביס (Mahalanobis) מהנקודה הנבדקת לנקודות האימון המתויגות.