반응형
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 |
Tags
- Mac
- Google Excel
- matplotlib
- Apache
- Excel
- math
- gas
- Java
- string
- PySpark
- c#
- array
- 파이썬
- dataframe
- Redshift
- django
- list
- GIT
- Github
- Google Spreadsheet
- PANDAS
- Python
- google apps script
- Tkinter
- numpy
- Kotlin
- PostgreSQL
- hive
- SQL
Archives
- Today
- Total
목록2024/04/05 (1)
달나라 노트
Python matplotlib : spy (sparsity pattern, 희소성 패턴 그래프)
데이터를 보다 보면 Sparcity pattern이라는 개념을 접하게 됩니다. 한글로 번역을 해보면 희소성 패턴이라고 하죠. sparce -> 부족한, 희박한 sparcity -> 부족, 희박함 단어의 뜻을 보자면 위와 같습니다. 이러한 sparcity pattern을 그래프로 나타내주는 것이 matplotlib의 spy라는 method라고 합니다. Syntax spy( Z=2D-array, precision=value ) spy method에서 주로 사용하는 parameter는 위와 같습니다. - Z 2차원 array를 받습니다. Sparcity pattern 그래프를 그릴 때 사용되는 데이터입니다. - precision precision = 0이라면 Z에서 0이 아닌 모든 값에 대해 graph가 pl..
Python/Python matplotlib
2024. 4. 5. 19:13