Random forest notes
Random forest
Random forest is a supervised learning algorithm, which is an integrated learning algorithm based on decision tree. Random forest is very simple, easy to implement, and the computational cost is very small. It shows amazing performance in classification and regression. Therefore, random forest is known as "a method represen ...
Posted by generic on Sun, 06 Feb 2022 07:45:17 +0100
Robot SLAM and autonomous navigation -- environment construction
(1) What is SLAM?
in short, slam is to locate and pose the robot where GPS cannot be used, build incremental maps, and realize the autonomous positioning and navigation of the robot. Like a blind man, he explores the environment with his own hands in the unknown environment, and constantly corrects the map built by his heart to th ...
Posted by munchy on Sun, 06 Feb 2022 05:35:07 +0100
Simulated annealing algorithm
1, Problem description
In the actual daily life, people often encounter the following problems: find the function in a given definition field X
f
(
x
)
f(x)
The optimal value corresponding ...
Posted by zero_ZX on Sun, 06 Feb 2022 04:33:48 +0100
[character recognition] Based on matlab GUI template matching (region growth method) letter + number recognition [including Matlab source code issue 1695]
1, Brief introduction of handwritten capital letter recognition technology
0 Introduction In the teaching process of colleges and universities, examination is the most common teaching means of teaching evaluation and comprehensive practice. With the progress of science and technology, the way of examination marking has also undergone great cha ...
Posted by pradeepss on Fri, 04 Feb 2022 14:49:26 +0100
Community discovery algorithm -- LPA and SLPA algorithm
LPA(Label Propagation Algorithm)
LPA algorithm was proposed by zhu et al in 2002. In 2007, it was applied to the field of community discovery by Usha, Nandini and Raghavan, and RAK algorithm was proposed. But most researchers call RAK algorithm LPA algorithm.
LPA is a local community division based on Label Propagation. For each node in the n ...
Posted by raw100 on Fri, 04 Feb 2022 10:04:57 +0100
resnet-based training flower image classification model (p31-p37)
Summary
This is a series of pytorch notes that follow station b. There are a lot of classified articles about renet model image recognition on the internet, but the image part is usually just a link to it. Or read a well-known article and prepared the dataset from scratch.
One dataset preparation
The dataset consists of 102 categories of flo ...
Posted by timmy0320 on Thu, 03 Feb 2022 18:55:51 +0100
Classification case: sample imbalance in XGB
Parameter setting
There are often problems in XGB classification
There are parameters to adjust the sample imbalance
scale_pos_weight
,
Usually, we enter the ratio of negative sample size to positive sample size in the parameter
Classification case
Create unbalanced dataset
import numpy as np
import xgboost as xgb
im ...
Posted by jakebrewer1 on Thu, 03 Feb 2022 10:42:13 +0100
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
Machine Learning - Coursera Wu Enda machine learning tutorial Week2 learning notes
Multiple Features
Multiple linear regression, which includes multiple variables, such as house age, area, number of rooms, etc., is marked as follows: Suppose the function becomes: It can be understood as: θ 0 means base price θ 1 is the price per square meter, and X1 is the number of square meters θ 2 is the price of each ...
Posted by atawmic on Wed, 02 Feb 2022 23:52:48 +0100
darknet training model using deep learning framework
Training data generation
Detailed step reference
Modification of configuration file
This article takes the human hand detection as an example (there is only one label: hand)
Add or modify data / hand Names file, which records labels, one label per line (Note: labels corresponding to training data)Add or modify CFG / hand Data file, the cont ...
Posted by Jax2 on Wed, 02 Feb 2022 15:48:56 +0100