def testChi2WithAbsDf(self):
with self.test_session():
df_v = np.array([-1.3, -3.2, 5], dtype=np.float64)
chi2 = chi2_lib.Chi2WithAbsDf(df=df_v)
self.assertAllClose(
math_ops.floor(math_ops.abs(df_v)).eval(), chi2.df.eval())
chi2_test.py 文件源码
python
阅读 17
收藏 0
点赞 0
评论 0
评论列表
文章目录