7e0cd1421c6b717fc023ec69e55a9044b1cebdcd,optuna/samplers/tpe/sampler.py,TPESampler,_split_param_values,#TPESampler#Any#,122
Before Change
n_below = self.gamma(len(param_values))
below = np.asarray(param_values[:n_below], dtype=float)
above = np.asarray(param_values[n_below:], dtype=float)
return below, above
def _sample_uniform(self, distribution, below, above):
// type: (distributions.UniformDistribution, np.ndarray, np.ndarray) -> float
After Change
n_below = self.gamma(len(param_values))
below = [v for v, _ in sorted(param_values[:n_below], key=lambda entry: entry[1])]
above = [v for v, _ in sorted(param_values[n_below:], key=lambda entry: entry[1])]
below = np.asarray(below, dtype=float)
above = np.asarray(above, dtype=float)
return below, above
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pfnet/optuna
Commit Name: 7e0cd1421c6b717fc023ec69e55a9044b1cebdcd
Time: 2019-06-26
Author: phjgt308@gmail.com
File Name: optuna/samplers/tpe/sampler.py
Class Name: TPESampler
Method Name: _split_param_values
Project Name: sentinel-hub/eo-learn
Commit Name: 889cde4a62dbcedbb5856ed3b295b742031074ac
Time: 2019-10-11
Author: jovan.visnjic@sinergise.com
File Name: io/eolearn/io/processing_api.py
Class Name: Sentinelhub16bitInput
Method Name: execute
Project Name: iskandr/fancyimpute
Commit Name: 26c72cf3ad3b0b7e0569f0f11e970bc603c98027
Time: 2016-01-10
Author: alex.rubinsteyn@gmail.com
File Name: experiments/complete_faces.py
Class Name: ResultsTable
Method Name: __init__