Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 자기조직화지도
- BERT
- ResNet
- 군집화
- Clustering
- gaze estimation
- AI 윤리
- Attention
- cross domain
- textmining
- 경사하강법
- NMF
- stemming
- TFX
- VGGNet
- NER
- tensorflow
- MLOps
- Transfer Learning
- Gradient Descent
- SOMs
- Logistic Regression
- nlp
- Support Vector Machine
- Python
- Generative model
- Binary classification
- RNN
- Ann
- LSTM
Archives
- Today
- Total
목록컴프리헨션 (1)
juooo1117
Comprehension
Comprehension 결과를 넣을 새로운 자료구조에 따라 다음 세가지 구문 존재 리스트 컴프리헨션 딕셔너리 컴프리헨션 셋 컴프리헨션 l1 = [1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4] # list comprehension result2 = [(i * 10) for i in l1] print(result2) #결과: [10, 20, 30, 40, 50, 60, 70, 10, 20, 30, 40] # set comprehension, 중복값 제거할 때 result3 = {(i *10) for i in l1} print(result3) #결과: {70, 40, 10, 50, 20, 60, 30} # dictionary comprehension, {key-처리한 값의 index / valu..
python
2023. 8. 17. 09:22