No, it is an argument to createFolds. Type ?createFolds to see the
appropriate syntax: "returnTrain a logical. When true, the values
returned are the sample positions corresponding to the data used
during training. This argument only works in conjunction with list =
TRUE"
On Mon, Oct 3, 20
Hi Max,
Thanks for the note. In your last paragraph, did you mean "in
createDataPartition"? I'm a little vague about what returnTrain option
does.
Bonnie
Quoting Max Kuhn :
Basically, createDataPartition is used when you need to make one or
more simple two-way splits of your data. For ex
Basically, createDataPartition is used when you need to make one or
more simple two-way splits of your data. For example, if you want to
make a training and test set and keep your classes balanced, this is
what you could use. It can also make multiple splits of this kind (or
leave-group-out CV aka
Hi,
On Sun, Oct 2, 2011 at 3:54 PM, wrote:
> Hi Steve,
>
> Thanks for the note. I did try the example and the result didn't make sense
> to me. For splitting a vector, what you describe is a big difference btw
> them. For splitting a dataframe, I now wonder if these 2 functions are the
> wrong c
Hi Steve,
Thanks for the note. I did try the example and the result didn't make
sense to me. For splitting a vector, what you describe is a big
difference btw them. For splitting a dataframe, I now wonder if these
2 functions are the wrong choices. They seem to split the columns, at
least
Hi,
On Sun, Oct 2, 2011 at 2:47 PM, wrote:
> Hello,
>
> I'm trying to separate my dataset into 4 parts with the 4th one as the test
> dataset, and the other three to fit a model.
>
> I've been searching for the difference between these 2 functions in Caret
> package, but the most I can get is th
Hello,
I'm trying to separate my dataset into 4 parts with the 4th one as the
test dataset, and the other three to fit a model.
I've been searching for the difference between these 2 functions in
Caret package, but the most I can get is this--
A series of test/training partitions are crea
7 matches
Mail list logo