Define a class and create a class instance
Binding instance properties for objects
Creating and using instance methods
Static class method
General definition method: lack of concealmen ...
Added by CompuWorld on Tue, 23 Jun 2020 08:48:35 +0300
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 ...
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
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
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
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
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.
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
8.1 function creation and call
pattern = r'(hacker)|(Grab bag)|(monitor)|(Trojan)'
sub = re.sub(pattern, '@_@', string)
about = 'I'm a programmer. I like reading books about hackers. I want to study them Trojan. '
Added by Whetto on Mon, 15 Jun 2020 10:06:24 +0300
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
Learning notes from "Python Programming: from introduction to practice" (by Eric Matthes of the United States). Mainly for Python 3.
Python uses indentation to determine the relationship between a line of code and the previous line of code. In the previous example, the lines of code that d ...
Added by cli_man on Sun, 14 Jun 2020 06:59:49 +0300