What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-01 23:34:15
Como crear rnn en keras
import numpy import matplotlib.pyplot as plt import pandas import math from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM from keras.layers import Reshape from sklearn.preprocessing import MinMaxScaler... Add solution -
Python 2021-09-09 18:54:01
plot cdf python
import numpy as np from pylab import * # Create some test data dx = 0.01 X = np.arange(-2, 2, dx) Y = exp(-X ** 2) # Normalize the data to a proper PDF Y /= (dx * Y).sum() # Compute the CDF CY = np.cumsum(Y * dx) # Plot both plot(X, Y) plot(X, CY, '... Add solution