[optimization prediction] differential evolution improved gray wolf algorithm optimizes SVR prediction [matlab phase 1283]

1, Introduction to differential evolution algorithm 1 Preface Under the action of heredity, selection and variation, the survival of the fittest in nature continues to evolve and develop from low-level to high-level. It is noted that the evolutionary law of survival of the fittest can be modeled to form some optimization algorithms; Evolution ...

Posted by richei on Thu, 16 Dec 2021 06:31:57 +0100

Numpy: array oriented programming

Using numpy array allows us to use simple array expressions to complete a variety of data operation tasks without writing a large number of loops (avoiding loops is the core idea). This method of using array expressions instead of displaying loops is called vectorization. Generally, vectorized array operations are one or two orders of magnitude ...

Posted by nemo on Wed, 08 Dec 2021 11:27:31 +0100

Audio data analysis, PCA dimensionality reduction application example, TSNE dimensionality reduction, 3D drawing - python

The little teacher asked me to analyze the original data on the basis of the previously analyzed emotional data results. First, let me use PCA to reduce the dimension to see the data distribution, and then change TSNE to reduce the dimension. It's really a small white wuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwu ...

Posted by ps2gamer on Fri, 03 Dec 2021 17:49:06 +0100

Neighborhood mean (202104-2) (100 decomposition method) (prefix and)

Problem description Question No.:202104-2Test title:Neighborhood meantime limit:1.0sMemory limit:512.0MBProblem Description: Test background After learning digital image processing, Dunton wants to denoise a gray image on his opponent. However, the image only has a lot of noise in the darker area. If you rashly denoise the whole image, you wil ...

Posted by coder500 on Fri, 19 Nov 2021 07:51:28 +0100

Two dimensional difference (difference matrix)

Enter a   n   that 's ok   m   Column integer matrix, and then enter   q   Operations, each containing five integers   x1,y1,x2,y2,c, where   (x1,y1)   and   (x2,y2)   Represents the upper left and lower right coordinates of a sub matrix. Each operation adds the value of each element in th ...

Posted by rondog on Wed, 20 Oct 2021 04:12:17 +0200

Machine learning process record

Machine learning process record 1 # np.meshgrid generates grid point coordinate matrix. Turn the plan into a 'net map' to facilitate the overall coloring in the back # The NP. Range() function returns a fixed step arrangement with an end point and a start point xx, yy = np.meshgrid(np.arange(x_min, x_max, .02), np.arange( ...

Posted by visionmaster on Tue, 28 Sep 2021 06:22:46 +0200

Dilworth theorem learning notes

Yesterday, you got dilworth theorem in t2 Middle School of membrane competition. I felt a little wonderful, so I simply studied it 1. Introduction: first review yesterday's film game t2   The main idea of the question is that given n tuples (x,y), the two tuples of X1 < = x2 and Y1 < = Y2 can be divided into one pile. How many piles c ...

Posted by alsal on Thu, 23 Sep 2021 14:18:17 +0200

[Cellular Automata] Radical Strategy Cellular Automata Three-lane (no accessory roads, Software Park effects) Traffic flow model matlab source code

1. Introduction to Cellular Automata Development of 1-cell automata The original cellular automata was proposed by Von Neumann in the 1950s to mimic the self-replication of biological cells.But it has not been taken seriously by the academia. It was only after John Horton Conway of the University of Cambridge designed a computer game called &q ...

Posted by k.soule on Mon, 13 Sep 2021 18:45:27 +0200

General CRUD operation of MyBatisPlus series

Part I: Environment integration of MyBatisPlus series 1, Getting started HelloWorld 1. Universal CRUD (1) Ask questions: Suppose we already have a tbl_employee table, and the corresponding entity class employee already exists, which implements TBL_ What do we need to do to CRUD the employee table? (2) Implementation method: Based on My ...

Posted by slibob on Mon, 13 Sep 2021 05:09:37 +0200

python - basic introduction exercise 02

  catalogue 1. Title: (Science: wind cold temperature) how cold is it outdoors? Temperature alone is not enough to provide an answer. Other factors: wind speed, relative temperature and light all have a great impact on the outdoor cold degree. Write a program to prompt the user to enter a temperature between - 58 ° F and 41 ° F and a ...

Posted by mikawhat on Sun, 12 Sep 2021 03:40:03 +0200