new file:   logisticReg/genFeatures.py