code: def set_knots(self, T, E):
      self.knots = np.percentile(
          np.log(T[E.astype(bool).values]),
          np.linspace(5, 95, self.n_baseline_knots),
      )
  
file_path: lifelines/examples/crowther_royston_clements_splines.py
imports: import pandas
  from autograd import numpy
  from lifelines.fitters import ParametricRegressionFitter
  from lifelines import WeibullAFTFitter
  from lifelines.fitters.mixins import SplineFitterMixin
  from lifelines.utils.safe_exp import safe_exp
label_desc: Use image node_id 3 for calling the CRCSplineFitter obj's underlying member method code with example usage: obj.set_knots(T, E) without return types