raamana / pyradigm

Research data management in biomedical and machine learning applications
http://raamana.github.io/pyradigm/
MIT License
28 stars 12 forks source link

Implement __iter__ #14

Closed raamana closed 7 years ago

raamana commented 7 years ago

So you can loop over different subjects like

for sub, data in mldataset:
  print('{} - data : {}'.format(sub,data))
raamana commented 7 years ago

060d1ecd153a5cc23971c3772e116d0d8edc1502 fixes this.