[R] which classification package in R can assign sample weight?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Jan 24 00:02:21 CET 2007
On Tue, 23 Jan 2007, Weiwei Shi wrote:
> Just checked
> ?lrm
(I would use glm or multinom.)
> ?nnet
> ?rpart
> ?ppr
>
> thanks.
>
> but wondering if the last one can do classification?
Yes, it has been so used since it can do multivariate outcomes. See
Chapter 4 of my PRNN book, for example.
> On 1/23/07, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
>> Almost all methods I know of do: logistic regression, neural nets,
>> classification trees, PPR ....
>>
>> Have you looked at the help pages for any of these?
>>
>> On Tue, 23 Jan 2007, Weiwei Shi wrote:
>>
>> > Hi,
>> >
>> > I am looking for some function implemented in R for classification,
>> > which has an option to allow me to assign sample weights in learning
>> > process? Implementation of a wrapper function is possible but I am
>> > curious if it already exists somewhere.
>> >
>> > Thanks,
>> >
>> >
>>
>> --
>> Brian D. Ripley, ripley at stats.ox.ac.uk
>> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford, Tel: +44 1865 272861 (self)
>> 1 South Parks Road, +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK Fax: +44 1865 272595
>>
>
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list