์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- MySQL
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์ํฉ๊ฒฉํ๊ธฐ
- dialogue state tracking
- fasttext text classification ํ๊ธ
- ํ์ด์ฌ์ ํ์ด์ฌ๋ต๊ฒ
- From Machine Reading Comprehension to Dialogue State Tracking: Bridging the Gap
- ๋ฐฑ์ค
- Leveraging Slot Descriptions for Zero-Shot Cross-Domain Dialogue State Tracking
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์ฑ ์ถ์ฒ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ์ ๊ณต์
- ๋ค์ด๋๋ฏน ํ๋ก๊ทธ๋๋ฐ
- ์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌ ์์ ๋น
- 2020์ ๋ณด์ฒ๋ฆฌ๊ธฐ์ฌํ๊ธฐ
- Few Shot Dialogue State Tracking using Meta-learning
- ํ๋ก๊ทธ๋๋จธ์ค
- DST zeroshot learning
- Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking
- nlp๋ ผ๋ฌธ๋ฆฌ๋ทฐ
- few shot dst
- Python
- classification text
- ๋ฅ๋ฌ๋๊ธฐ์ด
- ๋ชจ๋์๋ฅ๋ฌ๋
- DST fewshot learning
- ๊ฒ์์์ง
- SUMBT:Slot-Utterance Matching for Universal and Scalable Belief Tracking
- ์์ฐ์ด์ฒ๋ฆฌ ๋ ผ๋ฌธ ๋ฆฌ๋ทฐ
- How Much Knowledge Can You Pack Into the Parameters of a Language Model?
- ๋ฐ์ดํฐ ํฉ์ฑ
- til
- Today
- Total
๐ฒ์๋ผ๋๋์ฒญ๋
๋ํ์ด ์ฌ์ฉํ๊ธฐ ๋ณธ๋ฌธ
์ฃผํผํฐ ๋ฉ์ ์ด๊ณ ๋ํ์ด๋ฅผ ์ฒ์ ์ฌ์ฉํด ๋ณด์๋ค.
import numpy as np #์ด๊ฑธ ์๋จ์ ์ ๋ ฅํ๊ณ
x =np.array([1.0,2.0,3.0])
print(x)
์ด๋ ๊ฒ ์ ๋ ฅํ๋ฉด ๊ฒฐ๊ณผ๊ฐ์ผ๋ก๋
[1. 2. 3.]
๊ฐ ์ถ๋ ฅ์ด ๋๋ค.
import numpy as np
x =np.array([1.0,2.0,3.0])
y =np.array([2.0,3.0,4.0])
print(x+y)
๋ฐฐ์ด๋ผ๋ฆฌ์ ๋ง์ , ๋๋์ ๋ ์์ฝ๊ฒ ๊ฐ๋ฅํ๊ณ (์์ ๊ฒฐ๊ณผ๊ฐ์ [3. 5. 7.])
๋ธ๋ก๋์บ์คํธ๋ผ๋ ๋๋ํ ํน์ง์ด ์์ด์
import numpy as np x =np.array([1.0,2.0,3.0]) y =np.array([4.0]) print(x+y)
์ด๊ฒ๋ํ ๊ฐ๋ฅํ๋ค(y์ ๊ฐ์ด x์ ์์ ์ ์ฒด์๊ฒ ๋ํด์ง, ์์ ๊ฒฐ๊ณผ๊ฐ์ [5. 6. 7.])
n์ฐจ์ ๋ฐฐ์ด ๋ง๋ค๊ธฐ
2์ฐจ์, 3์ฐจ์ ๋ฐฐ์ด์
x =np.array([[1.0,2.0,3.0], [2.0,3.0,5.0]])๊ณผ ๊ฐ์ด ๋ง๋ค ์ ์๋ค.(๋ฐฐ์ด์์ ๋ฐฐ์ด์ด ๋ค์ด์๋ ๊ตฌ์กฐ!)
๊ฐ ํ์ ์ ๊ทผํ๊ธฐ ์ํด์๋
x[0]์ ์ ๋ ฅํ๋ฉด ๋๊ณ ๊ฒฐ๊ณผ๊ฐ์
arra7(1.0,2.0,3.0)์ด ๋๋ค.
for ๋ฌธ์ผ๋ก ์ ๊ทผํ๋ ๋ฐฉ๋ฒ์
for row in x :
print(row)
๋ก ์ ๊ทผ์ด ๊ฐ๋ฅํ๋ค.
๋ฐฐ์ด์ ๋ค๋ฃจ๋ ๋ช๊ฐ์ง ์ถ๊ฐ์ ์ธ ๊ธฐ๋ฅ์ด ๋ ์๋๋ฐ
import numpy as np
x =np.array([[1,2,3],[20,30,40]])
์์๊ฐ์ด 2์ฐจ์ ๋ฐฐ์ด์ด๋ x๋ฅผ
x=x.flattem()
์ ์ด์ฉํด 1์ฐจ์ ๋ฐฐ์ด๋ก ๋ง๋ค ์ ์๊ณ
x[np.array([0,2,4])]
์ธ๋ฑ์ค๊ฐ 0,2,4์ธ ๊ฐ ์ป๊ธฐ,
x>15
boolean ๊ฐ์ด ๋ค์ด์๋ ๋ฐฐ์ด(15๋ณด๋ค ํฌ๋ฉด true, ์๋๋ฉด false์ธ ๋ฐฐ์ด)
x[x>15]
x>15์ ๊ฒฐ๊ณผ๊ฐ์ด true์ธ ๊ณณ์ ๊ฐ์ ๋ฐฐ์ด์ ๋ฆฌํด๋ฑ์ ๊ธฐ๋ฅ์ ์ฌ์ฉํ ์ ์๋ค.
๊ฒฐ๊ณผ
#์๋๋ฐฐ์ด :
[1 2 3] [20 30 40]
#flatten ์ฌ์ฉํ์๋
flatten : [ 1 2 3 20 30 40]
#x>15์ถ๋ ฅ
x>15: [False False False True True True]
#x[x>15]์ถ๋ ฅ x[x>15]: [20 30 40]