{"id":3057,"date":"2023-07-19T09:55:30","date_gmt":"2023-07-19T09:55:30","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/"},"modified":"2023-07-19T09:55:30","modified_gmt":"2023-07-19T09:55:30","slug":"%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/","title":{"rendered":"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b smote \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u6a5f\u68b0\u5b66\u7fd2<a href=\"https:\/\/statorials.org\/ja\/\u56de\u5e30\u3068\u5206\u985e\/\" target=\"_blank\" rel=\"noopener\">\u5206\u985e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<\/a>\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e\u30af\u30e9\u30b9\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u5d29\u308c\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u3048\u3070\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u5927\u5b66\u306e\u9078\u624b\u304c NBA \u306b\u30c9\u30e9\u30d5\u30c8\u3055\u308c\u308b\u304b\u3069\u3046\u304b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u306f\u300198% \u306e\u9078\u624b\u304c\u30c9\u30e9\u30d5\u30c8\u5916\u3067\u30012% \u304c\u30c9\u30e9\u30d5\u30c8\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u60a3\u8005\u304c\u304c\u3093\u3092\u60a3\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u3001\u304c\u3093\u3092\u60a3\u3063\u3066\u3044\u306a\u3044\u60a3\u8005\u306e 99% \u3068\u304c\u3093\u3092\u60a3\u3063\u3066\u3044\u308b\u60a3\u8005\u306e 1% \u3060\u3051\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u9280\u884c\u8a50\u6b3a\u60c5\u5831\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u300196% \u306e\u6b63\u5f53\u306a\u53d6\u5f15\u3068 4% \u306e\u4e0d\u6b63\u306a\u53d6\u5f15\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u3053\u306e\u3088\u3046\u306a\u4e0d\u5747\u8861\u306a\u30af\u30e9\u30b9\u306e\u305f\u3081\u3001\u69cb\u7bc9\u3059\u308b\u4e88\u6e2c\u30e2\u30c7\u30eb\u306f\u5c11\u6570\u6d3e\u306e\u30af\u30e9\u30b9\u3067\u306f\u3046\u307e\u304f\u6a5f\u80fd\u3057\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3055\u3089\u306b\u60aa\u3044\u3053\u3068\u306b\u3001\u79c1\u305f\u3061\u304c\u6700\u3082\u4e88\u6e2c\u3057\u305f\u3044\u306e\u306f\u5c11\u6570\u6d3e\u306e\u5c64\u3067\u3042\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u4e0d\u5747\u8861\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b 1 \u3064\u306e\u65b9\u6cd5\u306f\u3001<strong>\u5408\u6210\u30de\u30a4\u30ce\u30ea\u30c6\u30a3 \u30aa\u30fc\u30d0\u30fc\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u6280\u8853<\/strong>( <strong>SMOTE<\/strong>\u3068\u7565\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044) \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u624b\u6cd5\u3067\u306f\u3001\u5c11\u6570\u30af\u30e9\u30b9\u304b\u3089\u306e\u89b3\u6e2c\u5024\u3092\u30aa\u30fc\u30d0\u30fc\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3057\u3066\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u3088\u308a\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u30af\u30e9\u30b9\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\">R \u3067 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001 <strong>DMwR<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>SMOTE()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u3053\u306e\u95a2\u6570\u306f\u6b21\u306e\u57fa\u672c\u69cb\u6587\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>SMOTE(form, data, perc. <span style=\"color: #3366ff;\">over<\/span> = <span style=\"color: #008000;\">200<\/span> , perc. <span style=\"color: #3366ff;\">under<\/span> = <span style=\"color: #008000;\">200<\/span> , ...)\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u91d1\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>form<\/strong> : \u9069\u5fdc\u3055\u305b\u305f\u3044\u30e2\u30c7\u30eb\u3092\u8aac\u660e\u3059\u308b\u5f0f<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>data<\/strong> : \u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306e\u540d\u524d<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>perc.over<\/strong> : \u5c11\u6570\u6d3e\u30af\u30e9\u30b9\u306e\u8ffd\u52a0\u30b1\u30fc\u30b9\u304c\u4f55\u4ef6\u751f\u6210\u3055\u308c\u308b\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u6570\u5024<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>perc.under<\/strong> : \u30de\u30b8\u30e7\u30ea\u30c6\u30a3\u30af\u30e9\u30b9\u306e\u8ffd\u52a0\u30b1\u30fc\u30b9\u304c\u4f55\u4ef6\u751f\u6210\u3055\u308c\u308b\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u6570\u5024<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u3053\u306e\u95a2\u6570\u3092\u5b9f\u969b\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u4f8b: R \u3067 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">R \u306b 100 \u500b\u306e<a href=\"https:\/\/statorials.org\/ja\/\u7d71\u8a08\u306b\u304a\u3051\u308b\u89b3\u5bdf\/\" target=\"_blank\" rel=\"noopener\">\u89b3\u6e2c\u5024<\/a>\u3092\u542b\u3080\u6b21\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u3042\u308a\u3001\u305d\u306e\u3046\u3061 90 \u500b\u304c\u5fdc\u7b54\u5909\u6570\u306b\u300cYes\u300d\u30af\u30e9\u30b9\u3092\u6301\u3061\u300110 \u500b\u304c\u300cNo\u300d\u30af\u30e9\u30b9\u3092\u6301\u3063\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#make this example reproducible\n<\/span>set. <span style=\"color: #3366ff;\">seed<\/span> ( <span style=\"color: #008000;\">0<\/span> )\n\n<span style=\"color: #008080;\">#create data frame with one response variable and two predictor variables\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (y=rep(as. <span style=\"color: #3366ff;\">factor<\/span> (c(' <span style=\"color: #ff0000;\">Yes<\/span> ', ' <span style=\"color: #ff0000;\">No<\/span> ')), times=c( <span style=\"color: #008000;\">90<\/span> , <span style=\"color: #008000;\">10<\/span> )),\n                 x1=rnorm( <span style=\"color: #008000;\">100<\/span> ),\n                 x2=rnorm( <span style=\"color: #008000;\">100<\/span> ))\n\n<span style=\"color: #008080;\">#view first six rows of data frame\n<\/span>head(df)\n\n    y x1 x2\n1 Yes 1.2629543 0.7818592\n2 Yes -0.3262334 -0.7767766\n3 Yes 1.3297993 -0.6159899\n4 Yes 1.2724293 0.0465803\n5 Yes 0.4146414 -1.1303858\n6 Yes -1.5399500 0.5767188\n \n<span style=\"color: #008080;\">#view distribution of response variable\n<\/span>table(df$y)\n\n Drowned \n 10 90<\/strong><\/pre>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5178\u578b\u7684\u306a\u4f8b\u3067\u3059\u3002\u306a\u305c\u306a\u3089\u3001\u79c1\u305f\u3061\u304c\u4e88\u6e2c\u3057\u3066\u3044\u308b\u5fdc\u7b54\u5909\u6570\u306b\u306f\u3001\u300cYes\u300d\u306e\u30af\u30e9\u30b9\u3092\u6301\u3064\u89b3\u6e2c\u5024\u304c 90 \u500b\u3042\u308a\u3001\u300cNo\u300d\u306e\u30af\u30e9\u30b9\u3092\u6301\u3064\u89b3\u6e2c\u5024\u304c 10 \u500b\u3057\u304b\u306a\u3044\u304b\u3089\u3067\u3059\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">\u3088\u308a\u30d0\u30e9\u30f3\u30b9\u306e\u53d6\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001 <strong>DMwR<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e<strong>SMOTE()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">library<\/span> ( <span style=\"color: #000000;\">DMwR)\n\n<\/span><span style=\"color: #008080;\">#use SMOTE to create new dataset that is more balanced\n<\/span>new_df &lt;- SMOTE(y ~ ., df, perc. <span style=\"color: #3366ff;\">over<\/span> = <span style=\"color: #008000;\">2000<\/span> , perc. <span style=\"color: #3366ff;\">under<\/span> = <span style=\"color: #008000;\">400<\/span> )\n\n<span style=\"color: #008080;\">#view distribution of response variable in new dataset\n<\/span>table(new_df$y)\n\n Drowned \n210,800\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u3001\u30af\u30e9\u30b9\u304c\u300c\u3044\u3044\u3048\u300d\u306e 210 \u4ef6\u306e\u89b3\u6e2c\u5024\u3068\u3001\u30af\u30e9\u30b9\u304c\u300c\u306f\u3044\u300d\u306e 800 \u4ef6\u306e\u89b3\u6e2c\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\">SMOTE \u95a2\u6570\u304c\u3053\u306e\u65b0\u3057\u3044\u30c7\u30fc\u30bf \u30bb\u30c3\u30c8\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5\u3092\u6b63\u78ba\u306b\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>perc.over<\/strong>\u5f15\u6570\u306f\u3001\u65e2\u5b58\u306e\u5c11\u6570\u89b3\u6e2c\u5024\u306e\u6570\u306e 2000\/100 (\u307e\u305f\u306f 20) \u500d\u3092\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002\u5143\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f 10 \u500b\u306e\u89b3\u6e2c\u5024\u304c\u5b58\u5728\u3057\u305f\u305f\u3081\u300120*10 = <strong>200 \u500b\u306e\u5c11\u6570\u306e\u89b3\u6e2c\u5024<\/strong>\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>perc.under<\/strong>\u5f15\u6570\u306f\u3001\u591a\u6570\u6d3e\u306e\u89b3\u6e2c\u5024\u306e\u6570\u3092\u3001\u65e2\u5b58\u306e\u5c11\u6570\u6d3e\u306e\u89b3\u6e2c\u5024\u306b\u8ffd\u52a0\u3055\u308c\u308b\u5c11\u6570\u6d3e\u306e\u89b3\u6e2c\u5024\u306e\u6570\u306e 400\/100 (\u307e\u305f\u306f 4) \u500d\u306b\u7b49\u3057\u304f\u3059\u308b\u3053\u3068\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002\u3055\u3089\u306b 200 \u306e\u5c11\u6570\u89b3\u6e2c\u304c\u8ffd\u52a0\u3055\u308c\u305f\u305f\u3081\u3001\u591a\u6570\u306e\u89b3\u6e2c\u306e\u6570\u306f 200 * 4 = <strong>800 \u306e\u591a\u6570\u306e\u89b3\u6e2c<\/strong>\u3068\u7b49\u3057\u304f\u306a\u308a\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u6700\u7d42\u7d50\u679c\u306f\u3001\u3088\u308a\u591a\u304f\u306e\u591a\u6570\u6d3e\u30af\u30e9\u30b9\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u5143\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3088\u308a\u3082\u30d0\u30e9\u30f3\u30b9\u304c\u53d6\u308c\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3067\u3001\u9078\u629e\u3057\u305f\u5206\u985e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u3053\u306e\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u9069\u5fdc\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u306f\u5c11\u6570\u6d3e\u30af\u30e9\u30b9\u304b\u3089\u306e\u89b3\u6e2c\u5024\u304c\u5897\u3048\u308b\u305f\u3081\u3001\u5c11\u6570\u6d3e\u30af\u30e9\u30b9\u3067\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5411\u4e0a\u3059\u308b\u306f\u305a\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u6ce8<\/strong>: SMOTE \u95a2\u6570\u306e<strong>perc.over<\/strong>\u304a\u3088\u3073<strong>perc.under<\/strong>\u5f15\u6570\u3092\u81ea\u7531\u306b\u8a66\u3057\u3066\u3001\u30cb\u30fc\u30ba\u306b\u5408\u3063\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\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 \u3067\u4ed6\u306e\u4e00\u822c\u7684\u306a\u30bf\u30b9\u30af\u3092\u5b9f\u884c\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\u306e\u8981\u7d04\u30c6\u30fc\u30d5\u3099\u30eb\/\" target=\"_blank\" rel=\"noopener\">R\u3067\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r\u306e\u30c6\u3099\u30fc\u30bf\u3092\u6b63\u898f\u5316\u3059\u308b\u65b9\u6cd5\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u30c7\u30fc\u30bf\u3092\u6b63\u898f\u5316\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u5916\u308c\u5024\u3092\u9664\u53bb\u3059\u308b-r\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u5916\u308c\u5024\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a5f\u68b0\u5b66\u7fd2\u5206\u985e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e\u30af\u30e9\u30b9\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u5d29\u308c\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002 \u4f8b\u3048\u3070\uff1a \u5927\u5b66\u306e\u9078\u624b\u304c NBA \u306b\u30c9\u30e9\u30d5\u30c8\u3055\u308c\u308b\u304b\u3069\u3046\u304b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u542b\u3080\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u306f\u300198% \u306e\u9078\u624b\u304c\u30c9\u30e9\u30d5\u30c8\u5916 [&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-3057","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>R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\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\/\u30b9\u30c8\u30e9\u30a4\u30afr\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/\u30b9\u30c8\u30e9\u30a4\u30afr\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T09:55:30+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\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/\",\"name\":\"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-19T09:55:30+00:00\",\"dateModified\":\"2023-07-19T09:55:30+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b smote \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a)\"}]},{\"@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":"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\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\/\u30b9\u30c8\u30e9\u30a4\u30afr\/","og_locale":"ja_JP","og_type":"article","og_title":"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/\u30b9\u30c8\u30e9\u30a4\u30afr\/","og_site_name":"Statorials","article_published_time":"2023-07-19T09:55:30+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\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/","url":"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/","name":"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d) - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-19T09:55:30+00:00","dateModified":"2023-07-19T09:55:30+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066 SMOTE \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3001\u5b8c\u5168\u306a\u4f8b\u3092\u542b\u3081\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e3%82%b9%e3%83%88%e3%83%a9%e3%82%a4%e3%82%afr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"R \u3067\u4e0d\u5747\u8861\u306a\u30c7\u30fc\u30bf\u306b smote \u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a)"}]},{"@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\/3057","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=3057"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3057\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}