본문 바로가기 메뉴 바로가기

JH BLOG

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

JH BLOG

검색하기 폼
  • 분류 전체보기 (68)
    • boj 연습 (28)
    • 해야 할 것들 (2)
    • Machine Learning (14)
      • recommendation System (2)
      • raspberry PI (2)
      • NLP (1)
      • 강화학습 (1)
    • Server (5)
    • SAMSUNG SW (0)
    • linux & mac (0)
    • Python (12)
    • Git 관리 (1)
    • 그 외 컴퓨터 지식 (1)
    • 일기 (1)
    • Algorithm & Data Structure (1)
  • 방명록

강화학습 입문 자료

입문용 github https://github.com/reinforcement-learning-kr/how_to_study_rl

Machine Learning/강화학습 2019. 2. 21. 09:41
list to string (리스트에 있는 원소들을 문자열로 변경)

lst = [1, 2, 3] str1 = ''.join(str(e) for e in lst)join 앞에는 단위이다.즉, ' '이면 띄어쓰기 단위로 붙여진다. ','이면 , 단위로 붙여진다.

Python 2019. 2. 18. 15:29
진행 바(Progress Bar) 만드는 법

def printProgress (iteration, total, prefix = '', suffix = '', decimals = 1, barLength = 100): formatStr = "{0:." + str(decimals) + "f}" percent = formatStr.format(100 * (iteration / float(total))) filledLength = int(round(barLength * iteration / float(total))) bar = '#' * filledLength + '-' * (barLength - filledLength) sys.stdout.write('\r%s |%s| %s%s %s' % (prefix, bar, percent, '%', suffix)),..

Python 2019. 2. 18. 15:19
이전 1 2 3 4 5 6 ··· 23 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바