Compilation and deployment of ceph luminous version

1, ceph L version codeDownload github, omit2, Change do_cmake.sh file For the comment line, add the following: #cmake -DBOOST_J=$(nproc) $ARGS "$@" .. cmake -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" -DCMAKE_CXX_FLAGS="-O0 -g3 -gdwarf-4" -DBOOST_J=$(nproc) $ARGS "$@" .. Interpretation of the above modifications: CMAKE_C_FLAGS = "- O0 -g3 -gdwarf ...

Added by boblang on Tue, 23 Jun 2020 12:57:04 +0300

"python" Object-Oriented Introduction (with diagram) in detail

Article catalog object-oriented Defining classes Define a class and create a class instance Binding instance properties for objects Creating and using instance methods Class properties Class method Static class method Construction method encapsulation General definition method: lack of concealmen ...

Added by CompuWorld on Tue, 23 Jun 2020 08:48:35 +0300

Feature data selection Trilogy

Here, we will introduce and explain the feature data selection methods often used in Feature Engineering, which are divided into three parts: single variable selection, linear model selection and random forest model feature selection.   Trilogy 1: single variable selection For data scientists or m ...

Added by Yari on Fri, 19 Jun 2020 11:42:14 +0300

Speech location based on ROS + speaker mic array v2.0

** 0. Preface ** Some time ago, I participated in a competition and needed to complete the voice positioning function of ROS robot, but for various reasons, I failed to complete this function. Now I will sort out the overall idea as follows. ** 1. Hardware introduction **First of all, the purpose of ...

Added by brianjw on Fri, 19 Jun 2020 05:54:34 +0300

python Practical Cases of File Operations

1. Write before Today, I've sorted out several Python cases about file operations, including reading and writing files with python, getting file names, getting file suffixes, and modifying file suffixes in bulk.Several methods of this collation are still from the point of view of use.For example, I ne ...

Added by rsmarsha on Wed, 17 Jun 2020 19:28:31 +0300

Pandas: from shallow to deep

What is panda? pandas is a NumPy based tool, which is created to solve data analysis tasks. pandas incorporates a large number of libraries and some standard data models, providing the tools needed to efficiently operate large datasets. pandas provides a large number of functions and methods that enab ...

Added by Braveheart on Wed, 17 Jun 2020 06:08:58 +0300

numpy: a common module in python

Reference video: Start Python data mining in 4 days 1 Numpy advantage 1.1 introduction to numpy Numpy (Numerical Python) is an open-source Python science computing library, which is used to quickly process arrays of any dimension. (numerical → \ to → numerical) Numpy supports common arr ...

Added by AnarKy on Tue, 16 Jun 2020 09:31:42 +0300

Python Read and Write excel Part1

background There are many friends who are interested in Python handling excel, although I am not an expert in this field. Python is completely unfamiliar if you use C# openxl to do things in minutes or Npoi again.   target Since learning is the goal to accomplish this, it doesn't have to be complicated (neither can I do it), let's assume we ...

Added by ephmynus on Tue, 16 Jun 2020 03:21:27 +0300

Minimal Python syntax

8. Functions 8.1 function creation and call def filterchar(string): import re pattern = r'(hacker)|(Grab bag)|(monitor)|(Trojan)' sub = re.sub(pattern, '@_@', string) print(sub) about = 'I'm a programmer. I like reading books about hackers. I want to study them Trojan. ' filterchar( ...

Added by Whetto on Mon, 15 Jun 2020 10:06:24 +0300

Python implementation of binary sort tree

1, What is a binary sort tree? The binary sorting tree is either an empty binary tree or a binary tree with the following characteristics: In a binary sort tree, if its root node has a left subtree, the values of all nodes in the left subtree are smaller than those of the root node; In a binary sort ...

Added by SeenGee on Mon, 15 Jun 2020 08:52:24 +0300