Don't require density_fn. Make Masked code mimic sparseweights code.
Don't require density_fn. Make Masked code mimic sparseweights code.

The problem with always requiring a density function is that it tempts
the user to use lambdas, which aren't always pickleable (e.g. when
you're not using Ray)

mrcslws/nupic.research,subutai/nupic.research,subutai/nupic.research,numenta/nupic.research,mrcslws/nupic.research,numenta/nupic.research