e9653cc2b474371d84b20ddf65f05695536c2e96,examples/SMAC4HPO_rf.py,,,#,103

Before Change


// boston = load_boston()
// If using multiple instances, they are normally sent to SMAC through the scenario object as
// filenames/folder names, which can be loaded from inside the target algorithm
instances = os.listdir(INSTANCE_PATH)
instances = [[INSTANCE_PATH+i] for i in instances]
sample_X, sample_y = load_data_from_file(instances[0][0], delimiter=" ")

logger = logging.getLogger("RF-example")
logging.basicConfig(level=logging.INFO)

After Change



// Example call of the function with default values
// It returns: Status, Cost, Runtime, Additional Infos
def_value = smac.get_tae_runner().run(cs.get_default_configuration(), 1)[1]
print("Value for default configuration: %.2f" % def_value)

// Start optimization
try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: automl/SMAC3
Commit Name: e9653cc2b474371d84b20ddf65f05695536c2e96
Time: 2019-07-02
Author: ashraaghav@gmail.com
File Name: examples/SMAC4HPO_rf.py
Class Name:
Method Name:


Project Name: p2irc/deepplantphenomics
Commit Name: c2ee60788af44fae1835da27aa41ee14974b6e18
Time: 2020-02-06
Author: dbl599@mail.usask.ca
File Name: deepplantphenomics/heatmap_object_counting_model.py
Class Name: HeatmapObjectCountingModel
Method Name: __labels_to_heatmaps


Project Name: sahana/eden
Commit Name: 1656c8b34f86c16cdc287ae2373fc10487d3e56d
Time: 2019-12-02
Author: dominic@nursix.org
File Name: modules/s3db/setup.py
Class Name: S3SetupModel
Method Name: setup_get_templates