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
Notes on machine learning -- iris classification
Iris classification is a classic machine learning application.
Suppose a plant enthusiast has observed many iris flowers and recorded the data of these flowers (petal length, width and calyx length, width), and all these flowers belong to setosa, versicolor or virginica. Now you need to predict the types of flowers based on the recorded data.
B ...
Posted by Virii on Fri, 22 Nov 2019 07:08:31 -0800
15 basic 'ls' command examples in Linux
ls command is one of the most commonly used commands in Linux. If you're right, the ls command is the first command the entrant uses to enter the Linux Box command prompt.
We may not know or use all the available ls options, but we use ls commands frequently every day. In this article, we'll discuss the basic ls commands, and try to cover as ma ...
Posted by twinedev on Tue, 12 Nov 2019 00:42:39 -0800
Python collects Himalayan audio, anytime, anywhere, listen to me
Preface
The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling.
PS: if you need Python learning materials, you can click the link below to get them by yours ...
Posted by PcGeniusProductions on Sun, 10 Nov 2019 10:11:01 -0800
The second week of linux foundation
linux distribution system directory naming rules
Use root file system structure and FHS hierarchy. linux system is strictly case sensitive, and the system directory inherits this feature.
"/: root directory, the highest level directory of all directories
/ bin: the basic command storage directory available to all users
/ sbin: only the ...
Posted by djremiasz on Sat, 09 Nov 2019 03:50:21 -0800
(NLP): 07 fastText training Chinese model text categorization
Two other ways to install fastText
conda install mode: slow
https://anaconda.org/conda-forge/fasttext
windows version can be installed through WHL (fasttext 0.9.1 cp36 cp36m win32.whl), which can be used under windows.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext
fastText Training
import fas ...
Posted by Unforgiven on Sun, 06 Oct 2019 11:44:46 -0700
Complete steps for installing tensorflow-gpu using Anaconda under Ubuntu 18.0.4
Environment: Ubuntu 18.0.4 X86_64
Anaconda X86_64
tensorflow-gpu=1.12.0
Step 1: Download Anaconda X86_64 to your specified path
1 | $ wget https://Repo.continuum.io/archive/Anaconda 2-4.2.0-Linux-x86_64.sh# 64-bit system
2 | $ wget https://Repo.continuum.io/archive/Anaconda 2-4.2.0-Linux-x86. ...
Posted by Brad on Mon, 30 Sep 2019 17:57:00 -0700
Install software and build production environment under linux non-root users
Previous lab servers, for some reason, used users without root privileges. linux non-root users many software can not be installed, very inconvenient. My approach is to use brew instead of the package management tool of the system. Brew is the first package management tool to be used on mac, which can host all packages in user local environment ...
Posted by insight on Tue, 17 Sep 2019 03:51:46 -0700