{"id":1244,"date":"2023-07-27T03:54:17","date_gmt":"2023-07-27T03:54:17","guid":{"rendered":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/"},"modified":"2023-07-27T03:54:17","modified_gmt":"2023-07-27T03:54:17","slug":"%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5","status":"publish","type":"post","link":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/","title":{"rendered":"K-medoids \u0641\u064a r: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629"},"content":{"rendered":"<p><\/p>\n<hr>\n<p style=\";text-align:right;direction:rtl\"><span style=\"color: #000000;\">\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0647\u0648 \u0623\u0633\u0644\u0648\u0628 \u0644\u0644\u062a\u0639\u0644\u0645 \u0627\u0644\u0622\u0644\u064a \u064a\u062d\u0627\u0648\u0644 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0623\u0648 <em>\u0645\u062c\u0645\u0648\u0639\u0627\u062a<\/em> \u0645\u0646 <a href=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0629-\u0641\u064a-\u0627\u0644\u0627\u0655\u062d\u0635\u0627\u0621\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a<\/a> \u0636\u0645\u0646 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0627\u0644\u0647\u062f\u0641 \u0647\u0648 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0628\u062d\u064a\u062b \u062a\u0643\u0648\u0646 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u062f\u0627\u062e\u0644 \u0643\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u062a\u0634\u0627\u0628\u0647\u0629 \u062a\u0645\u0627\u0645\u064b\u0627 \u0645\u0639 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636\u060c \u0641\u064a \u062d\u064a\u0646 \u0623\u0646 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u0629 \u062a\u062e\u062a\u0644\u0641 \u062a\u0645\u0627\u0645\u064b\u0627 \u0639\u0646 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0647\u0648 \u0634\u0643\u0644 \u0645\u0646 \u0623\u0634\u0643\u0627\u0644 <a href=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u062a\u0639\u0644\u0645-\u0627\u0644\u062e\u0627\u0636\u0639-\u0644\u0644\u0627\u0655\u0634\u0631\u0627\u0641-\u0645\u0642\u0627\u0628\u0644-\u0627\u0644\u062a\u0639\u0644\u0645-\u063a\u064a\u0631-\u0627\u0644\u062e\u0627\u0636\u0639-\u0644\u0644\u0627\u0655\u0634\u0631\u0627\u0641\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0627\u0644\u062a\u0639\u0644\u0645 \u063a\u064a\u0631 \u0627\u0644\u062e\u0627\u0636\u0639 \u0644\u0644\u0631\u0642\u0627\u0628\u0629<\/a> \u0644\u0623\u0646\u0646\u0627 \u0646\u062d\u0627\u0648\u0644 \u0628\u0628\u0633\u0627\u0637\u0629 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0628\u0646\u064a\u0629 \u0636\u0645\u0646 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0628\u062f\u0644\u0627\u064b \u0645\u0646 \u0627\u0644\u062a\u0646\u0628\u0624 \u0628\u0642\u064a\u0645\u0629 <a href=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u0645\u062a\u063a\u064a\u0631\u0627\u062a-\u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0627\u062a-\u0627\u0644\u062a\u0641\u0633\u064a\u0631\u064a\u0629\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0645\u062a\u063a\u064a\u0631 \u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0629<\/a> .<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u063a\u0627\u0644\u0628\u064b\u0627 \u0645\u0627 \u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a \u0627\u0644\u062a\u0633\u0648\u064a\u0642 \u0639\u0646\u062f\u0645\u0627 \u062a\u062a\u0645\u0643\u0646 \u0627\u0644\u0634\u0631\u0643\u0627\u062a \u0645\u0646 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0645\u062b\u0644:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062f\u062e\u0644 \u0627\u0644\u0623\u0633\u0631\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062d\u062c\u0645 \u0627\u0644\u0623\u0633\u0631\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u0647\u0646\u0629 \u0631\u0628 \u0627\u0644\u0623\u0633\u0631\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0625\u0644\u0649 \u0623\u0642\u0631\u0628 \u0645\u0646\u0637\u0642\u0629 \u062d\u0636\u0631\u064a\u0629<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0639\u0646\u062f\u0645\u0627 \u062a\u062a\u0648\u0641\u0631 \u0647\u0630\u0647 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a\u060c \u064a\u0645\u0643\u0646 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0623\u0633\u0631 \u0627\u0644\u0645\u062a\u0634\u0627\u0628\u0647\u0629 \u0648\u0627\u0644\u062a\u064a \u0642\u062f \u062a\u0643\u0648\u0646 \u0623\u0643\u062b\u0631 \u0639\u0631\u0636\u0629 \u0644\u0634\u0631\u0627\u0621 \u0645\u0646\u062a\u062c\u0627\u062a \u0645\u0639\u064a\u0646\u0629 \u0623\u0648 \u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0628\u0634\u0643\u0644 \u0623\u0641\u0636\u0644 \u0644\u0646\u0648\u0639 \u0645\u0639\u064a\u0646 \u0645\u0646 \u0627\u0644\u0625\u0639\u0644\u0627\u0646\u0627\u062a.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u064f\u0639\u0631\u0641 \u0623\u062d\u062f \u0623\u0643\u062b\u0631 \u0623\u0634\u0643\u0627\u0644 \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0634\u064a\u0648\u0639\u064b\u0627 \u0628\u0627\u0633\u0645 <a href=\"https:\/\/statorials.org\/ar\/k-\u064a\u0639\u0646\u064a-\u0627\u0644\u062a\u062c\u0645\u064a\u0639-\u0641\u064a-r\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0628\u0627\u0644\u0648\u0633\u0627\u0626\u0644 k<\/a> .<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0644\u0633\u0648\u0621 \u0627\u0644\u062d\u0638\u060c \u064a\u0645\u0643\u0646 \u0623\u0646 \u062a\u062a\u0623\u062b\u0631 \u0647\u0630\u0647 \u0627\u0644\u0637\u0631\u064a\u0642\u0629 \u0628\u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u062a\u0637\u0631\u0641\u0629\u060c \u0648\u0647\u0630\u0627 \u0647\u0648 \u0627\u0644\u0633\u0628\u0628 \u0641\u064a \u0623\u0646 \u0627\u0644\u0628\u062f\u064a\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u063a\u0627\u0644\u0628\u064b\u0627 \u0647\u0648 <strong>\u062a\u062c\u0645\u064a\u0639 k-medoids<\/strong> .<\/span><\/p>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0627 \u0647\u0648 \u062a\u062c\u0645\u064a\u0639 K-Medoids\u061f<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u062c\u0645\u064a\u0639 K-medoids \u0647\u0648 \u0623\u0633\u0644\u0648\u0628 \u0646\u0636\u0639 \u0641\u064a\u0647 \u0643\u0644 \u0645\u0644\u0627\u062d\u0638\u0629 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a \u0641\u064a \u0625\u062d\u062f\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a <em>K.<\/em><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0627\u0644\u0647\u062f\u0641 \u0627\u0644\u0646\u0647\u0627\u0626\u064a \u0647\u0648 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a <em>K<\/em> \u062a\u0643\u0648\u0646 \u0641\u064a\u0647\u0627 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u062f\u0627\u062e\u0644 \u0643\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u062a\u0634\u0627\u0628\u0647\u0629 \u062a\u0645\u0627\u0645\u064b\u0627 \u0645\u0639 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636 \u0628\u064a\u0646\u0645\u0627 \u062a\u062e\u062a\u0644\u0641 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0641\u064a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629 \u062a\u0645\u0627\u0645\u064b\u0627 \u0639\u0646 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u0646 \u0627\u0644\u0646\u0627\u062d\u064a\u0629 \u0627\u0644\u0639\u0645\u0644\u064a\u0629\u060c \u0646\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062e\u0637\u0648\u0627\u062a \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0644\u062a\u0646\u0641\u064a\u0630 \u062a\u062c\u0645\u064a\u0639 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 K:<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>1. \u0627\u062e\u062a\u0631 \u0642\u064a\u0645\u0629 \u0644\u0640 <em>K.<\/em><\/strong><\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u0648\u0644\u0627\u064b\u060c \u0646\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u062d\u062f\u064a\u062f \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u062a\u064a \u0646\u0631\u064a\u062f \u062a\u062d\u062f\u064a\u062f\u0647\u0627 \u0641\u064a \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a. \u063a\u0627\u0644\u0628\u064b\u0627 \u0645\u0627 \u0646\u062d\u062a\u0627\u062c \u0628\u0628\u0633\u0627\u0637\u0629 \u0625\u0644\u0649 \u0627\u062e\u062a\u0628\u0627\u0631 \u0639\u062f\u0629 \u0642\u064a\u0645 \u0645\u062e\u062a\u0644\u0641\u0629 \u0644\u0640 <em>K<\/em> \u0648\u062a\u062d\u0644\u064a\u0644 \u0627\u0644\u0646\u062a\u0627\u0626\u062c \u0644\u0645\u0639\u0631\u0641\u0629 \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u062a\u064a \u064a\u0628\u062f\u0648 \u0623\u0646\u0647\u0627 \u0627\u0644\u0623\u0643\u062b\u0631 \u0645\u0646\u0637\u0642\u064a\u0629 \u0644\u0645\u0634\u0643\u0644\u0629 \u0645\u0639\u064a\u0646\u0629.<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>2. \u0642\u0645 \u0628\u062a\u062e\u0635\u064a\u0635 \u0643\u0644 \u0645\u0644\u0627\u062d\u0638\u0629 \u0628\u0634\u0643\u0644 \u0639\u0634\u0648\u0627\u0626\u064a \u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0623\u0648\u0644\u064a\u0629\u060c \u0645\u0646 1 \u0625\u0644\u0649 <em>K.<\/em><\/strong><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>3. \u0642\u0645 \u0628\u062a\u0646\u0641\u064a\u0630 \u0627\u0644\u0625\u062c\u0631\u0627\u0621 \u0627\u0644\u062a\u0627\u0644\u064a \u062d\u062a\u0649 \u062a\u062a\u0648\u0642\u0641 \u062a\u0639\u064a\u064a\u0646\u0627\u062a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0639\u0646 \u0627\u0644\u062a\u063a\u064a\u064a\u0631.<\/strong><\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0644\u0643\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u0646 \u0645\u062c\u0645\u0648\u0639\u0627\u062a <em>K<\/em> \u060c \u0627\u062d\u0633\u0628 <em>\u0645\u0631\u0643\u0632 \u062b\u0642\u0644 \u0627\u0644\u0643\u062a\u0644\u0629.<\/em> \u0647\u0630\u0627 \u0647\u0648 \u0645\u062a\u062c\u0647 <b>\u0627\u0644\u0645\u062a\u0648\u0633\u0637\u0627\u062a<\/b> <em>p<\/em> \u0644\u0644\u0645\u064a\u0632\u0627\u062a \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 <em>k<\/em> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u0639\u064a\u064a\u0646 \u0643\u0644 \u0645\u0644\u0627\u062d\u0638\u0629 \u0625\u0644\u0649 \u0627\u0644\u0643\u062a\u0644\u0629 \u0645\u0639 \u0623\u0642\u0631\u0628 \u0627\u0644\u0646\u0642\u0637\u0647 \u0627\u0644\u0648\u0633\u0637\u0649. \u0647\u0646\u0627\u060c \u064a\u062a\u0645 \u062a\u0639\u0631\u064a\u0641 <em>\u0627\u0644\u0623\u0642\u0631\u0628<\/em> \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Euclidean_distance#Squared_Euclidean_distance\" target=\"_blank\" rel=\"noopener noreferrer\">\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0625\u0642\u0644\u064a\u062f\u064a\u0629<\/a> .<\/span><\/li>\n<\/ul>\n<blockquote style=\";text-align:right;direction:rtl\">\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0644\u0627\u062d\u0638\u0629 \u062a\u0642\u0646\u064a\u0629:<\/strong><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0646\u0638\u0631\u064b\u0627 \u0644\u0623\u0646 k-medoids \u062a\u062d\u0633\u0628 \u0627\u0644\u0646\u0642\u0637 \u0627\u0644\u0648\u0633\u0637\u0649 \u0627\u0644\u0639\u0646\u0642\u0648\u062f\u064a\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0645\u062a\u0648\u0633\u0637\u0627\u062a \u0628\u062f\u0644\u0627\u064b \u0645\u0646 \u0627\u0644\u0648\u0633\u0627\u0626\u0644\u060c \u0641\u0625\u0646\u0647\u0627 \u062a\u0645\u064a\u0644 \u0625\u0644\u0649 \u0623\u0646 \u062a\u0643\u0648\u0646 \u0623\u0643\u062b\u0631 \u0642\u0648\u0629 \u0628\u0627\u0644\u0646\u0633\u0628\u0629 \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u062a\u0637\u0631\u0641\u0629 \u0645\u0646 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u0646 \u0627\u0644\u0646\u0627\u062d\u064a\u0629 \u0627\u0644\u0639\u0645\u0644\u064a\u0629\u060c \u0625\u0630\u0627 \u0644\u0645 \u062a\u0643\u0646 \u0647\u0646\u0627\u0643 \u0642\u064a\u0645 \u0645\u062a\u0637\u0631\u0641\u0629 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\u060c \u0641\u0625\u0646 k-means \u0648k-medoids \u0633\u062a\u0646\u062a\u062c \u0646\u062a\u0627\u0626\u062c \u0645\u0645\u0627\u062b\u0644\u0629.<\/span><\/p>\n<\/blockquote>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u062c\u0645\u0648\u0639\u0627\u062a K-Medoids \u0641\u064a R<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0648\u0641\u0631 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0627\u0644\u062a\u0627\u0644\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u062d\u0648\u0644 \u0643\u064a\u0641\u064a\u0629 \u062a\u0646\u0641\u064a\u0630 \u0645\u062c\u0645\u0648\u0639\u0627\u062a k-medoids \u0641\u064a R.<\/span><\/p>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 1: \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u062d\u0632\u0645 \u0627\u0644\u0644\u0627\u0632\u0645\u0629<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u0648\u0644\u0627\u064b\u060c \u0633\u0646\u0642\u0648\u0645 \u0628\u062a\u062d\u0645\u064a\u0644 \u062d\u0632\u0645\u062a\u064a\u0646 \u062a\u062d\u062a\u0648\u064a\u0627\u0646 \u0639\u0644\u0649 \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u0641\u064a\u062f\u0629 \u0644\u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #993300;\">library<\/span> (factoextra)\n<span style=\"color: #993300;\">library<\/span> (cluster)<\/strong><\/pre>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 2: \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0648\u0625\u0639\u062f\u0627\u062f\u0647\u0627<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0645\u062b\u0627\u0644\u060c \u0633\u0646\u0633\u062a\u062e\u062f\u0645 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a <em>USArrests<\/em> \u0627\u0644\u0645\u0636\u0645\u0646\u0629 \u0641\u064a R\u060c \u0648\u0627\u0644\u062a\u064a \u062a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0639\u062f\u062f \u0627\u0644\u0627\u0639\u062a\u0642\u0627\u0644\u0627\u062a \u0644\u0643\u0644 100000 \u0634\u062e\u0635 \u0641\u064a \u0643\u0644 \u0648\u0644\u0627\u064a\u0629 \u0623\u0645\u0631\u064a\u0643\u064a\u0629 \u0641\u064a \u0639\u0627\u0645 1973 \u0628\u062a\u0647\u0645\u0629 <em>\u0627\u0644\u0642\u062a\u0644<\/em> <em>\u0648\u0627\u0644\u0627\u0639\u062a\u062f\u0627\u0621<\/em> <em>\u0648\u0627\u0644\u0627\u063a\u062a\u0635\u0627\u0628<\/em> \u060c \u0628\u0627\u0644\u0625\u0636\u0627\u0641\u0629 \u0625\u0644\u0649 \u0627\u0644\u0646\u0633\u0628\u0629 \u0627\u0644\u0645\u0626\u0648\u064a\u0629 \u0644\u0633\u0643\u0627\u0646 \u0643\u0644 \u0648\u0644\u0627\u064a\u0629 \u0627\u0644\u0630\u064a\u0646 \u064a\u0639\u064a\u0634\u0648\u0646 \u0641\u064a \u0627\u0644\u0645\u0646\u0627\u0637\u0642 \u0627\u0644\u062d\u0636\u0631\u064a\u0629 \u0627\u0644\u0645\u0646\u0627\u0637\u0642. <em>\u0623\u0648\u0631\u0628\u0627\u0646 \u0628\u0648\u0628<\/em> .<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0648\u0636\u062d \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062a\u0627\u0644\u064a \u0643\u064a\u0641\u064a\u0629 \u0627\u0644\u0642\u064a\u0627\u0645 \u0628\u0645\u0627 \u064a\u0644\u064a:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0642\u0645 \u0628\u062a\u062d\u0645\u064a\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a <em>USArrests<\/em><\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0642\u0645 \u0628\u0625\u0632\u0627\u0644\u0629 \u0643\u0627\u0641\u0629 \u0627\u0644\u0635\u0641\u0648\u0641 \u0630\u0627\u062a \u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u0641\u0642\u0648\u062f\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0642\u0645 \u0628\u0642\u064a\u0627\u0633 \u0643\u0644 \u0645\u062a\u063a\u064a\u0631 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u062a\u0648\u0633\u0637 0 \u0648\u0627\u0646\u062d\u0631\u0627\u0641 \u0645\u0639\u064a\u0627\u0631\u064a 1<\/span><\/li>\n<\/ul>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#load data<\/span>\ndf &lt;-USArrests\n\n<span style=\"color: #008080;\">#remove rows with missing values<\/span><\/strong>\n<strong>df &lt;- na. <span style=\"color: #3366ff;\">omitted<\/span> (df)\n\n<span style=\"color: #008080;\">#scale each variable to have a mean of 0 and sd of 1<\/span><\/strong>\n<strong>df &lt;- scale(df)\n\n<span style=\"color: #008080;\">#view first six rows of dataset<\/span>\nhead(df)\n\n               Murder Assault UrbanPop Rape\nAlabama 1.24256408 0.7828393 -0.5209066 -0.003416473\nAlaska 0.50786248 1.1068225 -1.2117642 2.484202941\nArizona 0.07163341 1.4788032 0.9989801 1.042878388\nArkansas 0.23234938 0.2308680 -1.0735927 -0.184916602\nCalifornia 0.27826823 1.2628144 1.7589234 2.067820292\nColorado 0.02571456 0.3988593 0.8608085 1.864967207\n<\/strong><\/pre>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 3: \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0644\u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoid \u0641\u064a \u0644\u063a\u0629 R\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>pam()<\/strong> \u060c \u0648\u0627\u0644\u062a\u064a \u062a\u0639\u0646\u064a &#8220;\u0627\u0644\u062a\u0642\u0633\u064a\u0645 \u062d\u0648\u0644 \u0627\u0644\u0645\u062a\u0648\u0633\u0637\u0627\u062a&#8221; \u0648\u062a\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u0635\u064a\u063a\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629:<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>pam(data, k, metric = &#8220;Euclidean&#8221;\u060c stand = FALSE)<\/strong><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0630\u0647\u0628:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a:<\/strong> \u0627\u0633\u0645 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a.<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0643:<\/strong> \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a.<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u0645\u062a\u0631\u064a:<\/strong> \u0627\u0644\u0645\u0642\u064a\u0627\u0633 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0644\u062d\u0633\u0627\u0628 \u0627\u0644\u0645\u0633\u0627\u0641\u0629. \u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0647\u0648 <em>Euclidean<\/em> \u0648\u0644\u0643\u0646 \u064a\u0645\u0643\u0646\u0643 \u0623\u064a\u0636\u064b\u0627 \u062a\u062d\u062f\u064a\u062f <em>manhattan<\/em> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u0648\u0642\u0648\u0641:<\/strong> \u0645\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 \u0633\u064a\u062a\u0645 \u062a\u0637\u0628\u064a\u0639 \u0643\u0644 \u0645\u062a\u063a\u064a\u0631 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0623\u0645 \u0644\u0627. \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0647\u064a \u0643\u0627\u0630\u0628\u0629.<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0646\u0638\u0631\u064b\u0627 \u0644\u0623\u0646\u0646\u0627 \u0644\u0627 \u0646\u0639\u0631\u0641 \u0645\u0633\u0628\u0642\u064b\u0627 \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0623\u0645\u062b\u0644\u060c \u0641\u0633\u0646\u0642\u0648\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0631\u0633\u0645\u064a\u0646 \u0628\u064a\u0627\u0646\u064a\u064a\u0646 \u0645\u062e\u062a\u0644\u0641\u064a\u0646 \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u0633\u0627\u0639\u062f\u0648\u0646\u0627 \u0641\u064a \u0627\u062a\u062e\u0627\u0630 \u0627\u0644\u0642\u0631\u0627\u0631:<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>1. \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0646\u0633\u0628\u0629 \u0625\u0644\u0649 \u0627\u0644\u0645\u062c\u0645\u0648\u0639 \u0641\u064a \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0645\u0631\u0628\u0639\u0627\u062a<\/strong><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u0648\u0644\u0627\u064b\u060c \u0633\u0646\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>fviz_nbclust()<\/strong> \u0644\u0625\u0646\u0634\u0627\u0621 \u0631\u0633\u0645 \u0628\u064a\u0627\u0646\u064a \u0644\u0639\u062f\u062f \u0627\u0644\u0639\u0646\u0627\u0642\u064a\u062f \u0645\u0642\u0627\u0628\u0644 \u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a \u0641\u064a \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0645\u0631\u0628\u0639\u0627\u062a:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>fviz_nbclust(df, pam, method = \u201c <span style=\"color: #008000;\">wss<\/span> \u201d)<\/strong> <\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12327 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmedoide1.png\" alt=\"\u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0645\u062b\u0627\u0644\u064a\u0629 \u0644\u0640 k-medoids\" width=\"462\" height=\"449\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0628\u0634\u0643\u0644 \u0639\u0627\u0645\u060c \u0633\u064a\u0632\u062f\u0627\u062f \u0625\u062c\u0645\u0627\u0644\u064a \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0645\u0631\u0628\u0639\u0627\u062a \u062f\u0627\u0626\u0645\u064b\u0627 \u0645\u0639 \u0632\u064a\u0627\u062f\u0629 \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a. \u0644\u0630\u0644\u0643 \u0639\u0646\u062f\u0645\u0627 \u0646\u0642\u0648\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0647\u0630\u0627 \u0627\u0644\u0646\u0648\u0639 \u0645\u0646 \u0627\u0644\u062d\u0628\u0643\u0629\u060c \u0641\u0625\u0646\u0646\u0627 \u0646\u0628\u062d\u062b \u0639\u0646 &#8220;\u0631\u0643\u0628\u0629&#8221; \u062d\u064a\u062b \u064a\u0628\u062f\u0623 \u0645\u062c\u0645\u0648\u0639 \u0627\u0644\u0645\u0631\u0628\u0639\u0627\u062a \u0641\u064a &#8220;\u0627\u0644\u0627\u0646\u062d\u0646\u0627\u0621&#8221; \u0623\u0648 \u0627\u0644\u0627\u0633\u062a\u0642\u0631\u0627\u0631.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u062a\u0648\u0627\u0641\u0642 \u0646\u0642\u0637\u0629 \u0627\u0646\u062d\u0646\u0627\u0621 \u0642\u0637\u0639\u0629 \u0627\u0644\u0623\u0631\u0636 \u0639\u0645\u0648\u0645\u064b\u0627 \u0645\u0639 \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a. \u0648\u0628\u0639\u062f \u0647\u0630\u0627 \u0627\u0644\u0631\u0642\u0645\u060c \u0645\u0646 \u0627\u0644\u0645\u0631\u062c\u062d \u0623\u0646 \u064a\u062d\u062f\u062b <a href=\"https:\/\/statorials.org\/ar\/\u0627\u0644\u0627\u0655\u0641\u0631\u0627\u0637-\u0641\u064a-\u062a\u0639\u0644\u0645-\u0627\u0644\u0627\u0653\u0644\u0629\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0641\u0631\u0637 \u0627\u0644\u062a\u062c\u0647\u064a\u0632<\/a> .<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0628\u0627\u0644\u0646\u0633\u0628\u0629 \u0644\u0647\u0630\u0627 \u0627\u0644\u0631\u0633\u0645 \u0627\u0644\u0628\u064a\u0627\u0646\u064a\u060c \u064a\u0628\u062f\u0648 \u0623\u0646 \u0647\u0646\u0627\u0643 \u0627\u0646\u062d\u0646\u0627\u0621 \u0635\u063a\u064a\u0631 \u0623\u0648 &#8220;\u0627\u0646\u062d\u0646\u0627\u0621&#8221; \u0639\u0646\u062f k = 4 \u0645\u062c\u0645\u0648\u0639\u0627\u062a.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>2. \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u0642\u0627\u0628\u0644 \u0625\u062d\u0635\u0627\u0621\u0627\u062a \u0627\u0644\u0641\u062c\u0648\u0627\u062a<\/strong><\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0647\u0646\u0627\u0643 \u0637\u0631\u064a\u0642\u0629 \u0623\u062e\u0631\u0649 \u0644\u062a\u062d\u062f\u064a\u062f \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0648\u0647\u064a \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0645\u0642\u064a\u0627\u0633 \u064a\u0633\u0645\u0649 <a style=\"color: #000000;\" href=\"https:\/\/web.stanford.edu\/~hastie\/Papers\/gap.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">\u0625\u062d\u0635\u0627\u0626\u064a\u0629 \u0627\u0644\u0627\u0646\u062d\u0631\u0627\u0641<\/a> \u060c \u0648\u0627\u0644\u0630\u064a \u064a\u0642\u0627\u0631\u0646 \u0625\u062c\u0645\u0627\u0644\u064a \u0627\u0644\u062a\u0628\u0627\u064a\u0646 \u062f\u0627\u062e\u0644 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0644\u0642\u064a\u0645 k \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629 \u0645\u0639 \u0642\u064a\u0645\u0647\u0627 \u0627\u0644\u0645\u062a\u0648\u0642\u0639\u0629 \u0644\u0644\u062a\u0648\u0632\u064a\u0639 \u0628\u062f\u0648\u0646 \u062a\u062c\u0645\u064a\u0639.<\/span><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0646\u0627 \u062d\u0633\u0627\u0628 \u0625\u062d\u0635\u0627\u0626\u064a\u0629 \u0627\u0644\u0641\u062c\u0648\u0629 \u0644\u0643\u0644 \u0639\u062f\u062f \u0645\u0646 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>clusGap()<\/strong> \u0645\u0646 \u062d\u0632\u0645\u0629 <em>\u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629<\/em> \u0628\u0627\u0644\u0625\u0636\u0627\u0641\u0629 \u0625\u0644\u0649 \u0631\u0633\u0645 \u0628\u064a\u0627\u0646\u064a \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u0642\u0627\u0628\u0644 \u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0627\u0644\u0641\u062c\u0648\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>fviz_gap_stat()<\/strong> :<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#calculate gap statistic based on number of clusters\n<\/span>gap_stat &lt;- clusGap(df,\n                    FUN = pam,\n                    K.max = 10, <span style=\"color: #008080;\">#max clusters to consider<\/span>\n                    B = 50) <span style=\"color: #008080;\">#total bootstrapped iterations<\/span>\n\n<span style=\"color: #008080;\">#plot number of clusters vs. gap statistic\n<\/span>fviz_gap_stat(gap_stat)<\/strong> <\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12328 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmedoide2.png\" alt=\"K-medoids \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0641\u064a R\" width=\"443\" height=\"441\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u0646 \u0627\u0644\u0631\u0633\u0645 \u0627\u0644\u0628\u064a\u0627\u0646\u064a\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0623\u0646 \u0646\u0631\u0649 \u0623\u0646 \u0625\u062d\u0635\u0627\u0626\u064a\u0629 \u0627\u0644\u0641\u062c\u0648\u0629 \u0647\u064a \u0627\u0644\u0623\u0639\u0644\u0649 \u0639\u0646\u062f k = 4 \u0645\u062c\u0645\u0648\u0639\u0627\u062a\u060c \u0648\u0647\u0648 \u0645\u0627 \u064a\u062a\u0648\u0627\u0641\u0642 \u0645\u0639 \u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0643\u0648\u0639 \u0627\u0644\u062a\u064a \u0627\u0633\u062a\u062e\u062f\u0645\u0646\u0627\u0647\u0627 \u0633\u0627\u0628\u0642\u064b\u0627.<\/span><\/p>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0627\u0644\u062e\u0637\u0648\u0629 4: \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 K-Medoids \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Optimal <em>K<\/em><\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u062e\u064a\u0631\u064b\u0627\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u062b\u0627\u0644\u064a\u0629 \u0644\u0640 <em>k<\/em> \u0644\u0640 4:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#make this example reproducible\n<span style=\"color: #000000;\">set.seed(1)<\/span>\n\n#perform k-medoids clustering with k = 4 clusters\n<\/span>kmed &lt;- pam(df, k = 4)\n\n<span style=\"color: #008080;\">#view results\n<\/span>kmed\n\n              ID Murder Assault UrbanPop Rape\nAlabama 1 1.2425641 0.7828393 -0.5209066 -0.003416473\nMichigan 22 0.9900104 1.0108275 0.5844655 1.480613993\nOklahoma 36 -0.2727580 -0.2371077 0.1699510 -0.131534211\nNew Hampshire 29 -1.3059321 -1.3650491 -0.6590781 -1.252564419\nVector clustering:\n       Alabama Alaska Arizona Arkansas California \n             1 2 2 1 2 \n      Colorado Connecticut Delaware Florida Georgia \n             2 3 3 2 1 \n        Hawaii Idaho Illinois Indiana Iowa \n             3 4 2 3 4 \n        Kansas Kentucky Louisiana Maine Maryland \n             3 3 1 4 2 \n Massachusetts Michigan Minnesota Mississippi Missouri \n             3 2 4 1 3 \n       Montana Nebraska Nevada New Hampshire New Jersey \n             3 3 2 4 3 \n    New Mexico New York North Carolina North Dakota Ohio \n             2 2 1 4 3 \n      Oklahoma Oregon Pennsylvania Rhode Island South Carolina \n             3 3 3 3 1 \n  South Dakota Tennessee Texas Utah Vermont \n             4 1 2 3 4 \n      Virginia Washington West Virginia Wisconsin Wyoming \n             3 3 4 4 3 \nObjective function:\n   build swap \n1.035116 1.027102 \n\nAvailable components:\n [1] \"medoids\" \"id.med\" \"clustering\" \"objective\" \"isolation\" \n [6] \"clusinfo\" \"silinfo\" \"diss\" \"call\" \"data\"          \n<\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0644\u0627\u062d\u0638 \u0623\u0646 \u062c\u0645\u064a\u0639 \u0627\u0644\u0646\u0642\u0637 \u0627\u0644\u0648\u0633\u0637\u0649 \u0627\u0644\u0639\u0646\u0642\u0648\u062f\u064a\u0629 \u0627\u0644\u0623\u0631\u0628\u0639\u0629 \u0647\u064a \u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0641\u0639\u0644\u064a\u0629 \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a. \u0628\u0627\u0644\u0642\u0631\u0628 \u0645\u0646 \u0627\u0644\u062c\u0632\u0621 \u0627\u0644\u0639\u0644\u0648\u064a \u0645\u0646 \u0627\u0644\u0646\u0627\u062a\u062c\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0623\u0646 \u0646\u0631\u0649 \u0623\u0646 \u0627\u0644\u0646\u0642\u0637 \u0627\u0644\u0648\u0633\u0637\u0649 \u0627\u0644\u0623\u0631\u0628\u0639\u0629 \u0647\u064a \u0627\u0644\u062d\u0627\u0644\u0627\u062a \u0627\u0644\u062a\u0627\u0644\u064a\u0629:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u0644\u0627\u0628\u0627\u0645\u0627<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u064a\u0634\u064a\u063a\u0627\u0646<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0623\u0648\u0643\u0644\u0627\u0647\u0648\u0645\u0627<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0646\u064a\u0648 \u0647\u0627\u0645\u0628\u0634\u0627\u064a\u0631<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0646\u0627 \u062a\u0635\u0648\u0631 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0639\u0644\u0649 \u0645\u062e\u0637\u0637 \u0627\u0644\u062a\u0634\u062a\u062a \u0627\u0644\u0630\u064a \u064a\u0639\u0631\u0636 \u0623\u0648\u0644 \u0645\u0643\u0648\u0646\u064a\u0646 \u0631\u0626\u064a\u0633\u064a\u064a\u0646 \u0639\u0644\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>fivz_cluster()<\/strong> :<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#plot results of final k-medoids model\n<span style=\"color: #000000;\">fviz_cluster(kmed, data = df)\n<\/span><\/span><\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12329 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmedoide3.png\" alt=\"\u0631\u0633\u0645 \u0645\u062c\u0645\u0648\u0639\u0627\u062a k-medoid \u0641\u064a R\" width=\"497\" height=\"500\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0646\u0627 \u0623\u064a\u0636\u064b\u0627 \u0625\u0636\u0627\u0641\u0629 \u062a\u062e\u0635\u064a\u0635\u0627\u062a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0644\u0643\u0644 \u0648\u0644\u0627\u064a\u0629 \u0625\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0623\u0635\u0644\u064a\u0629:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#add cluster assignment to original data\n<span style=\"color: #000000;\">final_data &lt;- cbind(USArrests, cluster = kmed$cluster)\n<\/span>\n#view final data\n<span style=\"color: #000000;\">head(final_data)\n\n           Murder Assault UrbanPop Rape cluster\nAlabama 13.2 236 58 21.2 1\nAlaska 10.0 263 48 44.5 2\nArizona 8.1 294 80 31.0 2\nArkansas 8.8 190 50 19.5 1\nCalifornia 9.0 276 91 40.6 2\nColorado 7.9 204 78 38.7 2\n<\/span><\/span><\/strong><\/pre>\n<hr>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0631\u0645\u0632 R \u0627\u0644\u0643\u0627\u0645\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0645\u062b\u0627\u0644 <a href=\"https:\/\/github.com\/- Statorials\/R-Guides\/blob\/main\/k_medoids.R\" target=\"_blank\" rel=\"noopener noreferrer\">\u0647\u0646\u0627<\/a> .<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0647\u0648 \u0623\u0633\u0644\u0648\u0628 \u0644\u0644\u062a\u0639\u0644\u0645 \u0627\u0644\u0622\u0644\u064a \u064a\u062d\u0627\u0648\u0644 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0623\u0648 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u0646 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0636\u0645\u0646 \u0645\u062c\u0645\u0648\u0639\u0629 \u0628\u064a\u0627\u0646\u0627\u062a. \u0627\u0644\u0647\u062f\u0641 \u0647\u0648 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0628\u062d\u064a\u062b \u062a\u0643\u0648\u0646 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u062f\u0627\u062e\u0644 \u0643\u0644 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u062a\u0634\u0627\u0628\u0647\u0629 \u062a\u0645\u0627\u0645\u064b\u0627 \u0645\u0639 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636\u060c \u0641\u064a \u062d\u064a\u0646 \u0623\u0646 \u0627\u0644\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0641\u064a \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u0629 \u062a\u062e\u062a\u0644\u0641 \u062a\u0645\u0627\u0645\u064b\u0627 \u0639\u0646 \u0628\u0639\u0636\u0647\u0627 \u0627\u0644\u0628\u0639\u0636. \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0647\u0648 \u0634\u0643\u0644 \u0645\u0646 \u0623\u0634\u0643\u0627\u0644 \u0627\u0644\u062a\u0639\u0644\u0645 \u063a\u064a\u0631 \u0627\u0644\u062e\u0627\u0636\u0639 \u0644\u0644\u0631\u0642\u0627\u0628\u0629 \u0644\u0623\u0646\u0646\u0627 \u0646\u062d\u0627\u0648\u0644 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629<\/title>\n<meta name=\"description\" content=\"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ar\/\u0643-\u0645\u064a\u062f\u0648\u064a\u062f\u0633-\u0641\u064a-\u0635\/\" \/>\n<meta property=\"og:locale\" content=\"az_AZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629\" \/>\n<meta property=\"og:description\" content=\"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ar\/\u0643-\u0645\u064a\u062f\u0648\u064a\u062f\u0633-\u0641\u064a-\u0635\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T03:54:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmedoide1.png\" \/>\n<meta name=\"author\" content=\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/\",\"url\":\"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/\",\"name\":\"K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ar\/#website\"},\"datePublished\":\"2023-07-27T03:54:17+00:00\",\"dateModified\":\"2023-07-27T03:54:17+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3\"},\"description\":\"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/#breadcrumb\"},\"inLanguage\":\"azb\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0628\u064a\u062a\",\"item\":\"https:\/\/statorials.org\/ar\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"K-medoids \u0641\u064a r: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ar\/#website\",\"url\":\"https:\/\/statorials.org\/ar\/\",\"name\":\"Statorials\",\"description\":\"\u062f\u0644\u064a\u0644\u0643 \u0644\u0645\u062d\u0648 \u0627\u0644\u0623\u0645\u064a\u0629 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0629!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ar\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"azb\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3\",\"name\":\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"azb\",\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646\"},\"description\":\"\u0645\u0631\u062d\u0628\u064b\u0627\u060c \u0623\u0646\u0627 \u0628\u0646\u062c\u0627\u0645\u064a\u0646\u060c \u0623\u0633\u062a\u0627\u0630 \u0627\u0644\u0625\u062d\u0635\u0627\u0621 \u0627\u0644\u0645\u062a\u0642\u0627\u0639\u062f \u0627\u0644\u0630\u064a \u062a\u062d\u0648\u0644 \u0625\u0644\u0649 \u0645\u062f\u0631\u0633 \u0645\u062a\u062e\u0635\u0635 \u0641\u064a Statorials. \u0628\u0641\u0636\u0644 \u062e\u0628\u0631\u062a\u064a \u0627\u0644\u0648\u0627\u0633\u0639\u0629 \u0641\u064a \u0645\u062c\u0627\u0644 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\u060c \u0641\u0623\u0646\u0627 \u062d\u0631\u064a\u0635 \u0639\u0644\u0649 \u0645\u0634\u0627\u0631\u0643\u0629 \u0645\u0639\u0631\u0641\u062a\u064a \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0637\u0644\u0627\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644 Statorials. \u062a\u0639\u0631\u0641 \u0623\u0643\u062b\u0631\",\"sameAs\":[\"https:\/\/statorials.org\/ar\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629","description":"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ar\/\u0643-\u0645\u064a\u062f\u0648\u064a\u062f\u0633-\u0641\u064a-\u0635\/","og_locale":"az_AZ","og_type":"article","og_title":"K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629","og_description":"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.","og_url":"https:\/\/statorials.org\/ar\/\u0643-\u0645\u064a\u062f\u0648\u064a\u062f\u0633-\u0641\u064a-\u0635\/","og_site_name":"Statorials","article_published_time":"2023-07-27T03:54:17+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmedoide1.png"}],"author":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/","url":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/","name":"K-Medoids \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629","isPartOf":{"@id":"https:\/\/statorials.org\/ar\/#website"},"datePublished":"2023-07-27T03:54:17+00:00","dateModified":"2023-07-27T03:54:17+00:00","author":{"@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3"},"description":"\u064a\u0642\u062f\u0645 \u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a \u0645\u062b\u0627\u0644\u0627\u064b \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 k-medoids \u0641\u064a R.","breadcrumb":{"@id":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/#breadcrumb"},"inLanguage":"azb","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ar\/%d9%83-%d9%85%d9%8a%d8%af%d9%88%d9%8a%d8%af%d8%b3-%d9%81%d9%8a-%d8%b5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0628\u064a\u062a","item":"https:\/\/statorials.org\/ar\/"},{"@type":"ListItem","position":2,"name":"K-medoids \u0641\u064a r: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ar\/#website","url":"https:\/\/statorials.org\/ar\/","name":"Statorials","description":"\u062f\u0644\u064a\u0644\u0643 \u0644\u0645\u062d\u0648 \u0627\u0644\u0623\u0645\u064a\u0629 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0629!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ar\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"azb"},{"@type":"Person","@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3","name":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646","image":{"@type":"ImageObject","inLanguage":"azb","@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ar\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u062f\u0643\u062a\u0648\u0631 \u0628\u0646\u064a\u0627\u0645\u064a\u0646 \u0623\u0646\u062f\u0631\u0633\u0648\u0646"},"description":"\u0645\u0631\u062d\u0628\u064b\u0627\u060c \u0623\u0646\u0627 \u0628\u0646\u062c\u0627\u0645\u064a\u0646\u060c \u0623\u0633\u062a\u0627\u0630 \u0627\u0644\u0625\u062d\u0635\u0627\u0621 \u0627\u0644\u0645\u062a\u0642\u0627\u0639\u062f \u0627\u0644\u0630\u064a \u062a\u062d\u0648\u0644 \u0625\u0644\u0649 \u0645\u062f\u0631\u0633 \u0645\u062a\u062e\u0635\u0635 \u0641\u064a Statorials. \u0628\u0641\u0636\u0644 \u062e\u0628\u0631\u062a\u064a \u0627\u0644\u0648\u0627\u0633\u0639\u0629 \u0641\u064a \u0645\u062c\u0627\u0644 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\u060c \u0641\u0623\u0646\u0627 \u062d\u0631\u064a\u0635 \u0639\u0644\u0649 \u0645\u0634\u0627\u0631\u0643\u0629 \u0645\u0639\u0631\u0641\u062a\u064a \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0637\u0644\u0627\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644 Statorials. \u062a\u0639\u0631\u0641 \u0623\u0643\u062b\u0631","sameAs":["https:\/\/statorials.org\/ar"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts\/1244"}],"collection":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/comments?post=1244"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts\/1244\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/media?parent=1244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/categories?post=1244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/tags?post=1244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}