Tag：weight

Time：2021122
This is the fifth article of graph algorithm: illustration: how to understand “Relaxation” or “Relaxation” of the shortest path? The purpose of the shortest path problem is to find the path with the least cost from one vertex to another.Shortest path algorithmIt is widely used to solve various complex problems, such as finding the shortest […]

Time：2021119
Abstract:Deep neural network is based on calculus and some statistics. Deep neural network (DNN) is essentially composed of multiple connected perceptrons, one of which is a single neuron. We can regard artificial neural network (ANN) as an input system with a group of inputs fed along a weighted path. These inputs are then processed and […]

Time：202115
Basic concepts of graph Definition of graph A graph G consists of a vertex set V and an edge set E, denoted as g = (V, e), where V (g) denotes a finite nonempty set of vertices in G and E (g) denotes a set of relationships (edges) between vertices in G. Note: linear table […]

Time：202113
Load balancing is used to solve the problem of how to select the upstream server to process the user‘s request. Here we mainly introduce several load balancing algorithms.1、roundrobin：Polling, the default load balancing algorithm, which forwards the request to the upstream server in the way of polling. With the weight configuration, the weight based polling […]

Time：20201223
preface heapPile isswooleThe most important data structure of timer is realized. Timer builds the minimum heap according to the next execution time of each timing task, and inserts and deletes quickly. heapdata structure heapinnumIs the number of existing data heaps,sizeIs the size of the data heap,typeUsed to determine whether the data heap is the largest […]

Time：20201221
Recently, I saw a very good quality translation of “neural network course that Xiaobai can understand: from principle to optimization is so simple”, like a treasure. After close reading, I found that some translations were not in place. Then I turned to the original text and read it again. I felt that the original text […]

Time：20201216
Gradient centered GC makes the weight gradient zero mean, which can make the training of the network more stable, and can improve the generalization ability of the network. The algorithm is simple. The theoretical analysis of this paper is very sufficient, which can well explain the principle of GC Source: Xiaofei’s algorithm Engineering Notes official […]

Time：20201211
Whenever we train our own neural network, we need to pay attention to what is called neural networkgeneralizationThe problem. In essence, this means how good our model is in learning from given data and applying the information to other areas. When training the neural network, there will be some data on the neural networkTraining,Some data […]

Time：2020124
On the basis of summarizing the traditional activation function and attention mechanism, this paper interprets an activation function under attention mechanism, namely adaptive parametric corrector linear unit (aprelu). 1. Activation function Activation function is an important part of artificial neural network, its function is to realize the nonlinearity of artificial neural network. We first introduce […]

Time：2020121
The second question is explained! Maybe it’s the last question before retirement (it seems that only two articles have been written in all) No, topic: Question surface Meaning of the title: There are t data There is a tree (to ensure that all nodes are connected) and there are n nodes. Each node has its […]

Time：20201129
preface R: For redis cli P: Redis for Python get ready pip install redis pool = redis.ConnectionPool(host=’39.107.86.223′, port=6379, db=1) redis = redis.Redis(connection_pool=pool) Redis. All commands I have omitted all the following commands. If there are conflicts with Python builtin functions, I will add redis Global command Dbsize (number of returned keys) R: dbsize P: print(redis.dbsize()) […]

Time：20201128
This article first appeared on my blog https://huanghaozi.cn , original link This article is automatically published by artipub, a multi service platform In this paper, a neural network application example is presented——Play Minesweeper with programFrom what you are familiar withregressionThis paper introduces the principle of some neural networks. It should be noted that,As the author […]