Scikit-Learn's IsolationForest class has a method decision_function
that returns the anomaly scores of the input samples. However, the documentation does not state what the possible range of these scores is, and only states that "the lower [the score], the more abnormal."
Edit: after reading jmunsch's comment I looked at the source code again and here is my updated guess:
If the exponent in the scores formula is always negative, then scores will always be between 0 and 1, which would mean the returned range is [-0.5, 0.5] since 0.5 - scores
is returned by the method. But I'm not certain if the exponent would always be negative.