Skip to content

Commit f3ad9fe

Browse files
author
Chirag Nagpal
authored
Update phenotyping.py
1 parent 67d106d commit f3ad9fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

auton_survival/phenotyping.py

-7
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,8 @@ def fit(self, features):
326326
"""
327327

328328
if self.dim_red_method is not None:
329-
<<<<<<< HEAD
330329
print("Fitting the following Dimensionality Reduction Model:\n",
331330
self.dim_red_model)
332-
=======
333-
print("Fitting the following Dimensionality Reduction Model:\n", self.dim_red_model)
334-
>>>>>>> db17080dcfd91df1c07937d54c479ae6ab1eaf88
335331
self.dim_red_model = self.dim_red_model.fit(features)
336332
features = self.dim_red_model.transform(features)
337333

@@ -471,10 +467,7 @@ def fit(self, features, outcomes, interventions, horizon):
471467

472468
times = np.unique(outcomes.times.values)
473469
cf_predictions = self.cf_model.predict_counterfactual_survival(features,
474-
<<<<<<< HEAD
475-
=======
476470
interventions,
477-
>>>>>>> db17080dcfd91df1c07937d54c479ae6ab1eaf88
478471
times)
479472

480473
ite_estimates = cf_predictions[1] - cf_predictions[0]

0 commit comments

Comments
 (0)