파이썬은 과학 분야, 특히 기계학습과 데이터 과학 분야에서 널리 쓰입니다. 파이썬 자체의 뛰
어난 성능에 넘파이와 사이파이
SciPy
같은 수치 계산과 통계 처리를 다루는 탁월한 라이브러리
가 더해져 데이터 과학 분야에서 확고한 위치를 차지하고 있죠. 나아가 딥러닝 프레임워크 쪽
에서도 파이썬을 애용합니다. 예를 들어 카페
Caffe
, 텐서플로
TensorFlow
, 체이너
Chainer
, 테아노
Theano
같은 유명 딥러닝 프레임워크들이 파이썬용
API
를 제공합니다. 그래서 파이썬을 배우면 딥러
닝 프레임워크를 사용할 때도 반드시 도움이 될 것입니다.
이처럼 파이썬은 특히 데이터 과학 분야에 아주 적합한 프로그래밍 언어입니다. 그래서 이 책
의 목표인 ‘딥러닝을 밑바닥부터 만들기’를 달성하기 위한 언어로 선택된 것이죠.
1.2
파이썬 설치하기
그럼 파이썬을
PC
에 설치합시다. 이번 절은 설치할 때 주의할 점을 설명합니다.
1.2.1
파이썬 버전
현재의 파이썬은
2
.
x
와
3
.
x
라는 두 가지 버전이 공존합니다.
3
버전이 나왔지만 아직
2
버전도
많이 이용되고 있죠. 그래서 파이썬을 처음 배울 때는 어느 버전을 설치할지 신중하게 선택해
야 합니다. 이 둘은
100
% 호환되는 게 아니니까요(정확히 말하면 ‘하위 호환성’이 없습니다).
즉, 파이썬
3
로 짠 프로그램을 파이썬
2
에서는 실행하지 못하는 일이 일어납니다. 이 책에서
는 파이썬
3
를 사용합니다. 만약 파이썬
2
만 설치했다면, 파이썬
3
도 추가로 설치하시기 바랍
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.