[pymvpa] New Elastic Net classifier
Yaroslav Halchenko
debian at onerussian.com
Fri Aug 14 12:25:27 UTC 2009
Hi Patrik,
ENET had been failing on us in many cases, so we even do not add it into
classifier/regressions warehouse. You should be better off using GLMNET
Sorry about that ;)
Cheers
Yarik
On Thu, 13 Aug 2009, patrik andersson wrote:
> Hi,
> I am trying to get the ENET working but get some error. I guess its a
> rpy problem (?), but thought I'll take a chance and reply to this
> thread.
> Code snippet:
> clf = FeatureSelectionClassifier(
> ENET(lm=1.0,trace=False,normalize=False),
> SensitivityBasedFeatureSelection(
> OneWayAnova(),
> FractionTailSelector(0.05,mode='select',tail='upper')),
> descr="apa",
> enable_states = ['feature_ids'])
> terr = TransferError(clf)
> cvterr = CrossValidatedTransferError(terr,
> NFoldSplitter(cvtype=5),
> enable_states=['confusion','harvested'])
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
More information about the Pkg-ExpPsy-PyMVPA
mailing list