Python scientific calculation simply records several notes, uses SciPy to solve ordinary differential equations, and uses matplotlib to demonstrate in jupyter notebook. The following points need to be noted:
odeint function provided by integration module
On jupyter notebook of Anaconda 3
matplotlib 2D drawing to solve Newton's cooli ...
Posted by phpcodec on Thu, 13 Feb 2020 12:52:36 -0800
It takes about 4.2 minutes to read the text.
Nowadays, more and more attention is paid to English ability. If you know English, you will come into contact with a larger world, and you will find more information. Especially for programmers, good programming materials come from English documents. Many of the translated versions i ...
Posted by kutte on Thu, 13 Feb 2020 11:44:12 -0800
1. Find the corresponding module http://www.python-excel.org/
2. Install with pip install
pip install xlrdpip install XlsxWriter
pip list view
1 import xlsxwriter
3 # Create a workbook and add a worksheet
4 workbook = xlsxwriter.Workbook("demo.xlsx")
5 worksheet = workbook.add ...
Posted by strudo on Thu, 13 Feb 2020 10:23:09 -0800
I've been learning Python for a long time. I've heard that Python crawlers are so powerful before. I've just learned here. I wrote a crawler program with the python video of little turtle, which can download simple web pictures.
__author__ = "JentZhang"
def ur ...
Posted by Danestar on Thu, 13 Feb 2020 08:09:34 -0800
Today, I'd like to share an interesting little project with you. I need to make a report a long time ago. There was something wrong with the original screen sharing software, so I temporarily wrote this program to deal with the emergency. The effect is good. Today, I'd like to share it with ...
Posted by eyespark on Thu, 13 Feb 2020 07:30:15 -0800
1, Explanation of linear regression model
1. What is a linear model
Representation data can be described by linetype relationship. In the case of formulation, y=wx+b. The process of modeling is the process of finding w, b.
However, due to the deviation of real data, unbiased estimation cannot be obt ...
Posted by Tr4mpldUndrfooT on Thu, 13 Feb 2020 04:31:10 -0800
Convolution directly using operation
Automatically calculate gradient (derivative)
Calculate the gradient of all parameters
Calculate the gradient of all variables
Using Python program flow to control model flow
This article is [deep lea ...
Posted by bubatalazi on Thu, 13 Feb 2020 02:09:50 -0800
Text is a kind of sequence data. An article can be regarded as a sequence of characters or words. This section will introduce common preprocessing steps of text data, which usually includes four steps:
Read in text
Build a dictionary to map each word to a unique index
Posted by Jeroen Oosterlaar on Thu, 13 Feb 2020 02:04:01 -0800
1. Introduction to pytorch
2. Convolutional neural network (CNN)
3. Convolution neural network in PyTorch
3.1 convolution layer: nn.Conv2d()
3.2 pool layer: nn.MaxPool2d()
4. MNIST handwritten digit recognition
4.1 import and stock in function
4.2 setting super parameters
4.3 loading ...
Posted by celestineweb on Thu, 13 Feb 2020 01:48:48 -0800
The first step is to get the data we need
Tencent, Netease, clove doctor and other platforms have real-time data of the epidemic. After crawling the data of each platform, it is found that the data returned by Dr. lilac is static. If you want to crawl in Tencent and Netease, you nee ...
Posted by wmac on Thu, 13 Feb 2020 01:39:22 -0800