¡Hola, Mundo!

  • 홈
  • 태그
  • 방명록

empty 2

numpy-empty, where, allclose, dot, argsort, corrcoef, astype, nan, hstack, argmax

empty Return a new array of given shape and type. np.empty((3,3)) >>> array([[-1., 0., 5.], [12., 18., 24.], [35., 60., inf]]) where Return elements depending on condition. ar=np.arange(1,10) np.where(ar>5) >>> (array([5, 6, 7, 8]),) allclose Returns True if two arrays are element-wise equal. np.allclose([2,3],[2,3],equal_nan=True) >>> True equal_nan : Whether to compare NaN’s as equal. If True,..

Analyze Data/Python Libraries 2022.12.07

numpy-array, arange, reshape, slicing, newaxis, ...(Ellipsis)

array # 1D array - shape (3,)arr_1d = np.array([1, 2, 3])# 2D column vector - shape (3, 1)arr_2d_col = np.array([[1], [2], [3]])# 2D row vector - shape (1, 3) arr_2d_row = np.array([[1, 2, 3]]) In here, while (3, 1) means "2 dimensions: 3 rows, 1 column", it is shown as (3, ) in 1D array. That is, it represents a 1D array with 3 elements, not a 2D array with rows and columns. That is, for a 1D ..

Analyze Data/Python Libraries 2021.05.25
이전
1
다음
더보기
  • 분류 전체보기 (359) N
    • Autonomous Vehicle (56)
      • Theory (14)
      • Sensors (11)
      • Video Geometry (25)
    • Deep Learning (21) N
      • PyTorch (11)
      • Tensorflow (8)
      • CNN (7)
      • Object Detection (16)
    • Machine Learning (19)
    • Reinforcement Learning (4)
    • Analyze Data (29)
      • Python (2)
      • Python Libraries (20)
      • Measure of similarity (7)
    • KAFKA (6)
    • d3.js (20)
    • Environment (9)
      • Anaconda (4)
      • VisualStudioCode (3)
      • Jupyter (2)
    • JavaScript (10)
    • C# (6)
    • Linux (15)
      • terminal (9)
      • Nvidia (3)
    • Docker (17)
    • Git (7)
    • Concept (8)
      • Network (3)
    • Elastic Stack (6)
      • Elasticsearch (5)
      • Logstash (1)
    • Basic Python (42) N
      • FastAPI (3)
      • Data Structure (1)
      • Workbook (5)
    • DataBase (11)
      • MYSQL (6)
      • MariaDB (1)
    • Math (21)
    • About me (1)

Tag

axis, global variable, zeros, docker-compose, Filter, abstractmethod, Regular Expression, nvidia-smi, 3D Rotation Matrix, d3js, Sigmoid function, randint, textdistance, yield from, batch size, kafka, classmethod, randn, selectall, forward propagation,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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

Copyright © Kakao Corp. All rights reserved.

티스토리툴바