Reinforcement learning practice DIY of Q-learning in C language learning notes

Original link: https://blog.csdn.net/weixin_40571937/article/details/103518331 Reference source: https://blog.csdn.net/mr_corder/article/details/82492981 I The concept of reinforcement learning (reinforcement learning): Machine learning algorithms can be roughly divided into the following three types: Supervised learning (e.g. regression, cl ...

Added by bobbuilder on Wed, 02 Feb 2022 19:51:12 +0200

Prepare for the second test, three questions a day, Day25

Prepare for the second test, three questions a day Topic 1: delete nodes in the linked list Please write a function to delete a specific node in the single linked list. When designing the function, you should pay attention to that you cannot access the head node of the linked list. You can only directly access the node to be deleted. The top ...

Added by aminnuto on Wed, 02 Feb 2022 17:55:45 +0200

Solutions to the three problems of yibentong interceptor missile (noip 1999) + interceptor missile (noip 1999) + interceptor missile

Question 1 [1322: [example 6.4] interceptor missile problem (noip 1999)] [Title Description] In order to defend against the missile attack of the enemy country, a certain country has developed a missile interception system, but this interception system has a defect: although its first shell can reach any height, each shell in the future ca ...

Added by kryppienation on Wed, 02 Feb 2022 17:45:00 +0200

Thinking led by a question I like, parser?

Title LeetCode 736 hard Give you a string expression similar to Lisp statement and find its calculation result. The expression syntax is as follows: Expressions can be integers, let expressions, add expressions, mult expressions, or assigned variables. The result of an expression is always an integer.(integer can be positive integer, negative i ...

Added by Braimaster on Wed, 02 Feb 2022 16:53:25 +0200

Palindrome structure of linked list (algorithm notes)

Head changing problem of single linked list If the algorithm related to the single linked list involves the head changing operation, the method needs to return the value Simple question 1 Print the common part of two ordered linked lists Question two Judge whether a linked list is palindrome structure [title] given the head node of a singl ...

Added by Dude0 on Wed, 02 Feb 2022 15:47:13 +0200

knn(k-nearest neighbor algorithm) -- matlab

catalogue 1. Basic definitions 2. Algorithm principle 2.1 advantages and disadvantages of the algorithm 2.2 algorithm parameters 2.3 variants 3. Distance formula in the algorithm 4. Case realization 4.1 reading data 4.2 separate training set and test set 4.3 normalization 4.4 calculating Euclidean distance 4.5 # sorting and outputti ...

Added by rach123 on Wed, 02 Feb 2022 15:13:25 +0200

Data structure - heap

Concept: Heap is also called priority queue. When entering the queue, it is the same as ordinary queue, but when leaving the queue, the elements with higher priority are given priority. When the priority is the same, it is carried out in the way of first in first out. The essence of heap is actually a binary tree, and this binary tree needs to ...

Added by goatboy on Wed, 02 Feb 2022 10:38:41 +0200

Hateful programming question 21 / 6 / 6

7-1 word statistics (100 points) A given string contains only # and lowercase letters, where # is a separator, and consecutive lowercase letters form a word. There is no # sign inside a word, and there is no # between two words. Please write a program to count the number and # of words in a string. Input format: The first line is an integer ...

Added by damisi on Wed, 02 Feb 2022 07:33:50 +0200

Symmetric encryption and asymmetric encryption

Encryption is widely used in programming, especially in various network protocols. Symmetric / asymmetric encryption is often mentioned as two encryption methods. Symmetric encryption For example, when we encounter a symmetric password lock, most of our passwords are encrypted. For example, when we encounter a password lock, we use a symmetri ...

Added by ozzythaman on Wed, 02 Feb 2022 07:25:56 +0200

Machine learning algorithm series - soft margin support vector machine

Background knowledge required for reading this article: hard interval support vector machine, relaxation variables, yidui programming knowledge1, Introduction   in the previous section, we introduced a most basic support vector machine model - hard interval support vector machine. This model can classify linearly separable data sets, ...

Added by TRUCKIN on Wed, 02 Feb 2022 02:46:48 +0200