7fb891cde617bf12e960ecfc0aac16e25775e9fb,numerox/model.py,example_predictions,fit_predict,#example_predictions#Any#Any#Any#,156

Before Change


        model = GradientBoostingClassifier(n_estimators=25, max_depth=1,
                                           random_state=1776)
        model.fit(dfit.x, dfit.y[tournament])
        yhat = model.predict_proba(dpre.x)[:, 1]
        yhat = np.round(yhat, 5)
        return dpre.ids, yhat

After Change


        model = GradientBoostingRegressor(n_estimators=25, max_depth=1,
                                           random_state=1776)
        model.fit(dfit.x, dfit.y[tournament])
        yhat = model.predict(dpre.x)
        yhat = np.round(yhat, 5)
        return dpre.ids, yhat

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: example_predictions
Method Name: fit_predict


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: randomforest
Method Name: fit_predict


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: logistic
Method Name: fit_predict


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: logisticPCA
Method Name: fit_predict


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: extratrees
Method Name: fit_predict


Project Name: kwgoodman/numerox
Commit Name: 7fb891cde617bf12e960ecfc0aac16e25775e9fb
Time: 2019-07-10
Author: michaelo@alleninstitute.org
File Name: numerox/model.py
Class Name: mlpc
Method Name: fit_predict