견고한 직관을 구축할 수 있도록 신경망에 관해 두 가지를 병렬적으로 설명한다. 바로 수학적
이론과 넘파이
numpy
다. 수학적 설명은 이론적 수준에서 일어나는 일을 이해하는 데 도움을 준
다. 그리고 넘파이는 그 기능이 어떻게 구현될 수 있는지 이해하는 데 도움이 될 것이다.
여기서 다시 붓꽃 데이터셋
Irisdataset
1
을 사용한다. 이 데이터는 딥러닝을 현실적으로 사용하기에
는 너무 작지만, 역전파를 탐색하는 데는 도움이 된다. 붓꽃 데이터셋을 다시 떠올려보자([표
4
-
1
] 참조).
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from scipy.special import softmax
df = pd.read_csv('data/iris/iris.data', names=[
'sepal_length',
'sepal_width',
'petal_length',
'petal_width', ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.