BLAS(Basic Linear Algebra Subprograms)와 LAPACK(Linear Algebra Package)
https://numpy.org/install/#numpy-packages--accelerated-linear-algebra-libraries
BLAS/LAPACK를 활용한 가속화 사용을 위해 NumPy 소스 코드르 직접 빌드할 때, 연결되는 라이브러리를 지정할 수 있습니다.
BLAS(Basic Linear Algebra Subprograms)와 LAPACK(Linear Algebra Package)
https://numpy.org/install/#numpy-packages--accelerated-linear-algebra-libraries
BLAS/LAPACK를 활용한 가속화 사용을 위해 NumPy 소스 코드르 직접 빌드할 때, 연결되는 라이브러리를 지정할 수 있습니다.
| #!/bin/bash | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
네이버 나눔 글꼴(https://zetawiki.com/wiki/%EB%82%98%EB%88%94%EA%B8%80%EA%BC%B4)
Download and Install
# download and extract font files(.ttf)
wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
wget https://github.com/naver/nanumfont/releases/download/VER2.5/NanumGothicCoding-2.5.zip
unzip NanumFont_TTF_ALL.zip유니코드에서 한글을 어떻게 다루는지를 정리하였다.
| #!/usr/bin/env python3 | |
| # Copyright 2014 Brett Slatkin, Pearson Education Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
| # coding: utf-8 | |
| """ | |
| 빅파이, 빅데이터를 위한 파이썬 | |
| facebook.com/bigpython | |
| 이성주 [email protected] | |
| >>> print('테스트1', file=open('테스트1.txt', 'w')) | |
| >>> print('테스트2', file=open('테스트2.txt', 'w')) | |
| >>> 파일목록 = ['테스트1.txt', '테스트2.txt'] | |
| >>> export_to_zip('test.zip', 파일목록) |
| # coding: utf-8 | |
| """ | |
| 주신 질문에 대한 해결책을 제안합니다. | |
| 빅파이: 빅데이터를 위한 파이썬 | |
| www.facebook.com/bigpython | |
| """ | |
| import pandas as pd | |
| from pandas import Series, DataFrame |