282f883f27fdb10df826b39f621989145b44fa35,tests/integration_tests/test_sklearn.py,,test_optuna_search,#Any#Any#,15

Before Change


        optuna_search._check_is_fitted()

    if fit_params == "sample_weight":
        sample_weight = np.ones_like(y)
        optuna_search.fit(X, y, sample_weight=sample_weight)
    else:
        optuna_search.fit(X, y)

After Change


        optuna_search._check_is_fitted()

    if fit_params == "coef_init" and not enable_pruning:
        optuna_search.fit(X, y, coef_init=np.ones((3, 2), dtype=np.float64))
    else:
        optuna_search.fit(X, y)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pfnet/optuna
Commit Name: 282f883f27fdb10df826b39f621989145b44fa35
Time: 2020-02-03
Author: himkt@cookpad.com
File Name: tests/integration_tests/test_sklearn.py
Class Name:
Method Name: test_optuna_search


Project Name: fgnt/pb_bss
Commit Name: 8bb6b5a40a539ab9f1e25131c6f3add01beb6dbe
Time: 2018-08-07
Author: mail@lukas-drude.de
File Name: dc_integration/distribution/cacgmm.py
Class Name: CACGMMTrainer
Method Name: fit


Project Name: arraiy/torchgeometry
Commit Name: 2210302864058ac1ecef154a2b0d482448b74233
Time: 2018-10-04
Author: edgar.riba@gmail.com
File Name: torchgeometry/conversions.py
Class Name:
Method Name: convert_points_to_homogeneous