introduction to ai · · 2018-03-22환경 구축 / python tutorial 2. python / numpy tutorial 3....
TRANSCRIPT
Introduction to AI
김준호
1. 4 주간 실습 내용 소개
2. 실습 환경 구축
3. python tutorial
실습 2 (4 주)
1. 환경 구축 / python tutorial
2. python / numpy tutorial
3. perceptron 구현
4. MLP & backpropagation 구현
실습 진행
1. python / numpy
• 기초 설명 & codecademy 진행
2. python /numpy tutorial
• numpy로 dataset 생성
• perceptron 구현하여 classification
3. MLP & backpropagation
• 2 layer MLP 구현 / 확장
Codecademy
python tensorflow
jupyter
환경 구축
환경 구축 - python(windows 기준)
https://www.python.org/downloads/
python 3.5.2 설치
환경 구축 - python(windows 기준)
환경 구축 - python(windows 기준)
설치 파일을 처음 실행시켰을 때 Add Path 를 체크해주세요
환경 구축 - python(windows 기준)
환경 구축 - python(windows 기준)
cmd 창을 열고 python —version
python이 제대로 설치되었나 확인
버전이 뜨면 제대로 설치 된 것
환경 구축 - tensorflow
tensorflow 사용을 좀 더 요잉하게 해주는 tool들 설치
pip install numpy matplotlib pillow h5py
tensorflow CPU 버전 설치
pip install —upgrade tensorflow
환경 구축 - jupyter
jupyter 설치
pip install jupyter
jupyter notebook 띄우기
jupyter notebook
환경 구축 - jupyter
python Tutorial
python Tutorial
• 프로그래밍 언어의 필요성
• 컴퓨터 시스템을 구동하기 위한 소프트웨어를 작성하는 언어
• why python?
• C 보다 상위 차원의 언어
• 확장성이 용이해 쉽고 구현된 Library 들이 많음
python Tutorial
• 변수(Variable)
• 연산(operation)
• 객체(Object)
• 자료형
• 정수(Integer)
• 실수(Float)
• 복소수(Complex)
• 문자열(String)
• 출력
• print(“hello world!”)
python Tutorial
• Data Structure
• List
• Indexing
• 2 차원 List
• Slicing
python Tutorial
• if / else (조건문)
• for (반복문)
python Tutorial
• function
• def
• return
• parameter
• variable scope
python Tutorial
• import
• class
• inheritance
• etc…
https://wikidocs.net/book/1
(jump to python)
실습1 Assignment: python codecademy(8-Loops까지)
• due: 4/5
• 제출: eTL Q&A
• 형식: [python]2017-11111_김준호
• 내용: screenshot
실습1 Assignment: python codecademy
8 - Loops 가 나오도록