Hi,
I am using glampath package for L1 regularized logistic regression. I got
the following error messege.
> model.fit <- glmpath(train.data[,1:20], train.data$RES, family=binomial)
Error in one %*% x : requires numeric matrix/vector arguments
where train.data is a 700X21 matrix and 21st colum
Tirthadeep wrote:
> Hi,
>
> I am using glampath package for L1 regularized logistic regression. I got
> the following error messege.
>
>
>> model.fit <- glmpath(train.data[,1:20], train.data$RES, family=binomial)
>>
> Error in one %*% x : requires numeric matrix/vector arguments
>
> where t
Then what is the solution?
Duncan Murdoch-2 wrote:
>
> Tirthadeep wrote:
>> Hi,
>>
>> I am using glampath package for L1 regularized logistic regression. I got
>> the following error messege.
>>
>>
>>> model.fit <- glmpath(train.data[,1:20], train.data$RES, family=binomial)
>>>
>> Err
On 9/19/2007 7:46 AM, Tirthadeep wrote:
> Then what is the solution?
The same method you used for the other columns:
train.data[,21]
Duncan Murdoch
>
>
>
>
> Duncan Murdoch-2 wrote:
>>
>> Tirthadeep wrote:
>>> Hi,
>>>
>>> I am using glampath package for L1 regularized logistic regression.
Is train.data a *numeric* matrix?
Peter Ehlers
Tirthadeep wrote:
> Then what is the solution?
>
>
>
>
> Duncan Murdoch-2 wrote:
>> Tirthadeep wrote:
>>> Hi,
>>>
>>> I am using glampath package for L1 regularized logistic regression. I got
>>> the following error messege.
>>>
>>>
model
On Wed, 19 Sep 2007, Duncan Murdoch wrote:
> On 9/19/2007 7:46 AM, Tirthadeep wrote:
>> Then what is the solution?
>
> The same method you used for the other columns:
>
> train.data[,21]
However, the error message is about the first argument (x) and not NULL
for the second argument (and applying
6 matches
Mail list logo