MS AI School Day 13

Joy·2023년 4월 19일
0

MS AI School

목록 보기
14/101
  1. 데이터 시각화
  • Power BI
  • Matplotlib (C언어)

(Demopro)
(Zoomit)

1) Matplotlib
lib : library

2) Style의 지정
plt.style.use('')

  • 오실로스코프

3) 라인 플롯 (원노트 참고)

자바, 시계, 라디안 값
https://steemit.com/kr/@codingart/57-processing

  • 그래프
  • 파일 저장

  • 파일 불러오기

  • 파일 종류

    (svgz : 백터값 크기조절등 자유로움, 큰 데이터)

4) 한번에 두 개의 그래프를 출력하는 방법

  • plt. (플롯 : plot)

  • K-ICT 빅데이터 센터 (판교) https://kbig.kr/portal/kbig/datacube/intro.page :
    인프라신청, gpu서버, 국가데이터, 서울 열린데이터 광장.

  • R : 판다스랑 비슷

  • 머신러닝 : 싸이킷런(Scikit-learn)

  • 딥러닝 : 캐라스(Keras), 파이토치(PyTorch)

5) 색상지정

  • RGB
  • CMYK
  • 16진수 #FFDDNN
  • 숫자 (1.0, 0.2, 0.3)
  • 색이름 (chartreuse)

6) 선의 종류 (linestyle)

  • solid : '-' 실선
  • dashed : '-'- 대시
  • dashdot : '-.' 대시닷
  • dotted : ':' 닷

7) 세부 조정 하는법

  • xlim
  • ylim

plt.axis

  • tight : 기본값
  • equal : x, y 비율동일

8) label 붙이기

  • plt.title('')
  • plt.xlabel ('x')
  • plt.ylabel ('sin(x)')

한글 유니코드 폰트 확인필요 (colab X)

  • plt.legend(), 범례
  1. 산점도
    (散點圖, Scatter plot) : 분산된 점. 나중에 회귀 분석(regression)을 할 때 중요.


1) Random

  • style 변경 가능 : plt.style.use('')
  • marker

  • s : square
  • d : diamond

plt.plot(x, y)
plt.plot(x, y, 'o')
plt.plot(x, y, '-o')
plt.plot(x, y, '--o')
plt.plot(x, y, '--o색')
plt.plot(x, y, '--ok')
plt.plot(x, y, '-o', color='')
개별색상 :
plt.plot(x, y,'-o', color='gray',
mark
markerfacecolor='white'
)
사이즈 :
plt.plot(x, y,'-o', color='gray',
markersize=15,
markerfacecolor='white'
)
오각형 : p

선의 굵기
plt.plot(x, y,'-p', color='gray',
markersize=15,
linewidth=4,
markerfacecolor='white'
)
마커 색상
마커 테두리 굵기

2) plt.scatter 산점도를 표현

  • rng : random number generation(generator) range
    for i in []:
    print(np.random.randint(,))

  • color, size, alpha

  • cmap : color map

  1. Iris
  • scikit learn

1) Feature

2) Label

Iris 분류 예제

  • 데이터 시각화 (변별력)
  1. 오차 시각화
  • 오차범위

plt.errorbar(x,y)
yerr=dy : y축의 값

  1. Tree차트
    https://finviz.com/map.ashx
  1. 클라우드, 파이썬
  • 재판매 CSP업체

1) Storage

2) 배포

[Azure Storage Account]
• 비정형 및 반정형 데이터를 저장하는 저장소
• 뛰어난 내구성(99.999999999%)과 가용성 (99.99%)을 제공
• 제한 없는 저장소 용량
• 손쉬운 엑세스
• 높은 성능

[다음 4가지 서비스를 제공]

  • Blob (Object storage)
  • Files (File share)
  • Table (Key-value store)
  • Queue (Simple queue)

3) 컨테이너

  • 웹사이트

  • 파이썬

  • 생성

  • 업로드
profile
🐣비전공자의 AI 입문기🐣

0개의 댓글