Day14 hashlib usage and file operation
summary
hashilib digest encryption
There are only two kinds of hash digest (encryption) algorithms: md5 and sha-x series
Characteristics of hash encryption
The digest generated by hash algorithm is irreversible. (the original text cannot be obtained through encrypted text)Only the same data can be summarized by the same algorithmNo matter h ...
Added by jen56456 on Thu, 10 Feb 2022 08:38:53 +0200
[Flask] create ORM mapping and parameter interpretation
Create a class. A class corresponds to a table in a database, and the data attributes of the class correspond to the field names in the table. This class is called mapping class.
1, Proactively create mappings
Classes mapped using the Declarative system are defined according to the base class. In other words, each mapped class needs to inhe ...
Added by jbalanski on Thu, 10 Feb 2022 07:48:36 +0200
Machine learning - Data Preprocessing
Data pre filling has its own characteristics, and redundant and invalid data need to be pre selected according to different data formats. Data preprocessing is roughly divided into three steps: data preparation, data conversion and data output. Data processing is not only the basic link of system engineering, but also an effective means to impr ...
Added by niesom on Thu, 10 Feb 2022 07:14:40 +0200
Super detailed Python basic statement summary (multi instance, video explanation, continuous update)
1, Operator
1.1 + -- addition of two objects
+Operator is used to add two objects.
[example 1] number addition. In Python, we often use + to add values. Common applications are as follows:
a = 13
b = 2
c = 4.0
d = 5.0
print(a + b) # Add integers 15
print(c + d) # Floating point number addition 9.0
print(a + c) # Add integer and float ...
Added by alexz on Thu, 10 Feb 2022 06:14:22 +0200
imgaug (image enhancement) of Python third-party module
imgaug is a encapsulated python library for image authentication. It supports the transformation of key points and bounding box together.
Project home page: imgaug doc
1. Installation and uninstallation
# Install via github
sudo pip install git+https://github.com/aleju/imgaug
# Install via pypi
sudo pip install imgaug
# For local install ...
Added by dan7474 on Thu, 10 Feb 2022 06:08:39 +0200
Exploratory Data Analysis EDA (Exploratory Data Analysis) analysis with python
Exploratory Data Analysis EDA (Exploratory Data Analysis) analysis with python
show holy respect to python community, for there dedication and wisdom
Dataset related:
First, UCL wine dataset:
UCI data set is a commonly used standard test data set for machine learning. It is a database for machine learning proposed by the University of ...
Added by iacataca on Thu, 10 Feb 2022 05:31:49 +0200
Common API obfuscation methods and handling methods of malicious code
Many articles can't be updated to CSDN, and can be concerned about my official account number (programmer sailing).
1. Summary
When analyzing malicious code, we often encounter the situation that there is no import function in the import table when statically Analyzing Malicious Code. This situation is usually that malicious code confused t ...
Added by wgordonw1 on Thu, 10 Feb 2022 04:53:37 +0200
Python class and instance variables (class and instance properties)
Neither class attributes nor class methods can be used directly outside the class like ordinary variables or functions. We can regard the class as an independent space, then the class attribute is actually a variable defined in the class body, and the class method is a function defined in the class body. As mentioned in the previous chapter, in ...
Added by gp177 on Thu, 10 Feb 2022 01:43:22 +0200
Introduction to particle swarm optimization algorithm. Determination of inertia weight w
Introduction to particle swarm optimization 03: with Matlab and python code (PSO)
VIII:
Inertia weight w reflects the ability of particles to inherit the previous velocity. Shi Y first introduced inertia weight w into PSO algorithm, and analyzed and pointed out that a larger inertia weight value is conducive to global search, while a smaller ...
Added by firstcoastshopping on Thu, 10 Feb 2022 00:58:35 +0200
Teacher Li Hang's "statistical learning methods", Second Edition, Chapter 15, singular value decomposition, after-school question answers
1. Trial matrix
A
=
[
1
2
...
Added by kid_drew on Wed, 09 Feb 2022 23:18:06 +0200