Hi all,

I'm trying to port to sklearn some R code that does WLS and I noticed
that the fit method for some classes will accept a sample_weight
parameter (v.g. SGDRegressor) while for other classes it won't (v.g.
LinearRegression). Is this just inconsistent or has it a rationale
behind? Maybe in some cases you're expected to pass the already
transformed X and y for some reason I'm not able to grasp.

Cheers
--
Carlos

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to