Calculate odds ratio with different method in python

前端 未结 0 1789
旧时难觅i
旧时难觅i 2021-01-31 04:26

I want to calculate the odds ratio between 2 features, but I got different results as follows:

import numpy as np
x= [1,2,3,2,1]
y= [1,0,1,0,1]
x1 = np.array(x).r         


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