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

Data normalization in Python: connection, union and reconstruction

This blog is a reading note of "data analysis by Python". Please do not reprint it for other business purposes. Article directory 1. Hierarchical index 1.1 reorder and hierarchy 1.2 summary statistics by level 2. Join and merge datasets 2.1 database style DataFrame connection 2.2 merge by ...

Posted by AustinP on Wed, 12 Feb 2020 04:56:09 -0800

Five ways to modify hostname in CentOS7

Reprinted from: https://blog.csdn.net/liumiaocn/article/details/103170673 Narration This article is used to introduce the five setting methods of hostname under CentOS 7. Although many methods can be used on different distributions of Linux, they are not verified in this article. Confirm hostname ...

Posted by intercampus on Mon, 10 Feb 2020 05:13:27 -0800

Solve the problem that the installed module cannot be import ed

System: windows 10 Tools: python 3.7, pycharm, anaconda Problem: numpy cannot import First, check where the environment corresponding to your pycharm s interpreter is and whether there is any numpy package installed in it. Here I am in the base environment. In the anaconda prompt window, enter ...

Posted by enoyhs on Sun, 02 Feb 2020 22:45:58 -0800

Docker build container build acceleration strategy

It takes a lot of time to download many kinds of software when building containers. hub.docker.com is slow in nature, especially when it encounters modules stored on gcr.io/aws and so on. pip installation of python module is also slow, and the download of conda is like a snail. There are several ways to speed up the download of container const ...

Posted by safrica on Thu, 30 Jan 2020 07:19:13 -0800

Discussion on cache, buffer and swap caused by free

Discussion on cache, buffer and swap caused by free $ free total used free shared buffers cached Mem: 8062624 7910056 152568 0 5232 964468 -/+ buffers/cache: 6940356 1122268 Swap: 4194296 2592660 1601636 total: the ...

Posted by abx_2112 on Sun, 19 Jan 2020 00:40:57 -0800

01 tensorflow linear regression

Article directory Preparation Important concepts Graph and Session Computation flow Data preparation Prepare the placeholder Initialization parameters / weights Calculate forecast results Calculate loss value Initialize optimizer Specify the number of iterations and execute graph in the session Oper ...

Posted by mapleshilc on Mon, 13 Jan 2020 23:12:46 -0800

The introduction of python 3 tool library boost using c + + to write extensions for python

Summary There are different ways to extend Python with C + +: Swig With Boost.Python, you can choose to use Py + + preprocessing Use python. Before the advent of python, Boost.Python was the best way to write C + + extension modules. Boost.Python is integrated in Boost C++ Libraries. To install on Ubuntu system; $ sudo apt-get in ...

Posted by richrock on Sun, 29 Dec 2019 11:09:52 -0800

Important subdirectories of Linux system

More catalog knowledge http://blog.51cto.com/yangrong/1288072 /etc/fstab   Machine automatically mounts partition / disk, specifies which partition / device and where to mount 1 [root@oldboy ~]# cat /etc/fstab 2 3 # 4 # /etc/fstab 5 # Created by anaconda on Sun Aug 12 17:26:53 2018 6 # 7 # Accessible filesystems, by reference, are m ...

Posted by Ben Phelps on Thu, 26 Dec 2019 10:51:27 -0800

python common standard library

system interface sys module can view and add environment variables import sys sys.path >>['E:\\360MoveData\\Users\\Administrator\\Desktop\\PyTorch', 'E:\\anzhuang\\anaconda\\python37.zip', 'E:\\anzhuang\\anaconda\\DLLs', 'E:\\anzhuang\\anaconda\\lib', 'E:\\anzhuang\\anaconda', '', 'C:\\Users\\Administrator\\AppDat ...

Posted by toshog on Fri, 29 Nov 2019 13:34:09 -0800