Skip to content

Commit 54a0a6c

Browse files
committed
remove unused code
1 parent 48e3224 commit 54a0a6c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/med_bench/estimation/base.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from abc import ABCMeta, abstractmethod
22
import numpy as np
33
from sklearn import clone
4-
from sklearn.model_selection import GridSearchCV
54

65
from med_bench.utils.decorators import fitted
76

@@ -142,7 +141,6 @@ def _fit_treatment_propensity_xm(self, t, m, x):
142141

143142
return self
144143

145-
# TODO : Enable any sklearn object as classifier or regressor
146144
def _fit_binary_mediator_probability(self, t, m, x):
147145
"""Fits the nuisance parameter for the density f(M=m|T, X)"""
148146
# estimate mediator densities

0 commit comments

Comments
 (0)