pd.DataFrame(NN.history).to_csv("BTC_nominal_loss.csv") model_params = json.dumps(NN.params) with open("BTC_nominal_params.json", "w") as json_file: json_file.write(model_params) model_json = model.to_json() with open("BTC_nominal.json", "w") as json_file: json_file.write(model_json) model.save_weights("BTC_nominal_weights.h5")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter