일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- checkitout
- 자료구조
- pulloff
- sample rows
- freebooze
- normalization
- objective functions for machine learning
- REINFORCE
- resample
- Excel
- MRI
- domain adaptation
- Inorder Traversal
- Policy Gradient
- scowl
- thresholding
- clip intensity values
- non parametic softmax
- noise contrast estimation
- model-free control
- loss functions
- Knowledge Distillation
- shadowing
- straightup
- remove outliers
- fastapi
- rest-api
- 3d medical image
- Actor-Critic
- sidleup
- Today
- Total
목록분류 전체보기 (57)
Let's Run Jinyeah
HTTP library - requests make and send HTTP request to interact with APIs GET / POST / PUT / DELETE import requests # GET : url에 특정 id api_url = "https://jsonplaceholder.typicode.com/todos/10" response = requests.get(api_url) print(response.json()) print(response.status_code) print(response.headers["Content-Type"]) #metatdata about the response # POST: 전체 todos url 사용 api_url = "https://jsonplace..
FastAPI uses Python type hints and has built-in support for async operations designed to build APIs with modern Python features built on top of Starlette and Pydantic Preparation install fastapi and uvicorn(server that can run FastAPI applications) with pip $ python -m pip install fastapi $ python -m pip install uvicorn[standard] save the code in a file called app.py Run $ uvicorn app:app --relo..
Steps to build APIs identify the resources in web service define the API endpoints pick a data format in REST API XML: elements, each element has an opening and closing tag JSON: key-value pairs similar to a Python dictionary format your API responses to HTTP requests HTTP requests HTTP method, API endpoint, HTTP version, API host HTTP responses Success Content-Type header to define how to purse..
REST Architecture software architecture style that defines a pattern for client and server communications over a network REST APIs and Web Services REST web service web service that adheres to REST architecture contstraints expose their data to the ouside world through an API REST APIs provide access to web service data through public web URLs listen for HTTP methods to know which operations to ..
1. 하나의 리스트에서 모든 조합 구하기 - itertools의 permutations 또는 combinations이용 from itertools import permutations letters = ['a', 'b', 'c'] result = list(permutations(items, 2)) result = list(map(''.join, result)) # ['ab', 'ac', 'ba', 'bc', 'ca', 'cb'] from itertools import combinations letters = ['a', 'b', 'c'] result = list(permutations(items, 2)) result = list(map(''.join, result)) # ['ab', 'ac', 'bc'] 2..
Tree 그래프 자료구조의 일종으로 데이터베이스 시스템이나 파일 시스템과 같은 곳에서 많은 양의 데이터를 관리하기 위한 목적으로 사용됨 특징 트리는 부모 노드와 자식 노드의 관계로 표현된다 트리의 최상단 노드를 루트 노드라고 한다 트리의 최하단 노드를 단말 노드라고 한다 트리에서 일부를 떼어내도 트리 구조이며 이를 서브 트리라 한다 트리는 파일 시스템과 같이 계층적이고 정렬된 데이터를 다루기에 적합하다 Binary Tree Tree that each node has no more than two child nodes. Each node has a left node and a right node Binary Search Tree 중위 순회(Inorder Traversal)를 하면 키 값의 오름차순으로 노드..
개념 배열 내부의 데이터가 정렬되어 있어야만 사용할 수 있는 알고리즘 찾으려는 데이터와 중간점 위치에 있는 데이터를 반복적으로 비교해서 탐색 범위를 절반씩 좁혀가며 데이터를 탐색 한번 확인할 때마다 확인하는 원소의 개수가 절반씩 줄어든다는 점은 퀵 정렬과 비슷 단계마다 2로 나누는 것과 동일 - 시간복잡도 O(logN) 효율적으로 삽입 가능 구현 재귀 def binary_searcy(array, target, start, end): if start > end: return None mid = (start+end) // 2 if array[mid] == target: return mid elif array[mid] > target: return binary_search(array, target, start..