Select columns weka wrapper

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Select columns weka wrapper

bujarra
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 -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: Select columns weka wrapper

Peter Reutemann
CONTENTS DELETED
The author has deleted this message.