๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Machine Learning/๋”ฅ๋Ÿฌ๋‹

Relu ํ•จ์ˆ˜

๋ฐ˜์‘ํ˜•

Relu ํ•จ์ˆ˜

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