{"id":1242,"date":"2023-07-27T04:03:40","date_gmt":"2023-07-27T04:03:40","guid":{"rendered":"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/"},"modified":"2023-07-27T04:03:40","modified_gmt":"2023-07-27T04:03:40","slug":"k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r","status":"publish","type":"post","link":"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/","title":{"rendered":"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \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 <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 <strong>\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0628\u0627\u0644\u0648\u0633\u0627\u0626\u0644 k<\/strong> .<\/span><\/p>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0627 \u0647\u0648 K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639\u061f<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0625\u0646 \u062a\u062c\u0645\u064a\u0639 \u0648\u0633\u0627\u0626\u0644 K \u0647\u0648 \u0623\u0633\u0644\u0648\u0628 \u0646\u0636\u0639 \u0641\u064a\u0647 \u0643\u0644 \u0645\u0644\u0627\u062d\u0638\u0629 \u0645\u0646 \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 \u0628\u0628\u0633\u0627\u0637\u0629 \u0646\u0627\u0642\u0644 \u0645\u064a\u0632\u0627\u062a <em>p-<\/em> \u0644\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<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \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 \u0644\u0643\u064a\u0641\u064a\u0629 \u0625\u062c\u0631\u0627\u0621 \u062a\u062c\u0645\u064a\u0639 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \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 \u0639\u062f\u0629 \u0648\u0638\u0627\u0626\u0641 \u0645\u0641\u064a\u062f\u0629 \u0644\u062a\u062c\u0645\u064a\u0639 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \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\u062a\u0646\u0641\u064a\u0630 \u062a\u062c\u0645\u064a\u0639 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0641\u064a R\u060c \u064a\u0645\u0643\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>kmeans()<\/strong> \u0627\u0644\u0645\u0636\u0645\u0646\u0629\u060c \u0648\u0627\u0644\u062a\u064a \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>kmeans (\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\u060c \u0627\u0644\u0645\u0631\u0627\u0643\u0632\u060c nstart)<\/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>\u0627\u0644\u0645\u0631\u0627\u0643\u0632:<\/strong> \u0639\u062f\u062f \u0627\u0644\u062a\u062c\u0645\u0639\u0627\u062a\u060c \u0627\u0644\u0645\u0634\u0627\u0631 \u0625\u0644\u064a\u0647\u0627 <em>\u0643<\/em> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>nstart:<\/strong> \u0639\u062f\u062f \u0627\u0644\u062a\u0643\u0648\u064a\u0646\u0627\u062a \u0627\u0644\u0623\u0648\u0644\u064a\u0629. \u0646\u0638\u0631\u064b\u0627 \u0644\u0623\u0646\u0647 \u0645\u0646 \u0627\u0644\u0645\u0645\u0643\u0646 \u0623\u0646 \u062a\u0624\u062f\u064a \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0628\u062f\u0627\u064a\u0629 \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629 \u0625\u0644\u0649 \u0646\u062a\u0627\u0626\u062c \u0645\u062e\u062a\u0644\u0641\u0629\u060c \u0641\u0645\u0646 \u0627\u0644\u0645\u0633\u062a\u062d\u0633\u0646 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0639\u062f\u0629 \u062a\u0643\u0648\u064a\u0646\u0627\u062a \u0623\u0648\u0644\u064a\u0629 \u0645\u062e\u062a\u0644\u0641\u0629. \u0633\u0648\u0641 \u062a\u062c\u062f \u062e\u0648\u0627\u0631\u0632\u0645\u064a\u0629 k-means \u0627\u0644\u062a\u0643\u0648\u064a\u0646\u0627\u062a \u0627\u0644\u0623\u0648\u0644\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u0624\u062f\u064a \u0625\u0644\u0649 \u0623\u0635\u063a\u0631 \u0627\u062e\u062a\u0644\u0627\u0641 \u062f\u0627\u062e\u0644 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\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, kmeans, 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-12310 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmmoyenne1.png\" alt=\"\u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0641\u064a k \u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639\" width=\"444\" height=\"434\" srcset=\"\" sizes=\"\"><\/p>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0639\u0627\u062f\u0629\u060c \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;\u0627\u0644\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. \u0647\u0630\u0627 \u0647\u0648 \u0628\u0634\u0643\u0644 \u0639\u0627\u0645 \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a.<\/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> \u0648\u0643\u0630\u0644\u0643 \u0631\u0633\u0645 \u0627\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 = kmeans,\n                    nstart = 25,\n                    K.max = 10,\n                    B = 50)\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-12311 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/moyenne-km2.png\" alt=\"\u0625\u062d\u0635\u0627\u0626\u064a\u0629 \u0627\u0644\u0627\u0646\u062d\u0631\u0627\u0641 \u0644\u0644\u0639\u062f\u062f \u0627\u0644\u0623\u0645\u062b\u0644 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a\" width=\"454\" height=\"445\" 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: \u062a\u0646\u0641\u064a\u0630 \u0645\u062c\u0645\u0648\u0639\u0629 K-Means \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 \u0644\u0648\u0633\u0627\u0626\u0644 k \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-means clustering with k = 4 clusters\n<\/span>km &lt;- kmeans(df, centers = 4, nstart = 25)\n\n<span style=\"color: #008080;\">#view results\n<\/span>km\n\nK-means clustering with 4 clusters of sizes 16, 13, 13, 8\n\nCluster means:\n      Murder Assault UrbanPop Rape\n1 -0.4894375 -0.3826001 0.5758298 -0.26165379\n2 -0.9615407 -1.1066010 -0.9301069 -0.96676331\n3 0.6950701 1.0394414 0.7226370 1.27693964\n4 1.4118898 0.8743346 -0.8145211 0.01927104\n\nVector clustering:\n       Alabama Alaska Arizona Arkansas California Colorado \n             4 3 3 4 3 3 \n   Connecticut Delaware Florida Georgia Hawaii Idaho \n             1 1 3 4 1 2 \n      Illinois Indiana Iowa Kansas Kentucky Louisiana \n             3 1 2 1 2 4 \n         Maine Maryland Massachusetts Michigan Minnesota Mississippi \n             2 3 1 3 2 4 \n      Missouri Montana Nebraska Nevada New Hampshire New Jersey \n             3 2 2 3 2 1 \n    New Mexico New York North Carolina North Dakota Ohio Oklahoma \n             3 3 4 2 1 1 \n        Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee \n             1 1 1 4 2 4 \n         Texas Utah Vermont Virginia Washington West Virginia \n             3 1 2 1 1 2 \n     Wisconsin Wyoming \n             2 1 \n\nWithin cluster sum of squares by cluster:\n[1] 16.212213 11.952463 19.922437 8.316061\n (between_SS \/ total_SS = 71.2%)\n\nAvailable components:\n\n[1] \"cluster\" \"centers\" \"totss\" \"withinss\" \"tot.withinss\" \"betweenss\"   \n[7] \"size\" \"iter\" \"ifault\"         \n<\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u0645\u0646 \u0627\u0644\u0646\u062a\u0627\u0626\u062c \u064a\u062a\u0628\u064a\u0646 \u0644\u0646\u0627 \u0623\u0646:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u0645 \u062a\u062e\u0635\u064a\u0635 <b>16<\/b> \u0648\u0644\u0627\u064a\u0629 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0623\u0648\u0644\u0649<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u062a\u0645 \u062a\u062e\u0635\u064a\u0635 <strong>13<\/strong> \u0648\u0644\u0627\u064a\u0629 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u062b\u0627\u0646\u064a\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u062a\u0645 \u062a\u062e\u0635\u064a\u0635 <strong>13<\/strong> \u0648\u0644\u0627\u064a\u0629 \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u062b\u0627\u0644\u062b\u0629<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u062a\u0645 \u062a\u062e\u0635\u064a\u0635 <b>8<\/b> \u0648\u0644\u0627\u064a\u0627\u062a \u0644\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0631\u0627\u0628\u0639\u0629<\/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-means model\n<span style=\"color: #000000;\">fviz_cluster(km, data = df)\n<\/span><\/span><\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12313 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmmoyenne4.png\" alt=\"K- \u064a\u0639\u0646\u064a \u0645\u0624\u0627\u0645\u0631\u0629 \u0639\u0646\u0642\u0648\u062f\u064a\u0629 \u0641\u064a R\" width=\"475\" height=\"472\" 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 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062f\u0627\u0644\u0629 <strong>Aggregate()<\/strong> \u200e \u0644\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0645\u062a\u0648\u0633\u0637 \u0627\u0644\u0645\u062a\u063a\u064a\u0631\u0627\u062a \u0641\u064a \u0643\u0644 \u0645\u062c\u0645\u0648\u0639\u0629:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#find means of each cluster\n<span style=\"color: #000000;\">aggregate(USArrests, by= <span style=\"color: #3366ff;\">list<\/span> (cluster=km$cluster), mean)\n\ncluster Murder Assault UrbanPop Rape\n\t\t\t\t\n1 3.60000 78.53846 52.07692 12.17692\n2 10.81538 257.38462 76.00000 33.19231\n3 5.65625 138.87500 73.87500 18.78125\n4 13.93750 243.62500 53.75000 21.41250\n<\/span><\/span><\/strong><\/pre>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0646\u062d\u0646 \u0646\u0641\u0633\u0631 \u0647\u0630\u0627 \u0627\u0644\u0625\u062e\u0631\u0627\u062c \u0639\u0644\u0649 \u0627\u0644\u0646\u062d\u0648 \u0627\u0644\u062a\u0627\u0644\u064a:<\/span><\/p>\n<ul style=\";text-align:right;direction:rtl\">\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u064a\u0628\u0644\u063a \u0645\u062a\u0648\u0633\u0637 \u0639\u062f\u062f \u062c\u0631\u0627\u0626\u0645 \u0627\u0644\u0642\u062a\u0644 \u0644\u0643\u0644 100 \u0623\u0644\u0641 \u0645\u0648\u0627\u0637\u0646 \u0641\u064a \u062f\u0648\u0644 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 <strong>3.6<\/strong> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u064a\u0628\u0644\u063a \u0645\u062a\u0648\u0633\u0637 \u0639\u062f\u062f \u0627\u0644\u0627\u0639\u062a\u062f\u0627\u0621\u0627\u062a \u0644\u0643\u0644 100 \u0623\u0644\u0641 \u0645\u0648\u0627\u0637\u0646 \u0628\u064a\u0646 \u062f\u0648\u0644 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 <strong>78.5<\/strong> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0628\u0644\u063a \u0645\u062a\u0648\u0633\u0637 \u0627\u0644\u0646\u0633\u0628\u0629 \u0627\u0644\u0645\u0626\u0648\u064a\u0629 \u0644\u0644\u0633\u0643\u0627\u0646 \u0627\u0644\u0630\u064a\u0646 \u064a\u0639\u064a\u0634\u0648\u0646 \u0641\u064a \u0645\u0646\u0637\u0642\u0629 \u062d\u0636\u0631\u064a\u0629 \u0628\u064a\u0646 \u0648\u0644\u0627\u064a\u0627\u062a \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 <b>52.1%<\/b> .<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0645\u062a\u0648\u0633\u0637 \u0639\u062f\u062f \u062d\u0627\u0644\u0627\u062a \u0627\u0644\u0627\u063a\u062a\u0635\u0627\u0628 \u0644\u0643\u0644 100.000 \u0645\u0648\u0627\u0637\u0646 \u0628\u064a\u0646 \u062f\u0648\u0644 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u0647\u0648 <strong>12.2<\/strong> <strong>.<\/strong><\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643 \u0648\u0647\u0644\u0645 \u062c\u0631\u0627.<\/span><\/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 = km$cluster)\n<\/span>\n#view final data\n<span style=\"color: #000000;\">head(final_data)\n\n\t<\/span><span style=\"color: #000000;\">Murder Assault UrbanPop<\/span> <span style=\"color: #000000;\">Rape<\/span> <span style=\"color: #000000;\">cluster\n\t\t\t\t\nAlabama<\/span> <span style=\"color: #000000;\">13.2<\/span> <span style=\"color: #000000;\">236 58<\/span> <span style=\"color: #000000;\">21.2<\/span> <span style=\"color: #000000;\">4\nAlaska<\/span> <span style=\"color: #000000;\">10.0 263 48<\/span> <span style=\"color: #000000;\">44.5<\/span> <span style=\"color: #000000;\">2\nArizona<\/span> <span style=\"color: #000000;\">8.1 294 80<\/span> <span style=\"color: #000000;\">31.0<\/span> <span style=\"color: #000000;\">2\nArkansas<\/span> <span style=\"color: #000000;\">8.8 190 50<\/span> <span style=\"color: #000000;\">19.5<\/span> <span style=\"color: #000000;\">4\nCalifornia<\/span> <span style=\"color: #000000;\">9.0 276 91<\/span> <span style=\"color: #000000;\">40.6<\/span> <span style=\"color: #000000;\">2\nColorado<\/span> <span style=\"color: #000000;\">7.9 204 78<\/span> <span style=\"color: #000000;\">38.7<\/span> <span style=\"color: #000000;\">2\n<\/span><\/span><\/strong><\/pre>\n<h3 style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\"><strong>\u0645\u0632\u0627\u064a\u0627 \u0648\u0639\u064a\u0648\u0628 K-Means Clustering<\/strong><\/span><\/h3>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0648\u0641\u0631 \u062a\u062c\u0645\u064a\u0639 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 K \u0627\u0644\u0645\u0632\u0627\u064a\u0627 \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;\">\u0625\u0646\u0647\u0627 \u062e\u0648\u0627\u0631\u0632\u0645\u064a\u0629 \u0633\u0631\u064a\u0639\u0629.<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u064a\u0645\u0643\u0646\u0647 \u0627\u0644\u062a\u0639\u0627\u0645\u0644 \u0645\u0639 \u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0643\u0628\u064a\u0631\u0629 \u0628\u0634\u0643\u0644 \u062c\u064a\u062f.<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0648\u0645\u0639 \u0630\u0644\u0643\u060c \u0641\u0625\u0646\u0647 \u0644\u062f\u064a\u0647 \u0627\u0644\u0639\u064a\u0648\u0628 \u0627\u0644\u0645\u062d\u062a\u0645\u0644\u0629 \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;\">\u0648\u0647\u0630\u0627 \u064a\u062a\u0637\u0644\u0628 \u0645\u0646\u0627 \u062a\u062d\u062f\u064a\u062f \u0639\u062f\u062f \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0627\u062a \u0642\u0628\u0644 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062e\u0648\u0627\u0631\u0632\u0645\u064a\u0629.<\/span><\/li>\n<li style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0625\u0646\u0647\u0627 \u062d\u0633\u0627\u0633\u0629 \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u062a\u0637\u0631\u0641\u0629.<\/span><\/li>\n<\/ul>\n<p style=\";text-align:right;direction:rtl\"> <span style=\"color: #000000;\">\u0647\u0646\u0627\u0643 \u0628\u062f\u064a\u0644\u0627\u0646 \u0644\u0644\u062a\u062c\u0645\u064a\u0639 \u0628\u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0647\u0645\u0627 <a href=\"https:\/\/statorials.org\/ar\/\u0643-\u0645\u064a\u062f\u0648\u064a\u062f\u0633-\u0641\u064a-\u0635\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0628\u0627\u0644\u0648\u0633\u0627\u0626\u0644 k<\/a> \u0648\u0627\u0644\u062a\u062c\u0645\u0639 \u0627\u0644\u0647\u0631\u0645\u064a.<\/span><\/p>\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_means.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 \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 \u0628\u0628\u0633\u0627\u0637\u0629 \u0627\u0644\u0639\u062b\u0648\u0631 [&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-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621<\/title>\n<meta name=\"description\" content=\"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \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\/k-\u064a\u0639\u0646\u064a-\u0627\u0644\u062a\u062c\u0645\u064a\u0639-\u0641\u064a-r\/\" \/>\n<meta property=\"og:locale\" content=\"az_AZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\" \/>\n<meta property=\"og:description\" content=\"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0641\u064a R.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ar\/k-\u064a\u0639\u0646\u064a-\u0627\u0644\u062a\u062c\u0645\u064a\u0639-\u0641\u064a-r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T04:03:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmmoyenne1.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\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/\",\"url\":\"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/\",\"name\":\"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ar\/#website\"},\"datePublished\":\"2023-07-27T04:03:40+00:00\",\"dateModified\":\"2023-07-27T04:03:40+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3\"},\"description\":\"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0641\u064a R.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/#breadcrumb\"},\"inLanguage\":\"azb\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0628\u064a\u062a\",\"item\":\"https:\/\/statorials.org\/ar\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \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-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621","description":"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \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\/k-\u064a\u0639\u0646\u064a-\u0627\u0644\u062a\u062c\u0645\u064a\u0639-\u0641\u064a-r\/","og_locale":"az_AZ","og_type":"article","og_title":"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621","og_description":"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0641\u064a R.","og_url":"https:\/\/statorials.org\/ar\/k-\u064a\u0639\u0646\u064a-\u0627\u0644\u062a\u062c\u0645\u064a\u0639-\u0641\u064a-r\/","og_site_name":"Statorials","article_published_time":"2023-07-27T04:03:40+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/kmmoyenne1.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\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/","url":"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/","name":"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \u0641\u064a R: \u0645\u062b\u0627\u0644 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629 - \u0639\u0644\u0645 \u0627\u0644\u0625\u062d\u0635\u0627\u0621","isPartOf":{"@id":"https:\/\/statorials.org\/ar\/#website"},"datePublished":"2023-07-27T04:03:40+00:00","dateModified":"2023-07-27T04:03:40+00:00","author":{"@id":"https:\/\/statorials.org\/ar\/#\/schema\/person\/a0a26e65f97483429b863aae1a11e3b3"},"description":"\u064a\u0648\u0641\u0631 \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 \u0627\u0644\u0648\u0633\u0627\u0626\u0644 k \u0641\u064a R.","breadcrumb":{"@id":"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/#breadcrumb"},"inLanguage":"azb","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ar\/k-%d9%8a%d8%b9%d9%86%d9%8a-%d8%a7%d9%84%d8%aa%d8%ac%d9%85%d9%8a%d8%b9-%d9%81%d9%8a-r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0628\u064a\u062a","item":"https:\/\/statorials.org\/ar\/"},{"@type":"ListItem","position":2,"name":"K-\u064a\u0639\u0646\u064a \u0627\u0644\u062a\u062c\u0645\u064a\u0639 \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\/1242"}],"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=1242"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/posts\/1242\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/media?parent=1242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/categories?post=1242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ar\/wp-json\/wp\/v2\/tags?post=1242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}