Tag：numpy

Time：2020929
In practice, I encountered the operation of matrix stacking. I originally wanted to write a function myself. Later, I thought that there should be a library function, so I searched for it import numpy as np a = np.array([1,2,3]) b = np.array([4,5,6]) np.stack ((a, b)) ා default row stack Output: array([[1, 2, 3], [4, 5, […]

Time：202097
Recently, I studied python with opencv2 Python tutorials_ When backprojection histogram in opencv, the first method is to use numpy to separate the red rose in the graph. The code given in the tutorial is short of a function, which leads to the failure of implementation. The code and effect are as follows: code: import […]

Time：2020331
Numpy. Sort() function This function provides a variety of sorting functions, and supports a variety of sorting algorithms such as merge sort, heap sort, fast sort, etcThe format of using the numpy. Sort() method is: numpy.sort(a,axis,kind,order) a: Array to sort Axis: along the sorting axis, axis = 0 is sorted by column, axis = 1 […]

Time：2020329
Numpy. Amin() and numpy. Amax() Numpy. Amin() is used to calculate the minimum value of the elements in the array along the specified axis. Numpy. Amax() is used to calculate the maximum value of elements in an array along the specified axis a=np.array([1,3,6],[3,4,11],[6,1,4]) Print (NP. Amin (a, 1) minimum value of each line Print […]

Time：2020317
Mars is a matrix based unified distributed computing framework. In the previous article, we have introduced what Mars is and its distributed execution, and Mars has been opensource in GitHub. When you finish reading the introduction of Mars, you may ask what it can do, which almost depends on what you want to do, because […]

Time：2020315
Recently, our latest work Mars, matrix based unified computing framework, has been shared in pycon China 2018’s Beijing main venue, Chengdu and Hangzhou branch venues. In this paper, we will elaborate the sharing of pycon in China again in the form of words. Hearing about Mars, many students who first heard about it will ask […]

Time：20191124
Preface Tf2.0 is what we learned before. It was written in private ynote and rewritten in SF.Tf2.0gpu installation tutorial portal: https://segmentfault.com/a/11I’ve been exposed to TF1 and manual session mechanism before. It’s a headache to watch Tf2.0 does not need to do thisTf2.0 is easier to understand (gradually Python and numpic)The back end of tf2.0 uses […]

Time：201996
[Home page] apachecn.org 【Github】@ApacheCN Temporary offline: community Temporary offline: cwiki knowledge base Selfmedia Platform Weibo: @ApacheCN Know: @ApacheCN CSDN Brief book OSChina Blog Garden We are not Apache’s official organization / organization / group, but a fan of Apache technology stack (and AI)! Collaborative infringement, please contact [fonttian] <[email protected]>  and send a copy to […]

Time：2019824
Summary:Pure NumPy code implements a simple neural network from scratch. Keras, TensorFlow and PyTorch are highlevel indepth learning frameworks that can be used to quickly build complex models. Not long ago, I wrote an article about how neural networks work. This paper focuses on the detailed explanation of the mathematical theory knowledge used in the […]

Time：201976
Data cleaning Hello, everyone, this issue I will bring you my pandas learning experience phase II: data cleaning. This step is very important. We usually start this step immediately after we get the data source, so that we can do all kinds of operations in the future. Simply speaking, our goal is to make the […]

Time：2019612
Merge, Join, Concat Hello, everyone, I’m back. This week’s update is a little slow, mainly because I updated my resume. If you are interested in it, you can go to see it. My Home Page Personally, I think it’s still beautiful. I have to say that many times foreigners are still very good at design. […]

Time：201969
Pandas’s Seven Unknown Practical Skills Hello, everybody, I am back diligently today. This issue is mainly to share some practical skills of pandas with you, which will greatly improve efficiency in daily life. I hope it can help you, or as usual. First of all, I will present you a chapter and program catalogue of […]