df54abf808331353917568b26e3fbfa69c0e5cef,ml/kubeflow-pipelines/bikes_weather/components/kubeflow-resources/bikesw_training/deploy_tuner.py,,main,#,28
Before Change
oracle_json_str = blob.download_as_string()
logging.info("got oracle info: %s", oracle_json_str)
oracle_json = json.loads(oracle_json_str)
logging.info("oracle json: %s", oracle_json)
o_values = oracle_json["hyperparameters"]["values"]
hp_values_str = json.dumps(o_values)
logging.info("oracle values: %s", hp_values_str)
After Change
client = storage.Client()
bucket = client.get_bucket(args.bucket_name)
blob = bucket.get_blob(res_path)
results_string = blob.download_as_string()
logging.info("got results info: %s", results_string)
rs = results_string.decode("utf-8")
logging.info("rs: %s", rs)
with open(OUTPUT_PATH, "w") as f:
f.write(rs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: amygdala/code-snippets
Commit Name: df54abf808331353917568b26e3fbfa69c0e5cef
Time: 2020-08-04
Author: amy@infosleuth.net
File Name: ml/kubeflow-pipelines/bikes_weather/components/kubeflow-resources/bikesw_training/deploy_tuner.py
Class Name:
Method Name: main
Project Name: estnltk/estnltk
Commit Name: 077bb990814fa1fbf408fc646d5875a066667961
Time: 2014-12-02
Author: brainscauseminds@gmail.com
File Name: estnltk/ner.py
Class Name:
Method Name: train_default_model
Project Name: JasonKessler/scattertext
Commit Name: 170a249bd8a851ebf9fb71c0bb9251af48b33de4
Time: 2017-07-27
Author: jason.kessler@gmail.com
File Name: scattertext/SampleCorpora.py
Class Name: ConventionData2012
Method Name: _convention_speech_iter