We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6ec17 commit 4a470c9Copy full SHA for 4a470c9
causal_testing/testing/causal_test_adequacy.py
@@ -55,4 +55,4 @@ def measure_adequacy_k_folds(self, k: int = 10, random_state=0):
55
estimator.df = estimator.df.iloc[train_inx]
56
test_result = estimator.model.predict(test)
57
results.append(np.sqrt(mse(test_result, test[self.test_case.base_test_case.outcome_variable.name])).mean())
58
- print("K-score", np.mean(results))
+ return np.mean(results)
0 commit comments