86e3e8e6f29671a409f6141a47526e933f46219b,tpot/base.py,TPOTBase,fit,#TPOTBase#Any#Any#Any#,371
Before Change
features = features.astype(np.float64)
if self._contains_nan(features):
if self.verbosity > 1:
print("Imputing missing values in feature set")
features = Imputer(strategy="most_frequent").fit_transform(features)
self._check_dataset(features, classes)
After Change
features = features.astype(np.float64)
if np.any(np.isnan(features)):
features = self._impute_values(features)
self._check_dataset(features, classes)
// Set the seed for the GP run
if self.random_state is not None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: EpistasisLab/tpot
Commit Name: 86e3e8e6f29671a409f6141a47526e933f46219b
Time: 2017-05-01
Author: supacoofoo@gmail.com
File Name: tpot/base.py
Class Name: TPOTBase
Method Name: fit
Project Name: EpistasisLab/tpot
Commit Name: 86e3e8e6f29671a409f6141a47526e933f46219b
Time: 2017-05-01
Author: supacoofoo@gmail.com
File Name: tpot/base.py
Class Name: TPOTBase
Method Name: predict
Project Name: HyperGAN/HyperGAN
Commit Name: 779ced0fabaaad57feedf544f452a69cf1c9baf6
Time: 2017-08-28
Author: mikkel@255bits.com
File Name: examples/2d-distribution.py
Class Name:
Method Name: train