Sphinx + GitHub + ReadtheDocs to create e-books

Read the Docs Is an online document hosting service that allows you to import documents from various version control systems.In general, this is ideal for writing software documents, tutorials, e-books, and so on. Sphinx Sphinx is a Python-based document generation project that was originally used to generate official Python documents. With ...

Posted by bpops on Sat, 18 Apr 2020 17:29:40 -0700

python foundation - python installation and problem solving

Python 3.7.3 installation The default version of Python installed on CentOS 7 is 2.7.5. The older version of python that comes with the system is dependent on many other software environments of the system, so you cannot uninstall the original Python, but you can install another version of Python [root@python ~]# python -V Python 2.7.5 Prepari ...

Posted by Mathy on Thu, 16 Apr 2020 20:28:26 -0700

Initial AI: Machine Learning: sklearn Feature Extraction

1. sklearn feature extraction 1.1 Install sklearn pip install Scikit-learn -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com No error, Import command to see if available: import sklearn Note: Numpy,pandas and other libraries are required to install scikit-learn s. 1.2 Feature Extraction Example: # feature extraction # Impor ...

Posted by miseleigh on Wed, 15 Apr 2020 19:00:21 -0700

python data visualization (matplotlib, scatter)

Data visualization 1.matplotlib matplotlib is probably the most widely used suite in Python 2D drawing. It allows users to easily graph data and provide a variety of output formats. This will explore the common use of matplotlib. Install matplotib pip install -i https://pypi.douban.com/simple/ matplotlib Test matplotib $python >>>impo ...

Posted by chrispos on Fri, 10 Apr 2020 07:19:46 -0700

Python Data Analysis and Machine Learning Practice - Tang Yudi Reading Notes Chapter 9 - Random Forest Project Practice - Temperature Prediction (2/2)

python data analysis personal study notes-directory index Chapter 9 - Random Forest Project Actual Warfare - Temperature Prediction (2/2) Chapter 8 has explained the basic principles of random forests. From a practical point of view, this chapter will complete the task of temperature prediction with Python toolkit, which involves several mod ...

Posted by holiks on Thu, 09 Apr 2020 23:05:45 -0700

Docker multi container management - Docker Compose

Docker provides a container choreography tool, Docker Compose, which allows users to define a set of associated application containers in a template (YAML format). This set of containers will be based on the "– link" and other parameters in the configuration template. To automatically sort the priority of startup, simply execut ...

Posted by psunshine on Thu, 09 Apr 2020 08:11:53 -0700

Python web page parser beautiful soup4

I. Introduction Beautiful Soup It is a Python library that can extract data from HTML or XML files. It can realize the usual way of document navigation, search and modification through your favorite converter. Beautiful Soup will save you hours or even days of working time Official Chinese document address: https://beautifulsoup.readthedocs.i ...

Posted by Ben Cleary on Thu, 09 Apr 2020 07:27:49 -0700

Python practice daily - chop a hundred words

Catalog 1. Word Memory 2. Word Reminder 3. Memory function 4. Speech Reading 5. Integral Evaluation 6. Silent Output 7. Vocabulary acquisition 1. Word Memory English is currently one of the most widely used languages in the world and is also a commonly used language in the world.As countr ...

Posted by MrBiz on Mon, 06 Apr 2020 19:55:36 -0700

Python actual battle: virus trapped me in the fighting room, desktop took me to travel

Article directory 1. Set up Windows Wallpaper with Python 2. Randomly switch Windows Wallpaper 3. Switch Windows wallpaper regularly In modern history, every year of gengzi was unusual: the Opium War in 1840, the invasion of China by the Allied forces of eight countries in 1900, and the famine in 1960. A novel coronavirus e ...

Posted by RogerInHawaii on Sun, 05 Apr 2020 06:57:27 -0700

Learning notes CB005: key words, corpus extraction

Keyword extraction. The pynlpir library implements keyword extraction. # coding:utf-8 import sys import importlib importlib.reload(sys) import pynlpir pynlpir.open() s = 'How to delete the junk files in the computer' key_words = pynlpir.get_key_words(s, weighted=True) for key_word in key_words: print(key_word[0], 't', key_word[1]) pynl ...

Posted by Cloud9247 on Thu, 02 Apr 2020 09:32:17 -0700