c77ef920165d868740dd46325a537e42c9b8431a,autoreject/autoreject.py,,_compute_thresh,#Any#Any#Any#,197

Before Change


    
    est = ChannelAutoReject()

    Limits = namedtuple("Limits", "low high")
    limits = dict(eeg=Limits(low=20e-7, high=400e-6),
                  grad=Limits(low=400e-13, high=20000e-13),
                  mag=Limits(low=400e-15, high=20000e-15))

After Change


    
    est = _ChannelAutoReject()

    param_dist = dict(thresh=uniform(thresh_range[0],
                                     thresh_range[1]))
    rs = RandomizedSearchCV(est,  // XXX : is random really better than grid?
                            param_distributions=param_dist,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: autoreject/autoreject
Commit Name: c77ef920165d868740dd46325a537e42c9b8431a
Time: 2016-05-26
Author: mainakjas@gmail.com
File Name: autoreject/autoreject.py
Class Name:
Method Name: _compute_thresh


Project Name: tensorflow/transform
Commit Name: 190966e3b8e24aceb5c91e582357221a55f3f2f6
Time: 2020-12-01
Author: zoy@google.com
File Name: tensorflow_transform/tf_metadata/schema_utils.py
Class Name:
Method Name:


Project Name: hanxiao/bert-as-service
Commit Name: b44d6115097e2bebc4a1ecef869e04e2c60af7bb
Time: 2018-12-15
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name: