6. å¤å±¤ãã¼ã»ããã㳠⢠irisãã¼ã¿ã§ãã£ã¦ã¿ã Sepal. Length Sepal. Width Petal. Length Petal. Width Species 5.1 3.5 1.4 0.2 setosa 4.9 3.0 1.4 0.2 setosa 4.7 3.2 1.3 0.2 setosa 4.6 3.1 1.5 0.2 setosa sepal petal setosa, versicolor, virginicaã®åå種ã«50è¡ãã¤ãããã¼ã¿ã»ãã 7. å¤å±¤ãã¼ã»ããã㳠⢠å¦ç¿â½¤ã¨æ¤è¨¼â½¤ã«ãã¼ã¿ãåå² > data(iris) > # å¥æ°â¾ãå¦ç¿â½¤ãã¼ã¿ãå¶æ°â¾ãæ¤è¨¼â½¤ãã¼ã¿ã¨ãã > train.ind <- seq(1, nrow(iris), 2) > > train.x <- data.matrix(iris[train.ind, 1:4])
{{#tags}}- {{label}}
{{/tags}}