Use python to complete the linear fitting of data

Fitting, as the name suggests, is to find the mathematical relationship between data through the analysis of data. The deeper the understanding of the essence of this relationship, the higher the degree of fitting, and the clearer the relationship between data. Fitting includes linear fitting and nonlinear fitting (polynomial fitting). This pap ...

Added by LonelyPixel on Wed, 22 Dec 2021 13:23:56 +0200

Statistical learning: model evaluation and selection -- precision and recall (python code)

There are many ways to measure the performance of the model. The index to evaluate the performance of the classifier is generally the classification accuracy, which is defined as the ratio of the number of samples correctly classified by the classifier to the total number of samples for a given test data set. The commonly used evaluation indexe ...

Added by Morbius on Tue, 21 Dec 2021 10:55:19 +0200

ML machine learning - PAC dimensionality reduction - coping with [high dimensional data disaster] [case]

Why dimensionality reduction? reason High dimensional machine learning has a large number of features (variables), which have certain obstacles to machine learning calculation, but some of them may have certain correlation. Under the condition of ensuring that there is no loss of too much information, the features are processed into a group o ...

Added by vintox on Tue, 21 Dec 2021 04:05:49 +0200

Linear algebra and code implementation vector

Linear algebra and code implementation (I) vector background The Linear Algebra I studied in university is a little forgotten now, and I am not proficient in the code implementation; This column mainly reviews the basis of linear algebra and implements the code part; 1. Some basic concepts Essence: the basic expression of a group of numbers ...

Added by st89 on Mon, 20 Dec 2021 00:41:40 +0200

Establish GMM likelihood function using PyMC3

1. Likelihood function of GMM about K = 3   ,   μ = [ ...

Added by Garrett on Sun, 19 Dec 2021 21:15:03 +0200

Feature Engineering of machine learning

What is feature engineering? Feature engineering is a process that uses professional background knowledge and skills to process data, so that features can play a better role in machine learning algorithms. Significance: it will directly affect the effect of machine learning Contents of Feature Engineering: feature extraction Feature preproce ...

Added by Artem Kozmin on Sun, 19 Dec 2021 13:38:27 +0200

[face recognition] realize smile recognition based on HOG feature and SVM algorithm

1, HOG feature extraction principle    HOG feature extraction process can be divided into five parts: detection window, normalized image, calculating gradient, statistical histogram, normalization of gradient histogram, and obtaining HOG feature vector. Detection window:    HOG divides the image through window and blo ...

Added by sullyman on Sun, 19 Dec 2021 13:11:19 +0200

Time series data analysis

Time series data analysis Reference Zhihu article: time series data analysis 101, author: Li Jianyang In addition, it also adds the evaluation method summary of classification and clustering + python implementation. 1 prepare and process time series data 1.1 preparing data sets Looking for ready-made data in open source data ware ...

Added by manx on Sun, 19 Dec 2021 03:32:28 +0200

PyTorch -- handwritten numeral recognition

PyTorch learning -- handwritten numeral recognition    MNIST dataset, which contains 70000 28 × 28 handwritten numeral data set, which is divided into 60000 training samples and 10000 test samples. Ⅰ. data reader import torch from torch import nn from torch import optim from torch.nn.parameter import Parameter import ...

Added by simcoweb on Sat, 18 Dec 2021 15:22:35 +0200

Bandits at the border - machine learning practice: Chapter III classification

Chapter III classification preface In the last chapter, we learned how to complete a machine learning task, in which many models are used. In this chapter, we will have a deeper understanding of the classification model, including binary classification, multi class classification, multi label classification and multi output classificati ...

Added by fncuis on Sat, 18 Dec 2021 14:51:10 +0200