I'm trying to normalize a dataset for a neural network, in the dataset are negatives and positives values that can go from -inf to +inf. I need to normalize the negatives values between 0,0.5 and the positive values between 0.5,1 but the normalized data can never reach 0 or 1 because they are -inf and +inf respectvely.
Can i do this with python?
Sorry for my rusty english and if this question may seem dumb, but i´m really struggling with this math.