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
- shadowing
- objective functions for machine learning
- Policy Gradient
- sidleup
- pulloff
- checkitout
- scowl
- Knowledge Distillation
- 3d medical image
- non parametic softmax
- remove outliers
- 자료구조
- REINFORCE
- resample
- domain adaptation
- clip intensity values
- straightup
- Excel
- MRI
- noise contrast estimation
- Inorder Traversal
- loss functions
- normalization
- freebooze
- fastapi
- model-free control
- Actor-Critic
- thresholding
- sample rows
- rest-api
Archives
- Today
- Total
목록DFS (1)
Let's Run Jinyeah
[Python] 기본 탐색 - 완전탐색, DFS/BFS
Outline 완전탐색 DFS/BFS 완전탐색(브루트 포스) 모든 경우의 수를 탐색 전체 데이터 개수가 100만 개 이하일 때 사용 DFS/BFS 그래프 탐색 알고리즘 재귀함수의 수행은 스택 자료구조 이용 스택, 큐 관련 기초지식 그래프 관련 기초지식 DFS(깊이 우선 탐색) 특정한 경로로 탐색하다가 특정한 상황에서 최대한 깊숙이 들어가서 노드를 방문한 후, 다시 돌아가 다른 경로를 탐색 스택 자료구조에 기초(선입후출) 스택을 이용하는 알고리즘이기 때문에 실제 구현은 재귀함수를 이용했을 때 매우 간결 시간복잡도 O(N) def dfs(graph, v, visited): visitied[v] = True print(v, end ='') for i in graph[v]: if not visitied[i]: ..
Programming/Algorithm
2021. 10. 14. 07:45