[pymvpa] _clf_internals question

Per B. Sederberg persed at princeton.edu
Sat Apr 25 19:28:59 UTC 2009


Howdy Folks:

Just a quick note that I renamed them to GLMNET_C and GLMNET_R as per
Yarik's suggestion in the previous email.

I did not wrap 100% of the functionality of the R code, just what I
thought made sense for a first pass application to neural data, so let
me know if there's anything missing that would like me to add to the
wrapping code.

Best,
P

On Sat, Apr 25, 2009 at 1:42 PM, Yaroslav Halchenko
<debian at onerussian.com> wrote:
> Hi Per,
>
> Thanks!
>
> 1.
> would you mind sharing the pdf for the paper
> http://www-stat.stanford.edu/~hastie/Papers/glmnet.pdf
>
> since I can't download it -- pdf comes broken (tried from 2 computers)
>
> 2.
>> > Should I make two other instances of the class, similar to what is
>> > done for SVMs, that separate this out: i.e., a GLMNET_Reg and
>> > GLMNET_Class for regression and classification?
>> This seems to be the easiest way.
>
> yeah -- although it possible to do in a fashion similar to the one we
> have in SVMs (where it could be SVM or SVR)... it is a bit convolved but
> logic is present in mvpa/clfs/_svmbase.py  and a specific kind depends
> on the svm_impl parameter to constructor and corresponding
> _KNOWN_IMPLEMENTATIONS entry in specific implementation like
> mvpa/clfs/sg/svm.py
>
> But since you have implemented it already -- it is cool as is. I would
> just either fully abbreviate as
>
> GLMNETC and GLMNETR (may be with _), so it is in the same fashion as
> some other names like GPR
>
> or fully extend as
> GLMNET_Classifier and GLMNET_Regression
>
> just to be explicit
>
> --
> Yaroslav Halchenko
> Research Assistant, Psychology Department, Rutgers-Newark
> Student  Ph.D. @ CS Dept. NJIT
> Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
>        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
> WWW:     http://www.linkedin.com/in/yarik
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>



More information about the Pkg-ExpPsy-PyMVPA mailing list