본문 바로가기

TensorFlow(AI)53

Sample plots in Matplotlib¶ https://matplotlib.org/tutorials/introductory/sample_plots.html https://matplotlib.org/gallery/subplots_axes_and_figures/subplot.html import numpy as np import matplotlib.pyplot as plt x1 = np.linspace(0.0, 5.0) x2 = np.linspace(0.0, 2.0) y1 = np.cos(2 * np.pi * x1) * np.exp(-x1) y2 = np.cos(2 * np.pi * x2) plt.subplot(2, 1, 1) plt.plot(x1, y1, 'o-') plt.title('A tale of 2 subplots') plt.ylabel(.. 2018. 12. 14.
keras lstm input shape source : https://machinelearningmastery.com/reshape-input-data-long-short-term-memory-networks-keras/ How to Reshape Input Data for Long Short-Term Memory Networks in KerasIt can be difficult to understand how to prepare your sequence data for input to an LSTM model.Often there is confusion around how to define the input layer for the LSTM model.There is also confusion about how to convert your .. 2018. 12. 12.
keras save model https://keras.io/getting-started/faq/#how-can-i-save-a-keras-model How can I save a Keras model?Saving/loading whole models (architecture + weights + optimizer state)It is not recommended to use pickle or cPickle to save a Keras model.You can use model.save(filepath) to save a Keras model into a single HDF5 file which will contain:the architecture of the model, allowing to re-create the modelthe.. 2018. 12. 11.
kaggle.com [open data set] www.kaggle.com https://www.kaggle.com/datasets?sortBy=relevance&group=public&search=currency&page=1&pageSize=20&size=sizeAll&filetype=fileTypeAll&license=licenseAll 2018. 12. 10.