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
This blog is a reading note of "data analysis by Python". Please do not reprint it for other business purposes.
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
Reprinted from: https://blog.csdn.net/liumiaocn/article/details/103170673
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
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
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
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
Graph and Session
Prepare the placeholder
Initialization parameters / weights
Calculate forecast results
Calculate loss value
Specify the number of iterations and execute graph in the session
Posted by mapleshilc on Mon, 13 Jan 2020 23:12:46 -0800
There are different ways to extend Python with C + +:
With Boost.Python, you can choose to use Py + + preprocessing
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
More catalog knowledge http://blog.51cto.com/yangrong/1288072
Machine automatically mounts partition / disk, specifies which partition / device and where to mount
1 [root@oldboy ~]# cat /etc/fstab
4 # /etc/fstab
5 # Created by anaconda on Sun Aug 12 17:26:53 2018
7 # Accessible filesystems, by reference, are m ...
Posted by Ben Phelps on Thu, 26 Dec 2019 10:51:27 -0800
sys module can view and add environment variables
Posted by toshog on Fri, 29 Nov 2019 13:34:09 -0800