cat-snacks icon indicating copy to clipboard operation
cat-snacks copied to clipboard

Look at probable module for feature selection?

Open su opened this issue 10 years ago • 3 comments

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.)

su avatar Jan 31 '16 20:01 su

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

beaugunderson avatar Jan 31 '16 22:01 beaugunderson

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.

coleww avatar Feb 01 '16 00:02 coleww

agreed, config should definitely be its own module :)

edit: it is now :sparkles:

beaugunderson avatar Feb 01 '16 01:02 beaugunderson