yinlou / mltk

Machine Learning Tool Kit
BSD 3-Clause "New" or "Revised" License
136 stars 74 forks source link

Set a fixed number of pairs for GA2M #5

Closed sds-dubois closed 8 years ago

sds-dubois commented 8 years ago

As discussed, I've added a new parameter '-p' to set the number of pairs we'd like to use (default is all of them). When reading the interactions file, we stop when we've reached the desired number of pairs.

This PR also fixes a bug: setPairs was missing in main.