Fundamentals of machine learning algorithms DAY 2

feature selection Reason for feature selection Redundancy: some features have high correlation and are easy to consume computing performance Noise: some features have a negative impact on the prediction results What is feature selection Feature selection is simply to select some features from all the extracted features as the features o ...

Added by Hatch on Thu, 04 Nov 2021 02:08:16 +0200

torch.optim optimization algorithm (optim. Adam)

Reprinted from: https://blog.csdn.net/kgzhang/article/details/77479737 torch.optim is a package that implements a variety of optimization algorithms. Most general methods have been supported and provide rich interface calls. More refined optimization algorithms will be integrated in the future. In order to use torch.optim, we ...

Added by mrtechguy on Mon, 01 Nov 2021 11:55:51 +0200

[source code analysis] how PyTorch implements backward propagation -- specific algorithm

[source code analysis] how PyTorch implements backward propagation (4) -- specific algorithm catalogue[source code analysis] how PyTorch implements backward propagation (4) -- specific algorithm0x00 summary0x01 worker thread body1.1 thread body code1.2 using Ready Queue0x02 reverse calculation of overall logic0x03 preparation0x04 core logic0x05 ...

Added by azn_romeo_4u on Mon, 01 Nov 2021 03:06:44 +0200

Decision Tree Picks Out Good Watermelons

Decision Tree Picks Out Good Watermelons 1. ID3 Algorithmic Theory (1) algorithm core The core of the ID3 algorithm is to select the partitioned features based on the information gain and then build the decision tree recursively (2) Feature selection Feature selection means selecting the optimal partition attribute and selecting a feat ...

Added by zebrax on Sun, 31 Oct 2021 21:48:26 +0200

The decision tree picks out the good watermelon

1, Decision tree 1. Concept Decision tree is a classification algorithm based on tree structure. We hope to learn a model (i.e. decision tree) from a given training data set and use the model to classify new samples. The decision tree can intuitively show the classification process and results. Once the model is built successfully, the cl ...

Added by thomasadam83 on Sun, 31 Oct 2021 15:25:23 +0200

Prediction of house prices by multiple linear regression

1, Multiple linear regression In regression analysis, if there are two or more independent variables, it is called multiple regression. In fact, a phenomenon is often associated with multiple factors. It is more effective and practical to predict or estimate the dependent variable by the optimal combination of multiple independent variab ...

Added by loudrake on Thu, 28 Oct 2021 23:17:48 +0300

Machine learning -- decision tree

  catalogue Construction of decision tree General process of decision tree information gain   Write code to calculate empirical entropy Calculate information gain using code Partition dataset Select the best data set division method   Information gain rate Gini coefficient   Differences between ID3, C4.5 and CART I ...

Added by dtdetu on Thu, 28 Oct 2021 17:20:13 +0300

Python machine learning diary

The purpose of regression is to predict the numerical target value. A sentence input to write a target value calculation formula is the so-called regression equation, and the process of calculating the regression coefficient is regression. Once you have these regression coefficients, it's very easy to make predictions at a given input. The spec ...

Added by bhonan on Mon, 25 Oct 2021 12:10:06 +0300

Computer vision 2.3: image feature vector extraction and application of transfer learning

Image feature vector extraction and application of transfer learning This article will discuss the concept of transfer learning in computer vision, an ability to use a pre trained model to learn from data sets other than its previously trained data sets. For example: There are two different data sets A and B, and our task is to identify diff ...

Added by khaitan_anuj on Mon, 25 Oct 2021 11:57:50 +0300

Linear regression model gradient descent algorithm

introduction Linear regression may be the earliest machine learning algorithm we came into contact with. In the high school mathematics textbook, we officially knew this friend for the first time. We obtained the linear regression equation of the data through the least square method, and then obtained the parameters of the model. But in ...

Added by SleepyP on Sat, 23 Oct 2021 11:22:12 +0300