일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 이미지 생성
- keras
- #실생활 영어
- 영어명언
- findContours
- convexhull
- tensorflow update
- #English
- #프로젝트
- Convolution Neural Network
- TensorFlow
- #opencv
- c언어
- object detection
- python __init__
- 영어
- opencv SURF
- 딥러닝
- text2img
- tokenizing
- #실생활영어
- 완전탐색
- #영어 명언
- #일상영어
- #영어
- #1일1영어
- #Android
- python 알고리즘
- word embedding
- python list
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