본문 바로가기

호랭이 분석가

검색하기
호랭이 분석가
프로필사진 데이터호랑이

  • 분류 전체보기 (41)
    • AWS (4)
      • Redshift (4)
    • Azure (8)
      • Cognitive Search (6)
    • Python (19)
      • Dask (5)
      • Error (1)
      • NLP (2)
      • Recommend (2)
    • Spark (1)
    • Docker (3)
    • Data Analysis (1)
      • 행동 데이터 분석 (1)
    • AI (5)
      • 동화 (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • Azure
  • 제로샷
  • Python
  • GPT
  • UDF
  • AI 동화
  • FOR
  • 동화책
  • 토끼
  • 컨텍스트 매니져
  • Cognitive Service
  • 인컨텍스트 러닝
  • 조건문
  • 퓨샷
  • 파라미터 힌트
  • 프롬프트 튜닝
  • 모험
  • Compute
  • dask
  • Redshift
  • Cognitive Search
  • 대스크
  • 반복문
  • 도커
  • Docker
  • Ai
  • 인자 힌트
  • 아기동화
  • 검색
  • 파이썬
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록delayed (1)

호랭이 분석가

Dask #1. 대스크 Delayed 를 사용한 병렬화와 visualize, compute

1. Delayed Delayed 함수를 비교하기 위하여 파이썬 함수와 비교하면서 보겠습니다. # 기본 함수 from time import sleep def inc(x) : sleep(5) return x + 1 def add(x, y) : sleep(5) return x + y %%time x = inc(1) y = inc(2) z = add(x, y) 파이썬에서는 x > y > z 순으로 순차적으로 실행하기 때문에 15초가 걸립니다. import dask.delayed as delayed @delayed def inc(x) : sleep(5) return x + 1 @delayed def add(x, y) : sleep(5) return x + y Dask의 delayed 함수를 사용하기 위하여 데코..

Python/Dask 2022. 4. 10. 17:22
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바