{"id":2038,"date":"2023-07-23T23:32:33","date_gmt":"2023-07-23T23:32:33","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/"},"modified":"2023-07-23T23:32:33","modified_gmt":"2023-07-23T23:32:33","slug":"%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/","title":{"rendered":"\u4fee\u6b63\u65b9\u6cd5:randomforest.default(m, y, \u2026): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e na\/nan\/inf"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R \u3067\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30a8\u30e9\u30fc\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/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;\">\u3053\u306e\u30a8\u30e9\u30fc\u306f\u6b21\u306e 2 \u3064\u306e\u7406\u7531\u3067\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b NA\u3001NaN\u3001\u307e\u305f\u306f Inf \u5024\u304c\u3042\u308a\u307e\u3059<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e\u5909\u6570\u306e 1 \u3064\u304c\u6587\u5b57\u3067\u3059<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001\u30c7\u30fc\u30bf\u304c\u6b20\u843d\u3057\u3066\u3044\u308b\u884c\u3092\u524a\u9664\u3057\u3001\u6587\u5b57\u5909\u6570\u3092\u56e0\u5b50\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/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;\">\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3053\u306e\u30a8\u30e9\u30fc\u3092\u5b9f\u969b\u306b\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306e\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u95a2\u9023:<\/strong><\/span><a href=\"https:\/\/statorials.org\/ja\/r\u306e\u30e9\u30f3\u30bf\u3099\u30e0\u30c8\u3099\u30ea\u30eb\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u30e9\u30f3\u30c0\u30e0 \u30d5\u30a9\u30ec\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 (\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7)<\/a><\/p>\n<h3><strong>\u30a8\u30e9\u30fc\u3092\u518d\u73fe\u3059\u308b\u65b9\u6cd5<\/strong><\/h3>\n<p><span style=\"color: #000000;\">R \u3067\u30e9\u30f3\u30c0\u30e0 \u30d5\u30a9\u30ec\u30b9\u30c8\u3092\u6b21\u306e\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u9069\u5408\u3055\u305b\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/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 \u306f\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u5185\u306e\u6587\u5b57\u5909\u6570\u3067\u3042\u308b\u305f\u3081\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001 <strong>str()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306e\u69cb\u9020\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/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>\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u3059\u308b\u306b\u306f\u3001 <a href=\"https:\/\/dplyr.tidyverse.org\/reference\/mutate_all.html\" target=\"_blank\" rel=\"noopener\">dplyr<\/a>\u306e<strong>mutate_if()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u5404\u6587\u5b57\u5217\u3092\u56e0\u5b50\u5217\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/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;\">\u6b21\u306b\u3001\u30e9\u30f3\u30c0\u30e0 \u30d5\u30a9\u30ec\u30b9\u30c8 \u30e2\u30c7\u30eb\u3092\u30c7\u30fc\u30bf \u30d5\u30ec\u30fc\u30e0\u306b\u9069\u5408\u3055\u305b\u307e\u3059\u3002<\/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;\">\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u306f\u3053\u308c\u4ee5\u4e0a\u6587\u5b57\u5909\u6570\u304c\u306a\u3044\u305f\u3081\u3001\u4eca\u56de\u306f\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u4ed6\u306e\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/r-\u6761\u4ef6\u306e\u9577\u3055\u306f-1-\u3066\u3099\u3001\u6700\u521d\u306e\u8981\u7d20\u306e\u307f\u304b\u3099\u4f7f\u7528\u3055\u308c\u307e\u3059\/\" target=\"_blank\" rel=\"noopener\">\u4fee\u6b63\u65b9\u6cd5: \u6761\u4ef6\u306e\u9577\u3055\u304c 1 \u3092\u8d85\u3048\u3066\u304a\u308a\u3001\u6700\u521d\u306e\u8981\u7d20\u306e\u307f\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/a><br \/> <a href=\"https:\/\/statorials.org\/ja\/r-error-dim-\u306f\u6b63\u306e\u9577\u3055\u3066\u3099\u306a\u3051\u308c\u306f\u3099\u306a\u308a\u307e\u305b\u3093\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u306e\u4fee\u6b63\u65b9\u6cd5: dim(X) \u306f\u6b63\u306e\u9577\u3055\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u6b20\u640d\u5024\u307e\u305f\u306f-true-false-\u304b\u3099\u5fc5\u8981\u3066\u3099\u3059\/\" target=\"_blank\" rel=\"noopener\">R\u3067\u4fee\u6b63\u3059\u308b\u65b9\u6cd5: true\/false\u304c\u5fc5\u8981\u306a\u5834\u6240\u306b\u5024\u304c\u3042\u308a\u307e\u305b\u3093<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/nas-\u304b\u3099\u5f37\u5236\u7684\u306b-r-\u306b\u5c0e\u5165\u3055\u308c\u308b\/\" target=\"_blank\" rel=\"noopener\">\u4fee\u6b63\u65b9\u6cd5: \u5f37\u5236\u306b\u3088\u3063\u3066\u5c0e\u5165\u3055\u308c\u305f NA<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R \u3067\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30a8\u30e9\u30fc\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 Error in randomForest.default(m, y, &#8230;): NA\/NaN\/Inf in foreign function call (arg 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2038","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\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\/ja\/\u5916\u90e8\u95a2\u6570\u547c\u3072\u3099\u51fa\u3057\u306e\u30e9\u30f3\u30bf\u3099\u30e0\u30d5\u30a9\u30ec\u30b9\u30c8-na-nan-inf\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/\u5916\u90e8\u95a2\u6570\u547c\u3072\u3099\u51fa\u3057\u306e\u30e9\u30f3\u30bf\u3099\u30e0\u30d5\u30a9\u30ec\u30b9\u30c8-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=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/\",\"name\":\"\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-23T23:32:33+00:00\",\"dateModified\":\"2023-07-23T23:32:33+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4fee\u6b63\u65b9\u6cd5:randomforest.default(m, y, \u2026): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e na\/nan\/inf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","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\/ja\/\u5916\u90e8\u95a2\u6570\u547c\u3072\u3099\u51fa\u3057\u306e\u30e9\u30f3\u30bf\u3099\u30e0\u30d5\u30a9\u30ec\u30b9\u30c8-na-nan-inf\/","og_locale":"ja_JP","og_type":"article","og_title":"\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/\u5916\u90e8\u95a2\u6570\u547c\u3072\u3099\u51fa\u3057\u306e\u30e9\u30f3\u30bf\u3099\u30e0\u30d5\u30a9\u30ec\u30b9\u30c8-na-nan-inf\/","og_site_name":"Statorials","article_published_time":"2023-07-23T23:32:33+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/","url":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/","name":"\u4fee\u6b63\u65b9\u6cd5:randomForest.default(m, y, ...): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e Na\/NaN\/Inf - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-23T23:32:33+00:00","dateModified":"2023-07-23T23:32:33+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u306e\u30a8\u30e9\u30fc\u300crandomforest.default(m, y, ...) \u306e\u30a8\u30e9\u30fc: \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057 (\u5f15\u6570 1) \u306e na\/nan\/inf\u300d\u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e5%a4%96%e9%83%a8%e9%96%a2%e6%95%b0%e5%91%bc%e3%81%b2%e3%82%99%e5%87%ba%e3%81%97%e3%81%ae%e3%83%a9%e3%83%b3%e3%82%bf%e3%82%99%e3%83%a0%e3%83%95%e3%82%a9%e3%83%ac%e3%82%b9%e3%83%88-na-nan-inf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"\u4fee\u6b63\u65b9\u6cd5:randomforest.default(m, y, \u2026): \u5916\u90e8\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e na\/nan\/inf"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/2038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=2038"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/2038\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=2038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=2038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}