145105e5dd84ca537b3eb5893fbe309edc497655,scripts/2015_nips_paper/run_with_metalearning.py,,main,#Any#Any#Any#Any#Any#,37
Before Change
"multiclass": "multiclass.classification",
}
task_type = type_of_target(y_train)
metadata_for_this_task = os.path.abspath(
os.path.join(working_directory,
"metadata_%i/balanced_accuracy_%s_%s" % (task_id,
TASK_TYPES_TO_STRING[task_type],
sparse_or_dense)))
configuration_output_dir = os.path.join(working_directory, str(seed))
tmp_dir = os.path.join(configuration_output_dir, str(task_id))
try:
After Change
fh.write("Time,Train Performance,Test Performance\n")
// Add start time:0, Train Performance:1, Test Performance: 1
fh.write("{0},{1},{2}\n".format(T, 1, 1))
for t, dummy, s in zip(automl.cv_results_["mean_fit_time"],
[1 for i in range(len(automl.cv_results_["mean_fit_time"]))],
1 - automl.cv_results_["mean_test_score"]): // We compute rank based on error.
T += t
fh.write("{0},{1},{2}\n".format(T, dummy, s))
if __name__=="__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--working-directory", type=str, required=True)
parser.add_argument("--time-limit", type=int, required=True)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: automl/auto-sklearn
Commit Name: 145105e5dd84ca537b3eb5893fbe309edc497655
Time: 2019-02-21
Author: ahn1340@hotmail.com
File Name: scripts/2015_nips_paper/run_with_metalearning.py
Class Name:
Method Name: main
Project Name: studioml/studio
Commit Name: 28e3d00f5e8625dc6d2743749a2d25acc040e875
Time: 2021-02-11
Author: andrei.denissov@cognizant.com
File Name: studio/experiment.py
Class Name: Experiment
Method Name: __init__
Project Name: daavoo/pyntcloud
Commit Name: 4e4d24e05b98c99fca8511df38e10fada683e24b
Time: 2017-09-29
Author: daviddelaiglesiacastro@gmail.com
File Name: test/test_sampling.py
Class Name:
Method Name: test_mesh_sampling
Project Name: automl/auto-sklearn
Commit Name: b8b9b6d34d35671fb8651f40503d51fc72477128
Time: 2019-03-13
Author: ahn1340@hotmail.com
File Name: scripts/2015_nips_paper/run_with_metalearning.py
Class Name:
Method Name: main