0. è¦ç´ æ©æ¢°å¦ç¿ã®ãã¤ãã¼ãã©ã¡ã¼ã¿ããã¤ãºæé©åã§ãã¥ã¼ãã³ã°ããã®ã¯æ¢åããã±ã¼ã¸ã®çµã¿åããã§é å¼µãã°ã§ããã®ã§ãããé å¼µããªãã¦ãç°¡åã«æ¸ããããã±ã¼ã¸ãä½ãã¾ããã github.com ããã«ãããä¾ãã° iris ãã¼ã¿ãXGboostã®3-foldã¯ãã¹ããªãã¼ã·ã§ã³ãã¨ã©ã¼çè©ä¾¡ã§ãã£ããã£ã³ã°ãããããã°ä»¥ä¸ã®ããã«æ¸ããã¨ã§ãã¤ãã¼ãã©ã¡ã¼ã¿ã¼ã§ãã eta, max_depth, nround, subsample, bytree ããã¤ãºæé©åã§ãã¥ã¼ãã³ã°ãã¦ããã¾ãã res0 <- xgb_cv_opt(data = iris, label = Species, objectfun = "multi:softmax", evalmetric = "merror", classes = 3, n_folds = 3) ãã¼ã¿ã»ããåãã©ãã«ã®ååãXGbo
{{#tags}}- {{label}}
{{/tags}}