Joel,
Thanks so much for the quick response! I built from that PR and it is
working great!
Hope that PR can get merged into master soon, I am sure others would love
the feature too!
Thanks again,
Cory
On Tue, Feb 4, 2014 at 8:05 PM, Joel Nothman <joel.noth...@gmail.com> wrote:
> Two options:
> 1. Use SGDClassifier(loss='log').fit(X, y, sample_weight).
> 2. Use the branch of PR
> 2784<https://github.com/scikit-learn/scikit-learn/pull/2784> which
> ports sample_weight to scikit-learn's liblinear.
>
> - Joel
>
>
> On 5 February 2014 11:34, Cory Dolphin <wcdolp...@gmail.com> wrote:
>
>> Hello,
>>
>> First, thanks for this wonderful library, I am an undergraduate
>> engineering student and this tool has opened my mind to ML!
>>
>> I have a problem with repeated samples, which I wish to perform logistic
>> regression on. I expected to be able to pass a vector of weights to
>> associate with the repeated samples, but I was unable to find such an
>> option.
>>
>> Does it exist? If not, how have others worked around this problem in the
>> past?
>>
>> Thanks,
>> Cory
>>
>>
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> Scikit-learn-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general