1dbb7b146f235640776610b5d5c5f73917e718de,tutorials/tpot_titanic_pipeline.py,,,#,9

Before Change


    train_test_split(features, tpot_data["class"], random_state=42)

exported_pipeline = make_pipeline(
    RandomForestClassifier(n_estimators=500)
)

exported_pipeline.fit(training_features, training_classes)
results = exported_pipeline.predict(testing_features)

After Change


training_features, testing_features, training_classes, testing_classes = \
    train_test_split(features, tpot_data["class"], random_state=42)

exported_pipeline = RandomForestClassifier(bootstrap=False, max_features=0.4, min_samples_leaf=1, min_samples_split=9)

exported_pipeline.fit(training_features, training_classes)
results = exported_pipeline.predict(testing_features)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: EpistasisLab/tpot
Commit Name: 1dbb7b146f235640776610b5d5c5f73917e718de
Time: 2017-03-21
Author: rso@randalolson.com
File Name: tutorials/tpot_titanic_pipeline.py
Class Name:
Method Name:


Project Name: graphbrain/graphbrain
Commit Name: 28fdcce29e5fa683f9067b24dc63a7304e07da25
Time: 2020-12-24
Author: telmo@telmomenezes.net
File Name: graphbrain/parsers/alpha.py
Class Name: Alpha
Method Name: __init__


Project Name: graphbrain/graphbrain
Commit Name: cfff53944d78dd0d3eeb23c46a4b55883f2da5f8
Time: 2020-12-26
Author: telmo@telmomenezes.net
File Name: scripts/select-alpha-features.py
Class Name: FeatureSelector
Method Name: _train_classifier