interesting question... I guess something like this would be a truly
automated way:
import numpy as N; labels_chunks=(N.random.normal(size=(10,2))>0).astype(int);
N.savetxt('/tmp/attributes.txt', labels_chunks.tolist(), fmt='%i %i')
next divergence from automation could be -- providing some meaningful
data instead of call to N.random.normal ;)
On Sun, 17 Jan 2010, Geethmala wrote:
> How is the attribute.txt file created? Is there any automatic way to
> generate this or does it have to be hand-coded?
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa