19b609754c23e8fb434236e4bbd5341d1745109c,smac/smbo/smbo.py,SMBO,__init__,#SMBO#Any#Any#Any#,20
Before Change
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: 3
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: 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: bokeh/bokeh
Commit Name: c3534b1a8a5de16cc797c2b4d239059322c766db
Time: 2016-01-09
Author: bryanv@continuum.io
File Name: bokeh/application/handlers/script.py
Class Name: ScriptHandler
Method Name: __init__