I am trying to normalize my sensor data set. I would get prefect results if I get the min and max values of my data set.
(sensor-sensor.min())/(sensor.max()-sensor.min())
However, my sensor data is real-time and it would not be possible to have the min and max values of the data set. I haven't had much luck finding a pre-existing algorithm (in python) for this, but perhaps I'm just not looking in the right places. Does anyone know of one? Or have any ideas?