The application of Matplotlib in solving ordinary differential equation of Python 3 SCI

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

50 lines of code for Chinese English translation

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

Python merging multiple Excel data

Installation module 1. Find the corresponding module http://www.python-excel.org/ 2. Install with pip install pip install xlrdpip install XlsxWriter pip list view XlsxWriter example 1 import xlsxwriter 2 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

Image capture of Python crawler

I. Introduction 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. Two, code __author__ = "JentZhang" import urllib.request import os import random import re def ur ...

Posted by Danestar on Thu, 13 Feb 2020 08:09:34 -0800

Need to share screen under special circumstances? Microscreen sharing server based on flash (can realize screen sharing)

Preface: 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

Task 1-1 linear regression notes

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

[deep learning] village to network -- on the new features of tensorflow Eagle execution mechanism

Article directory Preface 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 Automatic optimization Preface This article is [deep lea ...

Posted by bubatalazi on Thu, 13 Feb 2020 02:09:50 -0800

DL Python notes task02: text preprocessing; language model; cyclic neural network foundation

Text preprocessing 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 participle Build a dictionary to map each word to a unique index Co ...

Posted by Jeroen Oosterlaar on Thu, 13 Feb 2020 02:04:01 -0800

Introduction to Python 1: convolutional neural network for MNIST handwritten digit recognition

Catalog 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

Python 3 reptile battle data of pneumonia

Reptile thinking 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