def test_coxph_plotting_normalized(self, block): df = load_regression_dataset() cp = CoxPHFitter() cp.fit(df, "T", "E") cp.plot(True) self.plt.title("test_coxph_plotting_normalized") self.plt.show(block=block)
def test_coxph_plotting_with_subset_of_columns(self, block): df = load_regression_dataset() cp = CoxPHFitter() cp.fit(df, "T", "E") cp.plot(columns=["var1", "var2"]) self.plt.title("test_coxph_plotting_with_subset_of_columns") self.plt.show(block=block)
def test_coxph_plotting_normalized(self, block): df = load_regression_dataset() cp = CoxPHFitter() cp.fit(df, "T", "E") cp.plot(True) self.plt.title('test_coxph_plotting') self.plt.show(block=block)
def test_coxph_plotting(self, block): df = load_regression_dataset() cp = CoxPHFitter() cp.fit(df, "T", "E") cp.plot() self.plt.title('test_coxph_plotting') self.plt.show(block=block)
def test_coxph_plotting_with_subset_of_columns_and_standardized( self, block): df = load_regression_dataset() cp = CoxPHFitter() cp.fit(df, "T", "E") cp.plot(True, columns=['var1', 'var2']) self.plt.title( 'test_coxph_plotting_with_subset_of_columns_and_standardized') self.plt.show(block=block)