bp neural network -- MATLAB
preface
This program can identify the numbers 1-9. A total of 270 pictures in the training set are used for training, that is, 30 pictures for each number are used for training. Finally, in the test set, 10 pieces of each number, that is, 90 pieces, were found for accurate identification. Note this article is reproduced in:( Recognition of ...
Added by sigmon on Mon, 27 Dec 2021 00:22:33 +0200
Parameter access, initialization, and sharing
introduction
Initially, we will initialize the parameters of the model with the init module. Now we will learn more about how to access and initialize model parameters, and how to share the same model parameters among multiple layers.
We first define a multi-layer perceptron with a single hidden layer. We still use the default method to initi ...
Added by wilzy1 on Fri, 24 Dec 2021 12:39:25 +0200
Training graph convolution network GCN on Cora dataset using pytorch geometry
Graph structure can be seen everywhere in the real world. Roads, social networks and molecular structures can be represented by graphs. Graph is one of the most important data structures we have.There are many resources today that can teach us everything we need to apply machine learning to such data.There have been many theories and materials ...
Added by BostonMark on Thu, 23 Dec 2021 05:50:30 +0200
[multi objective optimization solution] particle swarm optimization algorithm for distribution network emergency repair optimization [Matlab 777]
1, Introduction to particle swarm optimization
1 concept of particle swarm optimization Particle swarm optimization (PSO) is an evolutionary computing technology, which originates from the research on the predation behavior of birds. The basic idea of particle swarm optimization algorithm is to find the optimal solution through the cooperation ...
Added by fotobleu on Sun, 19 Dec 2021 04:30:32 +0200
Yolov4 tiny trains its own dataset
1, Training environment
darknet compiled under Windows 10
Compilation process: https://blog.csdn.net/weixin_54603153/article/details/119980266?spm=1001.2014.3001.5501)
Source address: https://github.com/AlexeyAB/darknet
2, Make your own dataset
1. First, create a folder for the dataset under the Darknet master folder
Annotations tag x ...
Added by andrei.mita on Fri, 17 Dec 2021 12:43:09 +0200
[license plate recognition] license plate recognition based on BP neural network matlab source code, including GUI
I. Introduction
1 Overview BP (Back Propagation) neural network was proposed by the scientific research team headed by Rumelhart and McCelland in 1986. See their paper learning representations by Back Propagation errors published in Nature.
BP neural network is a multilayer feedforward network trained by error back propagation algorithm. It i ...
Added by bumbar on Fri, 17 Dec 2021 03:50:41 +0200
A simple third-party CNN self coding matlab toolbox
The handwriting database is used. The database has been integrated into the toolbox. Just use it directly. Show a part of the database. The goal is to train the database to achieve the purpose of recognition:
Then, the database data is normalized and preprocessed. nnsetup establishes a network, in which many parameters will be in ...
Added by moleculo on Thu, 16 Dec 2021 11:41:18 +0200
Detailed explanation of masked self encoder MAE and implementation of pytoch code
Supervised learning is a traditional method of training machine learning model. During training, every observed data needs to be labeled. What if we had a way to train machine learning models without collecting labels? What if we extract tags from the same data collected? This type of learning algorithm is called self supervised learning. This ...
Added by andy2006 on Sun, 12 Dec 2021 05:22:03 +0200
Detailed explanation and code implementation of masked self encoder MAE
Supervised learning is a traditional method of training machine learning model. During training, every observed data needs to be labeled. What if we had a way to train machine learning models without collecting labels? What if we extract tags from the same data collected? This type of learning algorithm is called self supervised learning. This ...
Added by DataSpy on Sun, 12 Dec 2021 05:19:22 +0200
Using transformers library to fine tune Bert for text classification
Recently tried to use HuggingFace 🤗 The transformers library fine tuned the Bert text classification under pytorch, and found many Chinese blog s, mainly for the processing of data. There is no detailed description, and I don't know how to deal with the format of dataset, so I make a record here.Dependent packagepytorchtransformersscikit-learn ...
Added by Calvin770D on Sat, 11 Dec 2021 10:46:23 +0200