9d677b56f4244eb08f1c7e2061a1e86fd0aee748,examples/compose/plot_column_transformer_mixed_types.py,,,#,38
Before Change
clf = Pipeline(steps=[("preprocessor", preprocessor),
("classifier", LogisticRegression())])
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
clf.fit(X_train, y_train)
print("model score: %.3f" % clf.score(X_test, y_test))
After Change
grid_search.fit(X_train, y_train)
print(f"Best params:")
print(grid_search.best_params_)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// The internal cross-validation scores obtained by those parameters is:
print(f"Internal CV score: {grid_search.best_score_:.3f}")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: scikit-learn/scikit-learn
Commit Name: 9d677b56f4244eb08f1c7e2061a1e86fd0aee748
Time: 2020-05-16
Author: olivier.grisel@gmail.com
File Name: examples/compose/plot_column_transformer_mixed_types.py
Class Name:
Method Name:
Project Name: yzhao062/pyod
Commit Name: 87ce5a9cb09ea8ff0d7a90fdab2eeab0115d7c09
Time: 2018-06-04
Author: yuezhao@cs.toronto.edu
File Name: examples/feat_bagging_example.py
Class Name:
Method Name:
Project Name: shibing624/pycorrector
Commit Name: 3f86a791b2f044901d7e018ea5d3dd28ea7be4dc
Time: 2019-12-31
Author: xuming624@qq.com
File Name: pycorrector/seq2seq_attention/train.py
Class Name:
Method Name: train
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/convolutional_lstm_model.py
Class Name:
Method Name: