일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- #실생활영어
- 딥러닝
- opencv SURF
- keras
- #Android
- tokenizing
- tensorflow update
- #영어 명언
- 완전탐색
- python list
- python __init__
- #실생활 영어
- 영어
- convexhull
- #English
- c언어
- text2img
- object detection
- python 알고리즘
- #영어
- #프로젝트
- 영어명언
- findContours
- #일상영어
- #opencv
- word embedding
- 이미지 생성
- Convolution Neural Network
- #1일1영어
- TensorFlow
Archives
- Today
- Total
목록특징 추출 (1)
When will you grow up?
단어 사전, 특징 추출, 단어 표현
단어 사전(word index) : 숫자 매핑 사전 만들기. 즉, 단어별로 인덱스를 부여하는 것이다. keras에서 제공되는 preprocessing을 이용하면 간단하게 구현해볼 수 있다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 from keras import preprocessing samples = ['현재날씨는 10분 단위로 갱신되며, 날씨 아이콘은 강수가 있는 경우에만 제공됩니다.', '낙뢰 예보는 초단기예보에서만 제공됩니다.', '나 좋은 일이 생겼어', '아 오늘 진짜 짜증나' ] tokenizer = preprocessing.text.Tokenizer() tokenizer.fit_on_texts(samples) word_index = tokenizer.word_ind..
02. Study/Deep Learning
2019. 8. 5. 23:12