Chapter V Decision Tree

Decision tree is a basic classification and regression method. This chapter mainly discusses the decision tree for classification. The decision tree model has a tree structure. In the classification problem, it represents the process of classifying instances based on features. It can be considered as a set of if then rules, or as a conditional ...

Posted by achilles on Mon, 08 Nov 2021 23:05:06 -0800

Use java to build meta path and generate adjacency matrix

Understanding of meta path: (what I do is the text direction, so I take commentator - number of comments - commentator as a meta path) A meta path is a path where multiple (more than 2) nodes are connected through another type of node. In the yelp dataset, I want to build a meta path of comments - number of comments - comments. That is to find ...

Posted by harinath on Sat, 06 Nov 2021 15:13:29 -0700

R language BUGS sequence Monte Carlo SMC, Markov transformation random volatility SV model, particle filter, METROPOLIS HASTINGS time series analysis

Original link: http://tecdat.cn/?p=24162In this example, we consider Markov transformation stochastic volatility model.statistical modelLet yt be the dependent variable and xt be the unobserved logarithmic volatility of yt. For t ≤ tmax, the stochastic volatility model is defined as followsThe state variable ct follows a two state Markov pro ...

Posted by TripleDES on Fri, 05 Nov 2021 19:32:04 -0700

Machine learning -- linear discriminant criterion (LDA) and linear classification algorithm (SVM)

1, Introduction to LDA and SVM Linear Discriminant Analysis (LDA) is a classical supervised data dimensionality reduction method. The main idea of LDA is to project the data in a high-dimensional space into a low-dimensional space, and after the projection, it is necessary to ensure that the intra class variance of each category is small a ...

Posted by catalin.1975 on Fri, 05 Nov 2021 18:35:04 -0700

Python pure manual construction of BP neural network -- handwritten numeral recognition

1 Introduction to the experiment Experimental requirements: implement a handwritten numeral recognition program, as shown in the figure below. The neural network is required to include a hidden layer, and the number of neurons in the hidden layer is 15. Overall idea: mainly refer to the introduction of neural network in Chapter 5 of waterme ...

Posted by HockeyDevil07 on Thu, 04 Nov 2021 08:46:58 -0700

R language principal component regression (PCR) and multiple linear regression feature dimensionality reduction analysis of vehicle fuel consumption, design and performance data and spectral data

Original link: http://tecdat.cn/?p=24152What is PCR? (PCR = PCA + MLR)• PCR is a regression technique that processes many x variables • given Y and X data: • PCA on X matrix – define a new variable: principal component (score) • in multivariate linearity_ Return_ (_MLR_)   Some of these new variables are used ...

Posted by Dujo on Thu, 04 Nov 2021 08:15:49 -0700

R language integration model: lifting tree boosting, random forest, constrained least squares weighted average model fusion analysis of time series data

Original link: http://tecdat.cn/?p=24148Especially in economics / econometrics, modelers do not believe that their models can reflect reality. For example, the yield curve does not follow the three factor Nelson Siegel model, the relationship between stocks and their related factors is not linear, and the volatility does not follow the Garch(1, ...

Posted by kornlord283 on Wed, 03 Nov 2021 22:09:58 -0700

Learn together in-depth learning series - linear regression

Linear regression hand tearing [^ 1] %matplotlib inline import random import torch from d2l import torch as d2l Construct dataset y = X w + b ...

Posted by TANK on Wed, 03 Nov 2021 21:12:13 -0700

Machine learning competition: come and explore happiness together

Come and explore happiness together (complete) This learning note is the learning content of Alibaba cloud Tianchi Longzhu plan machine learning training camp. The learning links are: AI training camp machine learning - Alibaba cloud Tianchi Introduction to the game title (although there is already an introduction to the game title in the a ...

Posted by PhilVaz on Wed, 03 Nov 2021 18:16:15 -0700

Python deep learning 4.4 common methods to prevent over fitting (code)

Common methods to prevent over fitting of neural networks include: 1. Reduce network capacity; 2. Add weight regularization; 3. Add dropout; 4. Get more training data. Overfitting and underfitting Over fitting and under fitting In order to prevent the model from learning wrong or irrelevant patterns from the training data, the best solution ...

Posted by updwebmaster on Mon, 01 Nov 2021 03:37:40 -0700