2ab8c1444facbd46df8767a5badda5b9f1a50c29,tpot/tpot.py,TPOT,predict,#TPOT#Any#,314
Before Change
new_col_names = {}
for column in training_testing_data.columns.values:
if type(column) != str:
new_col_names[column] = str(column).zfill(10)
training_testing_data.rename(columns=new_col_names, inplace=True)
// Transform the tree expression in a callable function
func = self._toolbox.compile(expr=self._optimized_pipeline)
After Change
most_frequent_class = Counter(self._training_classes).most_common(1)[0][0]
data = np.concatenate([training_data, testing_data])
data = np.insert(data, 0, np.array([most_frequent_class] * data.shape[0]), axis=1)
// Transform the tree expression in a callable function
func = self._toolbox.compile(expr=self._optimized_pipeline)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tpot/tpot.py
Class Name: TPOT
Method Name: predict
Project Name: brian-team/brian2
Commit Name: a1a0d2e3010f8ade39317709a684bd431d5eef3c
Time: 2014-10-02
Author: marcel.stimberg@ens.fr
File Name: brian2/units/fundamentalunits.py
Class Name: Quantity
Method Name: in_unit
Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tests.py
Class Name:
Method Name: