94b2195fb99ebcf83ad197087797adbdfb964af7,tpot/tpot.py,TPOT,_select_percentile,#TPOT#Any#Any#,690
Before Change
training_features = input_df.loc[input_df["group"] == "training"].drop(["class", "group", "guess"], axis=1)
training_class_vals = input_df.loc[input_df["group"] == "training", "class"].values
if percentile < 0:
percentile = 0
elif percentile > 100:
percentile = 100
if len(training_features.columns.values) == 0:
return input_df.copy()
with warnings.catch_warnings():
After Change
training_features = input_df.loc[input_df["group"] == "training"].drop(["class", "group", "guess"], axis=1)
training_class_vals = input_df.loc[input_df["group"] == "training", "class"].values
percentile = max(min(100, percentile), 0)
if len(training_features.columns.values) == 0:
return input_df.copy()
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 9
Instances
Project Name: EpistasisLab/tpot
Commit Name: 94b2195fb99ebcf83ad197087797adbdfb964af7
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _select_percentile
Project Name: EpistasisLab/tpot
Commit Name: 94b2195fb99ebcf83ad197087797adbdfb964af7
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _select_percentile
Project Name: EpistasisLab/tpot
Commit Name: 94b2195fb99ebcf83ad197087797adbdfb964af7
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _rfe
Project Name: EpistasisLab/tpot
Commit Name: 94b2195fb99ebcf83ad197087797adbdfb964af7
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _xgradient_boosting
Project Name: EpistasisLab/tpot
Commit Name: 94b2195fb99ebcf83ad197087797adbdfb964af7
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _select_fwe
Project Name: EpistasisLab/tpot
Commit Name: 533e500976fb566b4dc43075f8d9f2f0bf9e1d51
Time: 2016-03-11
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: _random_forest