Try performing stratified sampling when doing cv.
cran.r-project.org/web/packages/ipred
On Fri, Apr 15, 2011 at 11:00 AM, Soyeon Kim wrote:
> Dear R users,
>
> Hi. I am using prediction function in ROCR package.
> y consists of two classes 0 and 1.
> However, since I am using cross-validation, a
On 15.04.2011 17:00, Soyeon Kim wrote:
Dear R users,
Hi. I am using prediction function in ROCR package.
y consists of two classes 0 and 1.
However, since I am using cross-validation, a sampled small number of
y may consist of only one class
y
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Dear R users,
Hi. I am using prediction function in ROCR package.
y consists of two classes 0 and 1.
However, since I am using cross-validation, a sampled small number of
y may consist of only one class
>y
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
In this case, prediction function gives an erro
3 matches
Mail list logo