d4a6437038ab505c137a1c1e65d61025fae55639,examples/temp_do_not_use_lscp.py,,,#,254

Before Change


    X_train, X_test, y_train, y_test = train_test_split(X, y,
                                                        test_size=0.4,
                                                        random_state=random_state)
    print("train_test_split happend")
    lscp.fit(X_train)
    scores = lscp.decision_function(X_test)

After Change


    // fit and
    lscp.fit(X_train)
    scores = lscp.decision_function(X_test)
    print(roc_auc_score(y_test, scores))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: yzhao062/pyod
Commit Name: d4a6437038ab505c137a1c1e65d61025fae55639
Time: 2018-11-24
Author: zain.nasrullah@ca.pwc.com
File Name: examples/temp_do_not_use_lscp.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 7d949ddda1c424773171a1db21f68eb8e6bb17cd
Time: 2018-05-07
Author: juan.n@unimelb.edu.au
File Name: doc/examples/xx_applications/plot_haar_extraction_selection_classification.py
Class Name:
Method Name:


Project Name: shenweichen/DeepCTR
Commit Name: bd5dc215e1c21bf12e6b5297d10f293c45e16c77
Time: 2019-01-02
Author: wcshen1994@163.com
File Name: examples/run_classification_criteo.py
Class Name:
Method Name: