{"id":2038,"date":"2023-07-23T23:32:33","date_gmt":"2023-07-23T23:32:33","guid":{"rendered":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/"},"modified":"2023-07-23T23:32:33","modified_gmt":"2023-07-23T23:32:33","slug":"%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf","status":"publish","type":"post","link":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/","title":{"rendered":"\ud574\uacb0 \ubc29\ubc95: randomforest.default(m, y, \u2026): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 na\/nan\/inf"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R\uc5d0\uc11c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>Error in randomForest.default(m, y, ...): \n  NA\/NaN\/Inf in foreign function call (arg 1)\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774 \uc624\ub958\ub294 \ub2e4\uc74c \ub450 \uac00\uc9c0 \uc774\uc720\ub85c \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\ub370\uc774\ud130 \uc138\ud2b8\uc5d0 NA, NaN \ub610\ub294 Inf \uac12\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/li>\n<li> <span style=\"color: #000000;\">\ub370\uc774\ud130\uc138\ud2b8\uc758 \ubcc0\uc218 \uc911 \ud558\ub098\ub294 \ubb38\uc790\uc785\ub2c8\ub2e4.<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\uc774 \uc624\ub958\ub97c \ud574\uacb0\ud558\ub294 \uac00\uc7a5 \uc26c\uc6b4 \ubc29\ubc95\uc740 \ub204\ub77d\ub41c \ub370\uc774\ud130\uac00 \uc788\ub294 \ud589\uc744 \uc81c\uac70\ud558\uace0 \ubb38\uc790 \ubcc0\uc218\ub97c \uc694\uc778 \ubcc0\uc218\ub85c \ubcc0\ud658\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#remove rows with missing values \n<\/span>df &lt;- na. <span style=\"color: #3366ff;\">omitted<\/span> (df)\n\n<span style=\"color: #008080;\">#convert all character variables to factor variables<\/span>\n<span style=\"color: #993300;\">library<\/span> (dplyr)\ndf %&gt;% mutate_if(is. <span style=\"color: #3366ff;\">character<\/span> , as. <span style=\"color: #3366ff;\">factor<\/span> )<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc2e4\uc81c\ub85c \uc774 \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc758 \uc608\ub97c \uacf5\uc720\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>\uad00\ub828 \ud56d\ubaa9:<\/strong><\/span> <a href=\"https:\/\/statorials.org\/ko\/r\u110b\u1174-\u1106\u116e\u110c\u1161\u11a8\u110b\u1171-\u1103\u1173\u1105\u1175\u11af\/\" target=\"_blank\" rel=\"noopener\">R\uc5d0\uc11c \ub79c\ub364 \ud3ec\ub808\uc2a4\ud2b8\ub97c \uc0dd\uc131\ud558\ub294 \ubc29\ubc95(\ub2e8\uacc4\ubcc4)<\/a><\/p>\n<h3> <strong>\uc624\ub958\ub97c \uc7ac\ud604\ud558\ub294 \ubc29\ubc95<\/strong><\/h3>\n<p> <span style=\"color: #000000;\">R\uc758 \ub2e4\uc74c \ub370\uc774\ud130 \ud504\ub808\uc784\uc5d0 \ub79c\ub364 \ud3ec\ub808\uc2a4\ud2b8\ub97c \ub9de\ucd94\ub824\uace0 \ud55c\ub2e4\uace0 \uac00\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #993300;\">library<\/span> (randomForest)\n\n<span style=\"color: #008080;\">#create data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (y &lt;- c(30, 29, 30, 45, 23, 19, 9, 8, 11, 14),\n                 x1 &lt;- c('A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'C', 'C'),\n                 x2 &lt;- c(4, 4, 5, 7, 8, 7, 9, 6, 13, 15))\n\n<span style=\"color: #008080;\">#attempt to fit random forest model\n<\/span>model &lt;- randomForest(formula = y ~ ., data = df)\n\nError in randomForest.default(m, y, ...):\n  NA\/NaN\/Inf in foreign function call (arg 1)<\/span><\/span><\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">x1\uc774 \ub370\uc774\ud130 \ud504\ub808\uc784\uc758 \ubb38\uc790 \ubcc0\uc218\uc774\uae30 \ub54c\ubb38\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>str()<\/strong> \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ud504\ub808\uc784\uc758 \uad6c\uc870\ub97c \ud45c\uc2dc\ud558\uba74 \uc774\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #000000;\"><span style=\"color: #993300;\"><span style=\"color: #000000;\">str(df)<\/span>\n\n<\/span>'data.frame': 10 obs. of 3 variables:\n $ y....c.30..29..30..45: num 30 29 30 45 23 19 9 8 11 14\n $ x1....c..A....A....B....B.... : chr \"A\" \"A\" \"B\" \"B\"\n $ x2....c.4..4..5..7..: num 4 4 5 7 8 7 9 6 13 15<\/span><\/strong><\/span>\n<\/pre>\n<h3> <span style=\"color: #000000;\"><strong>\uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\uc774 \uc624\ub958\ub97c \ud574\uacb0\ud558\ub824\uba74 <a href=\"https:\/\/dplyr.tidyverse.org\/reference\/mutate_all.html\" target=\"_blank\" rel=\"noopener\">dplyr<\/a> \uc758 <strong>mutate_if()<\/strong> \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac01 \ubb38\uc790 \uc5f4\uc744 \uc694\uc778 \uc5f4\ub85c \ubcc0\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #993300;\">library<\/span> (dplyr)\n\n<span style=\"color: #008080;\">#convert each character column to factor\n<\/span>df = df %&gt;% mutate_if(is. <span style=\"color: #3366ff;\">character<\/span> , as. <span style=\"color: #3366ff;\">factor<\/span> )\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">\uadf8\ub7f0 \ub2e4\uc74c \ub79c\ub364 \ud3ec\ub808\uc2a4\ud2b8 \ubaa8\ub378\uc744 \ub370\uc774\ud130 \ud504\ub808\uc784\uc5d0 \ub9de\ucd9c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#fit random forest model<\/span>\nmodel &lt;- randomForest(formula = y ~ ., data = df)\n\n<span style=\"color: #008080;\">#view summary of model<\/span>\nmodel\n\nCall:\n randomForest(formula = y ~ ., data = df) \n               Type of random forest: regression\n                     Number of trees: 500\nNo. of variables tried at each split: 1\n\n          Mean of squared residuals: 65.0047\n                    % Var explained: 48.64\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">\ub370\uc774\ud130\ud504\ub808\uc784\uc5d0 \ub354 \uc774\uc0c1 \ubb38\uc790 \ubcc0\uc218\uac00 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \uc774\ubc88\uc5d0\ub294 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc758 \ub2e4\ub978 \uc77c\ubc18\uc801\uc778 \uc624\ub958\ub97c \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ko\/r-\u110c\u1169\u1100\u1165\u11ab\u110b\u1174-\u1100\u1175\u11af\u110b\u1175\u1102\u1173\u11ab-1\u110b\u1175\u11b8\u1102\u1175\u1103\u1161.-\u110e\u1165\u11ba-\u1107\u1165\u11ab\u110d\u1162-\u110b\u116d\u1109\u1169\u1106\u1161\u11ab-\u1109\u1161\u110b\u116d\u11bc\u1103\u116c\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">\ud574\uacb0 \ubc29\ubc95: \uc870\uac74\uc758 \uae38\uc774\uac00 1\ubcf4\ub2e4 \ud06c\uace0 \uccab \ubc88\uc9f8 \uc694\uc18c\ub9cc \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/r-\u110b\u1169\u1105\u1172\u110b\u1174-\u1100\u1175\u11af\u110b\u1175\u1102\u1173\u11ab-\u110b\u1163\u11bc\u1109\u116e\u110b\u1167\u110b\u1163-\u1112\u1161\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">R\uc5d0\uc11c \uc218\uc815\ud558\ub294 \ubc29\ubc95: Dim(X)\ub294 \uc591\uc218 \uae38\uc774\ub97c \uac00\uc838\uc57c \ud569\ub2c8\ub2e4.<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/r-\u1102\u116e\u1105\u1161\u11a8\u1103\u116c\u11ab-\u1100\u1161\u11b9-\u1104\u1169\u1102\u1173\u11ab-true-false-\u1111\u1175\u11af\u110b\u116d\/\" target=\"_blank\" rel=\"noopener\">R\uc5d0\uc11c \uc218\uc815\ud558\ub294 \ubc29\ubc95: true\/false\uac00 \ud544\uc694\ud55c \ub204\ub77d\ub41c \uac12<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/nas\u1102\u1173\u11ab-\u1100\u1161\u11bc\u110c\u1166\u1105\u1169-r\u110b\u1166-\u1103\u1169\u110b\u1175\u11b8\u1103\u116c\u110b\u1165\u11bb\u1109\u1173\u11b8\u1102\u1175\u1103\u1161.\/\" target=\"_blank\" rel=\"noopener\">\ud574\uacb0 \ubc29\ubc95: \uac15\uc81c\ub85c \uc778\ud574 \ubc1c\uc0dd\ud558\ub294 NA<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\uc5d0\uc11c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc624\ub958\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4. Error in randomForest.default(m, y, &#8230;): NA\/NaN\/Inf in foreign function call (arg 1) \uc774 \uc624\ub958\ub294 \ub2e4\uc74c \ub450 \uac00\uc9c0 \uc774\uc720\ub85c \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \uc138\ud2b8\uc5d0 NA, NaN \ub610\ub294 Inf \uac12\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130\uc138\ud2b8\uc758 \ubcc0\uc218 \uc911 \ud558\ub098\ub294 \ubb38\uc790\uc785\ub2c8\ub2e4. \uc774 \uc624\ub958\ub97c \ud574\uacb0\ud558\ub294 \uac00\uc7a5 \uc26c\uc6b4 \ubc29\ubc95\uc740 \ub204\ub77d\ub41c \ub370\uc774\ud130\uac00 \uc788\ub294 \ud589\uc744 \uc81c\uac70\ud558\uace0 \ubb38\uc790 \ubcc0\uc218\ub97c \uc694\uc778 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-2038","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials<\/title>\n<meta name=\"description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).\" \/>\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\/ko\/\u110b\u116c\u1107\u116e-\u1112\u1161\u11b7\u1109\u116e-\u1112\u1169\u110e\u116e\u11af\u110b\u1174-randomforest-na-nan-inf\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials\" \/>\n<meta property=\"og:description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ko\/\u110b\u116c\u1107\u116e-\u1112\u1161\u11b7\u1109\u116e-\u1112\u1169\u110e\u116e\u11af\u110b\u1174-randomforest-na-nan-inf\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-23T23:32:33+00:00\" \/>\n<meta name=\"author\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/\",\"url\":\"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/\",\"name\":\"\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ko\/#website\"},\"datePublished\":\"2023-07-23T23:32:33+00:00\",\"dateModified\":\"2023-07-23T23:32:33+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\"},\"description\":\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\uc9d1\",\"item\":\"https:\/\/statorials.org\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud574\uacb0 \ubc29\ubc95: randomforest.default(m, y, \u2026): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 na\/nan\/inf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ko\/#website\",\"url\":\"https:\/\/statorials.org\/ko\/\",\"name\":\"Statorials\",\"description\":\"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\",\"name\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\"},\"description\":\"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30\",\"sameAs\":[\"https:\/\/statorials.org\/ko\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials","description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).","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\/ko\/\u110b\u116c\u1107\u116e-\u1112\u1161\u11b7\u1109\u116e-\u1112\u1169\u110e\u116e\u11af\u110b\u1174-randomforest-na-nan-inf\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials","og_description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).","og_url":"https:\/\/statorials.org\/ko\/\u110b\u116c\u1107\u116e-\u1112\u1161\u11b7\u1109\u116e-\u1112\u1169\u110e\u116e\u11af\u110b\u1174-randomforest-na-nan-inf\/","og_site_name":"Statorials","article_published_time":"2023-07-23T23:32:33+00:00","author":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","Est. reading time":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/","url":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/","name":"\ud574\uacb0 \ubc29\ubc95: randomForest.default(m, y, ...): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 Na\/NaN\/Inf - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/ko\/#website"},"datePublished":"2023-07-23T23:32:33+00:00","dateModified":"2023-07-23T23:32:33+00:00","author":{"@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4"},"description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 R\uc5d0\uc11c \ub2e4\uc74c \uc624\ub958\ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. error in randomforest.default(m, y, ...): na\/nan\/inf in foreign function call (arg 1).","breadcrumb":{"@id":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ko\/%e1%84%8b%e1%85%ac%e1%84%87%e1%85%ae-%e1%84%92%e1%85%a1%e1%86%b7%e1%84%89%e1%85%ae-%e1%84%92%e1%85%a9%e1%84%8e%e1%85%ae%e1%86%af%e1%84%8b%e1%85%b4-randomforest-na-nan-inf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\uc9d1","item":"https:\/\/statorials.org\/ko\/"},{"@type":"ListItem","position":2,"name":"\ud574\uacb0 \ubc29\ubc95: randomforest.default(m, y, \u2026): \uc678\ubd80 \ud568\uc218 \ud638\ucd9c\uc758 na\/nan\/inf"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ko\/#website","url":"https:\/\/statorials.org\/ko\/","name":"Statorials","description":"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4","name":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8"},"description":"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30","sameAs":["https:\/\/statorials.org\/ko"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/comments?post=2038"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/2038\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/media?parent=2038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/categories?post=2038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/tags?post=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}