[Tensor data operation] reading notes of hands-on learning and deep learning

Tensor data operation 1. Tensor creation # Import some common libraries import torch from IPython import display from matplotlib import pyplot as plt import numpy as np import random import torch.nn as nn import torch.optim as optim # torch.optim module provides many common optimization algorithms, such as SGD, Adam and RMSProp. from torc ...

Posted by gaugeboson on Tue, 25 Jan 2022 17:25:37 +0100

R language uses self-organizing mapping neural network (SOM) to segment customers

Original link: http://tecdat.cn/?p=18726 Original source: Tuo end data tribal official account_ Self organization_ Mapped neural network (SOM) is an unsupervised data visualization technology, which can be used to visualize high-dimensional data sets in low-dimensional (usually 2-dimensional) representation. In this article, we studied how to u ...

Posted by nystateofmind27 on Tue, 25 Jan 2022 12:52:28 +0100

[PyTorch] 13 Image Caption: let neural network read pictures and tell stories

1. Data set acquisition Data from: AI challenger 2017 image description dataset Baidu online disk: https://pan.baidu.com/s/1g1XaPKzNvOurH9M44p1qrw Extraction code: bag3 Since the original training set is too large, only the verification set AI is used here_ challenger_ caption_ validation_ 20170910.zip, unzip it 2. Text data processing ...

Posted by Syranide on Tue, 25 Jan 2022 10:54:37 +0100

[source code analysis] deep learning distributed training framework horovod --- start on spark

[source code analysis] deep learning distributed training framework horovod (9) - start on spark 0x00 summary Horovod is an easy-to-use high-performance distributed training framework released by Uber in 2017, which has been widely used in the industry. This series will lead you to understand horovod through source code analysis. These a ...

Posted by updwebmaster on Tue, 25 Jan 2022 09:59:13 +0100

CBAM: Convolutional Block Attention Module

CBAM: Convolutional Block Attention Module GitHub - Jongchan/attention-module: Official PyTorch code for "BAM: Bottleneck Attention Module (BMVC2018)" and "CBAM: Convolutional Block Attention Module (ECCV2018)" Channel attention module For input characteristic diagram, obtained by avarage pooling and Max pooling, respectivelyand; Then conne ...

Posted by haaglin on Tue, 25 Jan 2022 06:57:02 +0100

[basic tutorial for beginners] maix asr (automatic speech recognition)

maix asr (automatic speech recognition) This document is in MaixPy 0.5.1_128 minimum_speech_with_ide_support firmware passed the test. Please ensure that the recording function / call model is available before use. This is a speech recognition module based on acoustic model. When the user loads the words composed of Pinyin into the modul ...

Posted by anoopmail on Tue, 25 Jan 2022 04:26:56 +0100

Chapter III model establishment and evaluation

Objective: to complete the Titanic survival prediction based on the Titanic data set. import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from IPython.display import Image plt.rcParams['font.sans-serif'] = ['SimHei'] # Used to display Chinese labels normally plt.rcParams['axes.unicode_minus'] = False ...

Posted by sidsel on Mon, 24 Jan 2022 20:30:06 +0100

Java implementation of open source Hanlp natural language processing (lexical analysis, keywords)

Hanlp natural language introduce HanLP is a Java toolkit composed of a series of models and algorithms. Its goal is to promote the application of natural language processing in production environment. HanLP has the characteristics of perfect function, efficient performance, clear architecture, up-to-date and customizable corpus. Open sou ...

Posted by insanityonline on Mon, 24 Jan 2022 17:51:26 +0100

Introduction to machine learning for programmers - common skills in the training process

Introduction to machine learning for programmers (IV) - common skills in the training process This article will focus on some common skills in machine learning training using pytorch. Mastering them can make you get twice the result with half the effort. Most of the codes used will be based on the last example in the previous article, that is ...

Posted by PDXDesigner on Mon, 24 Jan 2022 07:22:40 +0100

Training skill improvement of GAN (WGAN, LSGAN, EBGAN, WGAN-GP algorithm) with code

Description of several problems in generating countermeasure networks What is information entropy? We use entropy to measure whether the data is ordered or disordered Calculating information entropy Information entropy is a measure of system chaos: Where Pi represents the probability of an event, the minimum information entropy is 0, ...

Posted by gszauer on Mon, 24 Jan 2022 05:31:54 +0100