beaugunderson / cat-snacks

🐦😻 a bot that tweets adorable cat faces!
https://twitter.com/catsnacks
42 stars 5 forks source link

Look at probable module for feature selection? #4

Open su opened 8 years ago

su commented 8 years ago

Not sure I'll be able to personally do anything about this soon because I still have to learn it myself for something else, but as features and even feature variations(eg. whiskers vs droopy whiskers) increase, plain randomization might no longer be entirely practical or the best approach. Probable seems like it'd allow for managing some of that as well as introducing rarity to some things(mis-matched eyes should probably be a little uncommon), for an additional nice touch.

(Stolen from poking around in everybody's favorite, Tribs.)

beaugunderson commented 8 years ago

oh excellent, i was looking for something like probable recently and managed to not find it! (i was going to use beta distributions)

coleww commented 8 years ago

a config.js file that exported the options object might be useful in the meantime, that way all the probability/config stuff could go in one place. It would also make it easy to turn on/off various features while testing because you could just set a probability to 0/false/etc.

beaugunderson commented 8 years ago

agreed, config should definitely be its own module :)

edit: it is now :sparkles: