Machine learning: Using matlab to realize SVM to complete spam identification

Pretreatment Before starting machine learning, it is often helpful to observe more data in the data set. For example, in the following email We can see a URL, an email address (at the end), numbers and dollar amounts. Although many e-mail messages contain similar types of text (for example, numbers, other URL s, or other e-mail addresse ...

Posted by uchacker11 on Thu, 03 Feb 2022 04:26:54 +0100

House price forecast based on Matlab

1, Introduction 1 Overview BP (Back Propagation) neural network was proposed by the scientific research group 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 ...

Posted by Heatmizer20 on Wed, 02 Feb 2022 01:34:58 +0100

Machine learning: use matlab to realize curve linear regression fitting and draw learning curve

Data set partition Firstly, the data set is divided into training set, verification set and test set, marked as X,y, Xval,yval and Xtest,ytest. The content of data set division can be seen This blog. Data visualization The first step of Wu Enda's routine operation is data visualization. Here, only the training set is visualized: % Load ...

Posted by eludlow on Tue, 01 Feb 2022 01:47:27 +0100

[multi objective optimization solution] gray wolf optimization algorithm solves multi-objective optimization problems [including Matlab source code, issue 007]

1, Introduction Grey Wolf Optimizer is inspired by the official account of Seyedali Mirjalili, and a meta heuristic algorithm was proposed in 2014. It mainly simulates the search for prey, encircling prey and attacking prey. After the source code pays attention to the public number, it returns to "wolf" or "GWO" to obtain. ...

Posted by phencesgirl on Mon, 31 Jan 2022 18:27:48 +0100

[MTSP] Ant Colony Seeking Multiple Solutions to Travel Salesman Problem [Phase 005 with Matlab Source Code]

1. Introduction 1.1 Ant colony algorithm is a biomimetic algorithm that simulates the way ants find their way in the natural world: ants can leave pheromone substances on the path they travel for information transfer, and ants can perceive this substance and guide their direction of movement. The collective behavior of an ant colony composed o ...

Posted by kdreg on Mon, 31 Jan 2022 15:35:27 +0100

[path planning] artificial potential field solution robot path dynamic planning matlab source code

principle Establish the potential field manually, set the obstacle as repulsion and the target as attraction, add the force vectors, and finally calculate the direction of the resultant force. gravitational field Common gravitational functions: there ε Is a scale factor ρ (q,q_goal) indicates the distance between the current stat ...

Posted by daq on Mon, 31 Jan 2022 13:23:57 +0100

Python Matplotlib library usage notes

It is used for the accumulation of daily learning. If there are deficiencies, please give more advice. 1, Learn about the Matplotlib Library 1 what is Matplotlib Matplotlib can be seen as a combination of three abbreviations: ·matrix (mat rix) ·Plot plot ·lib (Library) library Matplotlib is a Python two-di ...

Posted by kemper on Mon, 31 Jan 2022 07:40:03 +0100

Reproduction of graph regulated robust BLS (grbls)

The original paper is: "Pattern Classification with Corrupted Labeling via Robust Broad Learning System" The idea of GRBLS: The aforementioned BLS models are based on the mean square error (MSE) criterion to fit the approximation errors [23]. In fact, MSE aims to measure the sum of quadratic loss of data, and the approximation re ...

Posted by toysrfive on Sun, 30 Jan 2022 21:36:36 +0100

Speech feature signal classification -- BP neural network -- MATLAB implementation

Speech feature recognition is an important aspect in the field of speech recognition, which is generally solved by the principle of pattern matching. The operation process of speech recognition is: Firstly, the speech to be recognized is transformed into an electrical signal and then input into the recognition system. After preprocessing, the ...

Posted by riginosz on Sun, 30 Jan 2022 20:53:01 +0100

Preliminary study on estimating pitch frequency (cepstrum method, autocorrelation method, short-term amplitude difference method)

Pitch frequency detection 1, Concept What is the pitch period? When people pronounce, according to whether the vocal cord vibrates, the speech signal can be divided into voiced and voiced. Voiced speech carries a lot of energy, so it is also called voiced speech, which has obvious periodicity in time domain. Unvoiced sound is similar to white ...

Posted by mithras on Sun, 30 Jan 2022 09:18:57 +0100