๋ฐ์ํ
import numpy as np
import matplotlib.pyplot as plt
def relu(x) :
return np.maximum(0, x)
x = np.arange(-2, 2.4)
plt.plot(x, relu(x))
plt.xlim(-2.0, 2)
plt.ylim(-0.5, 1.5)
plt.grid()
plt.show()
๋ฐ์ํ
'Machine Learning > ๋ฅ๋ฌ๋' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Machine Learning] Train data normalization (0) | 2019.07.12 |
---|---|
Keras Tuner (0) | 2019.07.11 |
MDN (0) | 2019.07.11 |
Hyperparameter Tuning (1) | 2019.07.11 |
์ผ๋ผ์ค ์ฐฝ์์์๊ฒ ๋ฐฐ์ฐ๋ ๋ฅ๋ฌ๋ ๋ชฉ์ฐจ (0) | 2019.06.24 |