Pytorch tutorials [pytorch official tutorial in Chinese and English] - 2 Tensors

[in 2021, some people see dust and others see stars, but it doesn't matter. We'll turn the page soon. -- December 31, 2021] In the article Pytorch tutorials [pytorch official tutorial in Chinese and English] - 1 Quickstart The quick introduction version is shown in. Next, let's look at the important concept in pytorch: Tensor. Original link: ...

Posted by Gazan on Sat, 01 Jan 2022 11:20:42 +0100

Generation from knowledge map to text -- twelve

2021SC@SDUSC We continue to analyze the remaining key code of the evaluate() function. final_scores = self.score(ref, hypo) Final here_ Scores saves the final evaluation score according to the three evaluation methods mentioned in the previous blog. Here, the score function is called, which is the class function of Evaluate. The code is as ...

Posted by carichod on Wed, 29 Dec 2021 12:56:57 +0100

Classification and requirements of Algorithm Engineers

(1) Image algorithm / Computer Vision Engineer include Image algorithm engineer, image processing engineer, audio / video processing algorithm engineer, Computer Vision Engineer requirement: Major: Major in computer, mathematics and statistics; Technical field: Machine learning, pattern recognition Technical requirements: (1) Proficient in sh ...

Posted by paulsbooker on Wed, 29 Dec 2021 07:58:10 +0100

[source code analysis] PyTorch distributed elastic training -- Rendezvous engine

[source code analysis] PyTorch distributed elastic training (5) -- rendezvous engine 0x00 summary In the previous articles, we have learned the basic modules of PyTorch distribution and introduced several official examples. Next, we will introduce the elastic training of PyTorch. This is the fifth article. Let's take a look at the internal eng ...

Posted by Rhiknow on Wed, 29 Dec 2021 01:36:15 +0100

[source code analysis] PyTorch distributed elastic training -- Rendezvous architecture and logic

[source code analysis] PyTorch distributed elastic training (4) - Rendezvous architecture and logic 0x00 summary In the previous article, we have learned the basic modules of PyTorch distribution and introduced several official examples. Next, we will introduce the flexibility training of PyTorch. This is the fourth article to see the str ...

Posted by allanonschick on Tue, 28 Dec 2021 23:16:19 +0100

Blind spot limitation of autoregressive model pixel CNN and how to repair it

In the first two articles, we have introduced the autoregressive model pixelcnn and how to deal with multidimensional input data. In this article, we will focus on one of the biggest limitations of pixelcnn (i.e. blind spots) and how to improve it to repair it.In the first two articles, we introduced the concept of generating model PixelCNN and ...

Posted by thewooleymammoth on Tue, 28 Dec 2021 08:18:28 +0100

Machine learning note 5 - Logistic Regression

1. Logistic Regression 1.1 Logistic Regression & Perceptron 1.2 definition of logistic regression model 1.3 maximum likelihood estimation model parameters summary 2. Python implementation of logistic regression 2.1 data sets The data set is Iris data set, which contains two types of flowers. Each sample contains two c ...

Posted by robburne on Mon, 27 Dec 2021 14:51:23 +0100

Wu Enda's machine learning assignment -- anomaly detection and recommendation system

anomaly detection reference material: https://github.com/fengdu78/Coursera-ML-AndrewNg-Notes Look at the data first: import numpy as np import matplotlib.pyplot as plt from scipy import stats from scipy.io import loadmat import math data = loadmat('data/ex8data1.mat') # Xval,yval,X X = data['X'] Xval = data['Xval'] yval = data['yval'] plt.s ...

Posted by m00nz00mer on Sun, 26 Dec 2021 10:16:23 +0100

Simple practice of k-nearest neighbor algorithm

k-nearest neighbor algorithm (kNN) Notes on machine learning practice working principle There is a sample data set, also known as the training sample set, and each data in the sample set has a label, that is, we know the corresponding relationship between a data in the sample set and its classification. After inputting the new data withou ...

Posted by toyfruit on Sun, 26 Dec 2021 07:48:33 +0100

[optimization prediction] cuckoo algorithm optimization grey model prediction [Matlab 1244]

1, Introduction to cuckoo algorithm Cuckoo algorithm is called Cuckoo search (CS algorithm) in English. First of all, let's introduce the English meaning of this algorithm. Cuckoo means cuckoo bird. What is cuckoo bird? It is a bird called cuckoo, o(∩∩) o. this bird's mother is very lazy. She lays her own eggs and doesn't raise them he ...

Posted by lyealain on Sat, 25 Dec 2021 04:57:52 +0100