shutterflypro:
Is there a way to filter this noise so that my sensor will not be affected by it or should I take multiple readings and average them....
A pull up/down resistor is usually the simplest, yet effective solution.
shutterflypro:
Is there a way to filter this noise so that my sensor will not be affected by it
No, you are misunderstanding; the problem occurs because the input is not connected to anything. Connect it to a sensor that applies a voltage to that input, and the input is no longer floating and you no longer get the problem.