sympy Expectation CoercionFailed(“expected an integer, got %s” % a)

前端 未结 0 1274
夕颜
夕颜 2020-12-12 04:51

I am calculating the expectation as follows:

e = Uniform(\'e\', 0, 1)
position_pr = simplify((1/num_predictions)*((1-e)**(num_match))*((e/2)**(2-num_match)))          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题