Select columns weka wrapper

bujarra <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
I load an arff file like this

dat = loader.load_file("vila_car_att.arff")

However, I would like to select a given columns. I've tried:

dat['lat']

but I get this error:

TypeError: 'Instances' object is not subscriptable

Any way of subsetting?





--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.