← 返回卡片

原书出处

Causal AI

核验版本的摘录快照 · 导入于 2026-11-14T08:43:24.512Z

Listing 4.4 Chi-squared test of conditional independence from pgmpy.estimators.CITests import chi_square #1 significance = .05 #2 result = chi_square( #3 X="E", Y="T", Z=["O", "R"], #3 data=data, #3 boolean=False, #3 significance_level=significance #3 ) #3 print(result) #1 Import the chi_square test function. #2 Set the significance level to .05. #3 When the boolean argument is set to False, the test returns a tuple of three elements. The

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Causal AI/_epub-src/OEBPS/Text/chapter-4.xhtml

EPUB SHA-256:e55e7dc9d7966ea79311f2bc8d5bef7371a6dbb65240f11a2b3e44180b934e72