AI Agent Hub

Blog

In-depth articles on AI agents, LLM engineering, servers, Python and software development.

📝
Numpy Statistical Analysis: Quick Start with mean, sum, and max Functions
Dec 09, 2025 · Numpy Tutorial

This article introduces the usage methods of three commonly used statistical functions in NumPy: `mean` (average), `sum` (summation), and `max` (maximum). As a core tool for Python data analysis, NumP

# NumPy Statistical Analysis # mean function # sum function 782 views
📝
Numpy File I/O: Practical Application of save and load for Data Persistence
Dec 09, 2025 · Numpy Tutorial

This article introduces Numpy data persistence methods for storing/reading array data. A single array is saved as a `.npy` binary file using `np.save()`, and loaded with `np.load()`. The file automati

# Numpy File I/O # save and load # Data Persistence 601 views
📝
Numpy Data Types: A Comprehensive Analysis of dtype and astype
Dec 09, 2025 · Numpy Tutorial

The homogeneity of NumPy arrays enables efficient data processing, and the data type (dtype) is crucial as it determines element storage, memory usage, and operation rules. A reasonable choice of dtyp

# Numpy dtype # Numpy astype # Numpy Data Types 651 views
📝
Numpy Matrix Basics: Introduction to Multiplication, Transposition, and Inverse Matrix
Dec 09, 2025 · Numpy Tutorial

This article introduces basic Numpy matrix operations, suitable for beginners to get started quickly. The core of Numpy is `ndarray`, created using `np.array`. Basic attributes include `shape` (number

# Basic of Numpy Matrices # Python Matrix Operations # Matrix Multiplication, Transpose, Inverse Matrix 632 views
📝
Numpy Random Number Generation: A Beginner's Guide to rand and randn
Dec 09, 2025 · Numpy Tutorial

NumPy is the core library for scientific computing in Python. The `np.random` submodule provides random number generation functionality, with `rand` and `randn` being commonly used functions. These ra

# Numpy Random Numbers # rand and randn # uniform distribution 735 views
📝
Numpy for Beginners: Quick Reference for Common Functions arange and zeros
Dec 09, 2025 · Numpy Tutorial

This article introduces two basic numerical array creation functions in Python Numpy: `arange` and `zeros`. `arange` is used to generate ordered arrays, similar to Python's built-in `range` but retur

# Numpy arange # Numpy zeros # Python array 563 views
📝
Numpy Broadcasting: A Core Technique to Simplify Array Operations
Dec 09, 2025 · Numpy Tutorial

The Numpy broadcasting mechanism addresses element-wise operations for arrays of different shapes by automatically expanding smaller arrays to match the shape of larger arrays and aligning dimensions,

# Numpy Broadcasting Mechanism # Array Operation # Numpy Tips 592 views
📝
Comprehensive Guide to Numpy Arrays: shape, Indexing, and Slicing
Dec 09, 2025 · Numpy Tutorial

NumPy arrays are the foundation of Python data analysis, providing efficient multi-dimensional array objects with core operations including array creation, shape manipulation, indexing, and slicing.

# Numpy Array # Python Data Analysis # shape attribute 642 views
📝
Getting Started with Numpy from Scratch: From Array Creation to Basic Operations
Dec 09, 2025 · Numpy Tutorial

NumPy is a core library for numerical computing in Python, providing high-performance multidimensional arrays and computational tools, suitable for scenarios such as data science and machine learning.

# Numpy Beginner's Tutorial # Python Array Operations # Fundamentals of Data Science 605 views
📝
Learn Python OpenCV Easily: Drawing Basic Geometric Shapes
Dec 09, 2025 · Python OpenCV

This article introduces methods to draw basic geometric shapes using OpenCV. The steps are as follows: First, install the opencv-python and numpy libraries. After importing these libraries, create a 5

# Python OpenCV # Geometric Drawing # OpenCV Tutorials 640 views