047873d950187d8fd1b8c457dfc1ccd8c6626dec,sksurv/metrics.py,,concordance_index_ipcw,#,173

Before Change


    if tau is not None:
        survival_test = survival_test[test_time < tau]

    _, _, estimate = _check_inputs(
        test_event, test_time, estimate)

    cens = CensoringDistributionEstimator()

After Change


    if tau is not None:
        survival_test = survival_test[test_time < tau]

    estimate = check_array(estimate, ensure_2d=False)
    check_consistent_length(test_event, test_time, estimate)

    cens = CensoringDistributionEstimator()
    cens.fit(survival_train)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: sebp/scikit-survival
Commit Name: 047873d950187d8fd1b8c457dfc1ccd8c6626dec
Time: 2019-04-25
Author: sebp@k-d-w.org
File Name: sksurv/metrics.py
Class Name:
Method Name: concordance_index_ipcw


Project Name: tgsmith61591/pmdarima
Commit Name: 11350919148ac860e025264f8dd9fcb6ff8542ff
Time: 2019-11-19
Author: tgsmith61591@gmail.com
File Name: pmdarima/arima/arima.py
Class Name:
Method Name: _seasonal_prediction_with_confidence


Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: 2f0a4b24da69a6717754acb3ad9add8b14c86659
Time: 2018-09-06
Author: g.lemaitre58@gmail.com
File Name: imblearn/under_sampling/_prototype_selection/_random_under_sampler.py
Class Name: RandomUnderSampler
Method Name: _check_X_y