19b609754c23e8fb434236e4bbd5341d1745109c,smac/smbo/smbo.py,SMBO,__init__,#SMBO#Any#Any#Any#,20
Before Change
for i, param in enumerate(self.config_space.get_parameter_names()):
if param in self.config_space.get_categorical_parameters():
n_cats = len(self.config_space.get_categorical_values(param))
self.types[i] = n_cats
X_lower[i] = 0
X_upper[i] = n_cats
elif param in self.config_space.get_continuous_parameters():
lo, up = self.config_space.parameters[param].values
X_lower[i] = lo
X_upper[i] = up
self.model = RandomForestWithInstances(self.types,
After Change
Seed that is passed to random forest
"""
with open(pcs_file) as fh:
self.config_space = pcs.read(fh.read())
self.config_space.seed(seed)
self.instance_features = instance_features
// Extract types vector for rf from config space
self.types = np.zeros(len(self.config_space.get_hyperparameter()))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: automl/SMAC3
Commit Name: 19b609754c23e8fb434236e4bbd5341d1745109c
Time: 2015-12-03
Author: feurerm@informatik.uni-freiburg.de
File Name: smac/smbo/smbo.py
Class Name: SMBO
Method Name: __init__
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0
Time: 2018-04-22
Author: yutiansut@qq.com
File Name: QUANTAXIS/QACmd/__init__.py
Class Name: CLI
Method Name: do_examples
Project Name: AIRLab-POLIMI/mushroom
Commit Name: f43e34a990ef0f9bfa6ac055c79a2f62c6b6b322
Time: 2020-04-22
Author: boris.ilpossente@hotmail.it
File Name: mushroom_rl/core/serialization.py
Class Name: Serializable
Method Name: load
Project Name: theislab/scanpy
Commit Name: ab9247bdf8b7a3decc34a15b26fec813ea8fba0d
Time: 2020-07-31
Author: ivirshup@gmail.com
File Name: scanpy/readwrite.py
Class Name:
Method Name: _download
Project Name: analysiscenter/batchflow
Commit Name: 11c6bf1dbd051d087519ff771b39dac600c0d96d
Time: 2019-07-29
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: head