bab61477e8d83c751509aeb91fc3b2e6ec743d93,sklearn/hpsearch/gke_parallel.py,GKEParallel,_partition_search_spaces,#GKEParallel#,197
Before Change
n_fold = 1
for key, lst in param_grid.items():
partition_keys.append(key)
n_fold *= len(lst)
if n_fold >= target_fold:
break
partitioned = self._partition(param_grid, partition_keys)
After Change
else:
// TODO: implement this
partitioned = [search_spaces]
while len(partitioned) < target_n_partition:
break
return partitioned
def _handle_bayes_search(self, X_uri, y_uri):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: bab61477e8d83c751509aeb91fc3b2e6ec743d93
Time: 2018-01-24
Author: yuhanliu@google.com
File Name: sklearn/hpsearch/gke_parallel.py
Class Name: GKEParallel
Method Name: _partition_search_spaces
Project Name: ina-foss/inaSpeechSegmenter
Commit Name: 4396573e860d553825702006aa335989356b45c8
Time: 2020-05-10
Author: ddoukhan@ina.fr
File Name: inaSpeechSegmenter/segmenter.py
Class Name:
Method Name: featGenerator
Project Name: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 4588ac6d2704f69dd9f527ae8145cd820c44667d
Time: 2018-09-04
Author: ikostrikov@gmail.com
File Name: enjoy.py
Class Name:
Method Name: