Skip to content

Commit

Permalink
Fix RScorer circular import
Browse files Browse the repository at this point in the history
Fix RScorer circular import
  • Loading branch information
fverac committed Apr 1, 2022
1 parent 289c541 commit ca6088e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion econml/dml/causal_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from .._cate_estimator import LinearCateEstimator
from .._shap import _shap_explain_multitask_model_cate
from .._ortho_learner import _OrthoLearner
from ..score import RScorer


class _CausalForestFinalWrapper:
Expand Down Expand Up @@ -511,6 +510,8 @@ def __init__(self, *,
n_jobs=-1,
random_state=None,
verbose=0):
from ..score import RScorer


# TODO: consider whether we need more care around stateful featurizers,
# since we clone it and fit separate copies
Expand Down

0 comments on commit ca6088e

Please sign in to comment.