Probabilistic models for determining the input-output relationship in formalized neurons