@contract
def estimate_probability(data, window_size, state):
    return float(data.count(state)) / window_size
Get the estimated probability.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/overload/mhod/multisize_estimation.py/estimate_probability