[C language] those who don't understand pointers must come in and take you to the initial pointer. It's not as difficult as you think.

catalogue preface This blog is mainly about the initial pointer, the simple use of pointer, and the use of pointer in solving problems in daily use. I What is the pointer? II Pointer and pointer type 2.1} pointer dereference 2.2 pointer + - integer III Field pointer 3.1 cause of formation 1. Pointer not initialized 2. Poi ...

Added by dmccabe on Wed, 29 Dec 2021 09:25:59 +0200

SVM in machine learning practice

1, Linear SVM 1.1 maximum spacing and classification Find a hyperplane in the sample space to separate different types of samples. At the same time, this line should be as far away from the sample points as possible. Then, this line is in the middle of the two sample points at the edge, and the sample points at these edges are called supp ...

Added by dodgyJim on Wed, 29 Dec 2021 04:56:28 +0200

ROS basic notes

ros workspace The workspace can be compared with the project in vs. the src folder under the workspace stores various ros packages. ros packages can be considered as function packages to realize specific functions, such as robot_description describes the robot, and navigation plans the path. 1. Create workspace: mkdir -p practice_ws/src cd pr ...

Added by trev on Tue, 28 Dec 2021 15:20:21 +0200

Emotion analysis based on support vector machine SVM and naive Bayesian NBM

1, Overview About 100000 microblog comments are used as training data. Data 1 represents positive comments and 0 represents negative comments. pandas and jieba are used to pre process the data. TFIDF vectorizes the processed data, and then uses support vector machine and naive Bayes to train the processed data set. The algorithm is implemented ...

Added by Stegs on Tue, 28 Dec 2021 15:14:29 +0200

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

Emotion classification with expression data

Emotion classification with expression data This is my classroom assignment. Refer to some online codes and articles for reference Extract and classify text expressions Get the expression parameter existing in a comment: Path: file path emotion_set: used to store the expression list:Integrate three file stars csv, hotspot csv and epidemic sit ...

Added by remmargorp on Sun, 26 Dec 2021 12:00:36 +0200

Machine learning to predict divorce

Data links and codes: https://pan.baidu.com/s/19Rj_kP2iJ0szS6l2IWg6FQ  Extraction code: ezbd 1. Data analysis Dataset divorce Xlsx, let's take a look at the data description first. In short, each dimension corresponds to a questionnaire question. As shown in the figure Libraries to be imported: import pandas as pd import numpy as np ...

Added by morganchia on Sat, 25 Dec 2021 09:54:49 +0200

Representation learning——

principal component analysis 1. Summary Principal component analysis was proposed by Karl Pearson in 1903 and improved from another perspective by Harold Hotelling in the 1930s. It is a method suitable for high-dimensional data and exploratory data analysis. As one of the first algorithms applied to pattern recognition and machine lea ...

Added by twilitegxa on Sat, 25 Dec 2021 07:17:37 +0200

"From bronze to King" Python machine learning engineer 04

Machine learning DAY04 Cross validation Due to the uncertainty of data set division, if the randomly divided samples are just in a special class of samples, the reliability of the results predicted by the training model will be questioned. Therefore, it is necessary to conduct multiple cross validation, divide all samples in the sample space ...

Added by leewad on Sat, 25 Dec 2021 06:07:22 +0200

[machine learning] feature preprocessing

Learning objectives Understand the characteristics of numerical data and category data MinMaxScaler is used to normalize the feature data Standardization of feature data using StandardScaler 1. What is feature preprocessing Feature preprocessing: the process of converting feature data into feature data more suitable for the algorithm mod ...

Added by Suchy on Sat, 25 Dec 2021 02:34:32 +0200