ãã¦ãååã¯äº¤å·®æ¤è¨¼ã®èª¬æã§çµãã£ã¦ãã¾ãã¾ããããä»åã¯ã¡ãã㨠SVM ã®ãã¥ã¼ãã³ã°ã®è©±ããã¾ãã ãã¥ã¼ãã³ã°ã®æé ã¨ãã¦ã¯ã ã°ãªãããµã¼ãã§å¤§éæã«æ¤ç´¢ããã æé©ãªãã©ã¡ã¼ã¿ããããããªã¨ãããçµã£ã¦åã³ã°ãªãããµã¼ããè¡ãã ã¨ãã2段éã®ã°ãªãããµã¼ããè¡ãã¾ãã 1段éç®ï¼ã°ãªãããµã¼ãã§å¤§éæã«æ¤ç´¢ãã SVM ã®ãã¥ã¼ãã³ã°ã¯ tune.svm() ã¨ããé¢æ°ãç¨ãã¦è¡ãã¾ãã ãã¥ã¼ãã³ã°ã®ããæ¹ã¯ãåç´ã«ã°ãªãããµã¼ããè¡ã£ã¦ããã ãã§ãã ãã©ã¡ã¼ã¿ã®å¤ãããããå¤ãã¦ã¿ã¦ãæ£ççã®ä¸çªããå¤ããã¹ããã©ã¡ã¼ã¿ã¨ãã¦åºåãã¾ãã ããã°ã©ã ã¯ä¸è¨ã®ããã«ãªãã¾ãã gammaRange = 10^(-5:5) costRange = 10^(-2:2) t <- tune.svm(Species ~ ., data = iris, gamma=gammaRan
{{#tags}}- {{label}}
{{/tags}}