있고, 실제 데이터에서 선형 패턴을 관찰한 후 선형 종속관계를 가정했다. 따라서 이 예시에서
학습해야 할
w
는 두 개뿐이다. 이후에 수백만 개의
w
를 학습해야 하는 딥러닝 네트워크를 마
주하더라도 그 수학적 구조는 사실
Chapter
3
에서 배우게 될 구조와 동일하다는 것을 알게 될
것이다.
2.5
시뮬레이션 데이터 예시
이번에는 우리가 가지고 있는 키(
height
)-체중(
weight
) 데이터셋을 활용해 시뮬레이션을 해
보자. 자체 데이터를 활용해 시뮬레이션하면 실제로 또는 웹에서 데이터를 검색하거나 실험실
을 구축하여 통제된 측정값을 얻는 번거로움을 피할 수 있다. 이런 방법은 필요한 데이터를 구
할 수 없거나 비용이 많이 들 때 매우 유용하다. 또한 새로운 재료나 실험실을 만들어 처음과
다른 실험을 진행하지 않고도 함수의 숫자만 변경하여 다른 시나리오를 테스트할 수 있다. 데
이터 시뮬레이션은 수학 함수, 무작위성
randomness
또는 노이즈를 포함하는 확률 분포와 컴퓨터
만 있으면 되기 때문에 매우 편리하다.
다시 키와 체중 사이의 선형 종속성을 가정하는 함수로 돌아가보자.
키-체중 데이터 쌍에 대해 시뮬레이션하려면 파라미터
w
0
과
w
1
에 대한 값을 가정해야 한다.
최적의
w
를 선택할 때 실제 데이터에 관한 인사이트가 없다면 문제의 맥락이나 다양한 값으로
실험해볼 수밖에 ...
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.