본문 바로가기

Machine Learning

DSAC 1-2, 1-3, 1-4 과정

(1-2)

numpy : Numerical Python

  • n(다) 차원 배열 (ndarray)
    • 1 차원 축 행( axis = 0) : Vector
    • 2 차원 축 열( axis = 1) : Matrix(행열)
    • 3 차원 축 채널 ( axis = 2) : Tensor(3차원 이상)
  • 반복없이

list 자료 : 반복(복사) 출력

list = [1, 2, 10]
print(list * 3) 

Output = [1, 2, 10, 1, 2, 10, 1, 2, 10]
[1, 2, 10, 1, 2, 10, 1, 2, 10]

 array()

 

'Machine Learning' 카테고리의 다른 글

과정 7  (0) 2021.11.22