0877f02d0cf4e47bff55c371d6714072e248020d,lifelines/tests/test_estimation.py,TestCoxPHFitter_SemiParametric,test_single_efron_computed_by_hand_examples,#TestCoxPHFitter_SemiParametric#Any#Any#,2702
Before Change
weights = np.ones_like(T)
// Enforce numpy arrays
X = np.array(X)
T = np.array(T)
E = np.array(E)
// Want as bools
After Change
X = data_nus[["x"]]
T = data_nus["t"]
E = data_nus["E"]
weights = pd.Series(np.ones_like(T))
// Want as bools
E = E.astype(bool)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CamDavidsonPilon/lifelines
Commit Name: 0877f02d0cf4e47bff55c371d6714072e248020d
Time: 2020-07-18
Author: cam.davidson.pilon@gmail.com
File Name: lifelines/tests/test_estimation.py
Class Name: TestCoxPHFitter_SemiParametric
Method Name: test_single_efron_computed_by_hand_examples
Project Name: CamDavidsonPilon/lifelines
Commit Name: 0877f02d0cf4e47bff55c371d6714072e248020d
Time: 2020-07-18
Author: cam.davidson.pilon@gmail.com
File Name: lifelines/tests/test_estimation.py
Class Name: TestCoxPHFitter_SemiParametric
Method Name: test_batch_efron_computed_by_hand_examples
Project Name: J535D165/recordlinkage
Commit Name: f0abbde5a393b8781919a2c33474757c07cfee8f
Time: 2016-01-02
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/indexing.py
Class Name:
Method Name: _sortedneighbourhood