NumPy is certainly the white light for many machine learning researchers and developers. How can such an excellent project survive without a Chinese version? Recently, Heart of the Machine discovered that NumPy officially launched a Chinese version website last year, covering everything about NumPy.
-
Powerful N – dimensional array objects.
-
Precision broadcast function.
-
A tool for integrating C/C+ and Fortran code.
-
Powerful linear algebra, Fourier transform and random number functions
The document also highlights two features, Ndarray and slicing and indexing, that are common in everyday operations.
-
Ndarray: a collection of data of the same type, indexed by the elements of the collection starting with 0 subscript. An Ndarray object is a multidimensional array that holds elements of the same type. Each element in NDARray has an area of memory with the same storage size.
-
Slicing and indexing: The contents of an Ndarray object can be accessed and modified by indexing or slicing, just as a List is slicing in Python. Ndarray arrays can be indexed with subscripts from 0 to n, and slicing objects can be sliced from the original array using the built-in slice function with the start, stop, and step parameters.
-
Understand the NumPy
-
NumPy simple introductory tutorial
-
Python NumPy tutorial
-
Different ways to create NumPy arrays
-
Matrices and vectors in NumPy
Advanced article
-
NumPy data analysis exercises
-
NumPy neural network
-
Array programming using NumPy
-
NumPy implements k-means clustering algorithm
-
NumPy implements DNC, RNN and LSTM neural network algorithms
Other articles
-
Basic operation of images in OpenCV
-
MinPy: NumPy interface to the MXNet backend
-
preface
-
Linear regression
-
Digital recognition
-
Image classification
-
The word vector
-
Personalized recommendation
-
Sentiment analysis
-
Semantic role labeling
-
Machine translation
-
Generative adversarial network
7 days of Deep Learning for beginners (being updated)
-
Day 1: Getting to know deep learning
-
Day 1: How to start Deep learning quickly?
-
Day 2: Basic and practical image recognition
-
Day 3: Object Detection Basics and Practice (I)
-
Day 3: Target detection actual combat -RCNN algorithm explanation
-
Day 3: Target detection combat -YOLOv3 detects objects
feature_names = [ 'CRIM'.'ZN'.'INDUS'.'CHAS'.'NOX'.'RM'.'AGE'.'DIS'.'RAD'.'TAX'.'PTRATIO'.'B'.'LSTAT'.'convert']feature_num = len(feature_names)data = np.fromfile(filename, sep=' ') Shape [0] // Feature_num, Feature_num) Maximums, minimums, Avgs = data.max(axis=0) data.min(axis=0), data.sum(axis=0)/data.shape[0]for i in six.moves.range(feature_num-1): data[:, i] = (data[:, I] -avgs [I])/(maximums[I] -minimums [I]) # six. Moves are compatible with PYTHon2 and PYTHon3Ratio = 0.8 # int(data.shape[0]*ratio)train_data = data[:offset]test_data = data[offset:]def reader_creator(train_data): def reader(): for d in train_data: yield d[:-1], d[-1:] return readertrain_reader = paddle.batch( paddle.reader.shuffle( reader_creator(train_data), buf_size=500), batch_size=BATCH_SIZE)test_reader = paddle.batch( paddle.reader.shuffle( reader_creator(test_data), buf_size=500), batch_size=BATCH_SIZE)Copy the code
-
NumPy is introduced
-
Quick Start Tutorial
-
NumPy basics
-
Other miscellaneous
-
Compared with the Matlab
-
Building from source
-
Use NumPy’s C-API
From here you can see that the official Chinese version is really full of sincerity. Not only does it provide translation of the original document, but it also includes deep learning tutorials, features and principles from other sources. This is the perfect tutorial for anyone new to NumPy. Whether self-taught or for development, it’s great.
-
NumPy Code of conduct
-
Git tutorial
-
Set up and use your development environment
-
The development process
-
NumPy benchmarks
-
NumPy C Style Guide
-
Release a version
-
NumPy governance