Skip to content

Commit 4a470c9

Browse files
committed
return
1 parent 7d6ec17 commit 4a470c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/testing/causal_test_adequacy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ def measure_adequacy_k_folds(self, k: int = 10, random_state=0):
5555
estimator.df = estimator.df.iloc[train_inx]
5656
test_result = estimator.model.predict(test)
5757
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))
58+
return np.mean(results)

0 commit comments

Comments
 (0)