d6631a21094ca1e46e53916f61de820b9e33c0ad,perf_tests/cp_perf_test.py,,,#,5
Before Change
print("--- %s seconds ---" % (time.time() - start_time))
cp_breslow.print_summary(2)
print(cp_breslow.score(df))
print(cp_breslow.score(df, scoring_method="concordance_index"))
After Change
print("--- %s seconds ---" % (time.time() - start_time))
cph.print_summary(2)
print(cph.compute_followup_hazard_ratios(df, [15, 20, 30, 40, 50, 52]))
print(cph.hazard_ratios_)
cph.compute_followup_hazard_ratios(df, [15, 20, 30, 40, 50, 52]).plot()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CamDavidsonPilon/lifelines
Commit Name: d6631a21094ca1e46e53916f61de820b9e33c0ad
Time: 2020-03-23
Author: cam.davidson.pilon@gmail.com
File Name: perf_tests/cp_perf_test.py
Class Name:
Method Name:
Project Name: scikit-learn/scikit-learn
Commit Name: 45a6ef7b722811ff1dfdc76652a144190c9e0ef8
Time: 2020-06-15
Author: madhura@predictivehire.com
File Name: examples/inspection/plot_partial_dependence.py
Class Name:
Method Name:
Project Name: EpistasisLab/tpot
Commit Name: d554d2ce78425cc70f690ad76972949c94fc6a7e
Time: 2016-08-23
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name:
Method Name: main