boardgame.io Gobang: AI transformation

Too long to see: Click here View the complete code. Last We use boardgame io + wgo. JS + react made a simple Gobang game and used the engine to match our AI. However, AI is very weak. Let's try to transform it in the direction of AlphaGo and create our own AI. Monte Carlo We know that AlphaGo uses Monte Carlo search and neural network. Thro ...

Posted by karapantass on Fri, 28 Jan 2022 04:29:02 +0100

Wu Enda's in-depth study notes - Lesson 1, week 4

Content overview The main content of this course is to synthesize the previous content, so as to realize a neural network. In the homework part, the first homework is helper function. After the first one is completed, the second one will push the boat with the current. Pay attention to the selection of parameters. Relevant exercises can b ...

Posted by darthbutternutz on Thu, 27 Jan 2022 23:26:23 +0100

Detailed explanation of Label Smoothing and implementation of pytorch tenorflow

definitionLabel smoothing, like L1, L2 and dropout, is a regularization method in the field of machine learning. It is usually used for classification problems. The purpose is to prevent the model from predicting labels too confidently during training and improve the problem of poor generalization ability.backgroundFor the classification proble ...

Posted by runfastrick on Thu, 27 Jan 2022 14:28:53 +0100

[deep learning pytorch] regularization

The basic concept of regularization has been recorded in the blog before. Here is only a brief introduction to the implementation of regularization   weight decay Complexity of model -- how to measure the distance between function and 0 -- Lp norm L2 regularized linear model constitutes the classical ridge regression algorithm. L1 regularized l ...

Posted by Sk~ on Thu, 27 Jan 2022 04:18:46 +0100

Chapter 2 exercise of Dive Into Deep Learning

(I've just started to study in depth and try to record all the exercises of the class. I'll give you a dish and chicken. If there is any mistake or lack of understanding, please give me advice.) 2. Preparatory knowledge 2.1 data operation First question Run the code in this section. Change the conditional statement X == Y in this sectio ...

Posted by harsha on Thu, 27 Jan 2022 03:21:33 +0100

Python packaging tool Pyintealler packaging py file is windows exe file process and stepping on pit record + practical example

Python packaging tool Pyintealler packaging py file is windows exe file process and stepping on pit record + practical example catalogue Python packaging tool Pyintealler packaging py file is windows exe file process and stepping on pit record + practical example install Model building code Packing and pit stepping records install ...

Posted by korion on Thu, 27 Jan 2022 02:03:49 +0100

TensorFlow----fashion_ Construction of neural network for MNIST data set

preface Study Xiaobai deeply. I hope you guys will forgive me if you make mistakes. 1, Data set loading and data set preprocessing The data set can be downloaded directly from the Internet. Here, the data set is divided into training set and test set, but more often, we will be divided into training set, cross validation set and ...

Posted by Seamless on Wed, 26 Jan 2022 22:30:14 +0100

Summary of neural network activation function. 2022.01

No reprint!!! The general activation function has the following properties: Nonlinear When the activation function is linear, a two-layer neural network can basically approximate all functions. However, if the activation function is an identical activation function, that is, f(x)=x, this property is not satisfied. Moreover, if the MLP use ...

Posted by fatal on Wed, 26 Jan 2022 20:57:31 +0100

Character recognition network CRNN model pruning

Write in front Recently, I was working on model compression. After training a network with good recognition rate, I began to try to compress the model smaller in different ways to facilitate deployment on different platforms. The large model has higher precision and can be deployed on servers with GPU. The precision of the small model is a lit ...

Posted by mogen on Wed, 26 Jan 2022 06:45:52 +0100

Python deep learning: theoretical knowledge of machine learning, including the calculation of information entropy (reading notes)

In today's article, we are formally exposed to the theoretical basis of deep learning - machine learning 1, Machine learning classification 1. Based on subject classification Statistics, artificial intelligence, information theory, control theory 2. Classification based on learning patterns Inductive learning, explanatory learning and feed ...

Posted by ferdi on Tue, 25 Jan 2022 20:51:16 +0100