Re: About HW7

楼主: skyish (一个人流浪)   2005-04-30 15:34:27
※ 引述《Tonnny (^~^)》之铭言:
: In the randomForest reference manual, the example of function randomForest
: has the code as follows:
: set.seed(71)
: iris.rf <- randomForest(Species ~ ., data=iris, importance=TRUE,
^^^^^^^^^^^
I don't know what this parameter mean? Can somebody explan it for me?
Why there is a "~" after "Species".
I never see such representation in R before. @.@
But I guess that it means the column name "Species" of iris data.
: proximity=TRUE)
: What is the function of set.seed(71) before run the randomForest?

Links booklink

Contact Us: admin [ a t ] ucptt.com