일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 2019회고
- 인천남중
- 쇠막대기
- 타코트론
- tacotron
- 우분투비트확인
- 한빛미디어
- 결과를얻는법
- jaypark.dating
- machinelearning
- CrossAngle
- 프로그라피
- 나는리뷰어다
- 프로그래머스
- 서구동구예비군훈련장
- 놀이동산의슈퍼컴퓨터를작동시켜라
- 개발자회고
- 신영준
- 개발자를위한파이썬
- Xangle
- 봉사활동
- intell
- graphicdriver
- 심플소프트웨어
- 인하대학교
- 서버로그
- 로그남기기
- texttospeech
- 노트북덮개
- 인하멘토링
- Today
- Total
jc.jang
머신러닝 도입 본문
Machine Learning is kind of software. there are many explicit programming. for example, calculator. But there are limitations of explicit programming if you program spam filter or automatic driving, there are many rules. So That's very difficult.
learning needs data and there are two kinds of learning
one is supervised learning. the other is unsupervised learning. supervised learning is learning with labeled data. ex) dog-cat image data.
unsupervised learning is learning with unlabeled data. ex)google news grouping, word clustering.
Types of supervised learning
Regression - Predicting final exam score(0~100) based on spending time.
Binary classification - Pass/Fail exam
multi-label classification - Letter grade(A/B/C/D)
Why use Tensorflow?
Tensorflow is the most popular library.
Tensorflow is an open source software library for numerical computation using data flow graphs.
There are two concepts.
one is Node. Nodes in the graph represent. : mathematical operations.
the other is Edges. Edges represent the multidimensional
data arrays(tensors) communicated between them
Rank is a dimension.
0 Scalar s=483
1 Vector v=[1.1 , 2.2]
2 Matrix m=[[1,2,3], [4,5,6]]
3 3-tensor
n n-tensor
shape dimension number
[] 0-d
[d0] 1-d
[d0 d1] 2-d
[d0 d1 d2] 3-d
[d0 d1 d2 ... dn-1] n-d
programming
1. Build graph using Tensorflow operations
2. Feed data and run graph(operation) sess.run(op)
3. Update variables in the graph(and return values)
Linear Regression
Guess Hypothesis
H(x) = wx+b
There will be many H(x).
Which Hypothesis is better?
How many fit the line to our(training) data.
So introduce cost function(lost function).
The professor emphasized the following :
Tensorflow programming order -
1. Build graph using Tensorflow operations
2. Feed data and run graph(operation) sess.run(op)
#Node is operation. Edge is a data flow
3. Update variables in the graph(and return values)
Tensorflow output result 'b' means that data type byte.
'Hello world' is not a string but byte.
byte contain only ASCII but string contain the other
'A' == '\41'
>>true
'A' == b'A'
>>false
b'A' == b'\x41'
>>true
a character is not a byte.