djsutherland / pummeler

Utilities to analyze ACS PUMS files, especially for distribution regression / ecological inference
MIT License
21 stars 7 forks source link

Add a command line option to set the random seed before generating random Fourier featuers #8

Closed flaxter closed 8 years ago

flaxter commented 8 years ago

If featurize is called repeatedly (as it will be for, e.g. demographic subgroups or generating state-level aggregates after already having done region-level) then each time we want to use the same random frequencies for the random Fourier features. This adds an option --seed to do just that.

djsutherland commented 8 years ago

Made a few tiny changes again (https://github.com/dougalsutherland/pummeler/commit/58ba25a73e0e3582b4aabc557dd3e604c97b97e6).

Putting #8 and #9 into new release 0.1.5.