Learning notes of Neural Collaborative Filtering

Learn the "Neural Collaborative Filtering". This paper introduces the use of deep neural network to model user item interaction, proposes NCF framework, and instantiates GMF, MLP and NeuMF. Problems with MF 1. Assuming that all hidden factors are independent of each other, MF can be regarded as a linear model (when doing inner produ ...

Posted by TEENFRONT on Fri, 03 Dec 2021 18:47:48 +0100

Deep learning: Based on python: Chapter 3

Chapter 3 neural network 3.1 from perceptron to neural network 3.1.1 examples of neural networks [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-pdqemfik-1638008230252) (picture / 3.png)] The network consists of three ...

Posted by lvitup on Tue, 30 Nov 2021 21:32:51 +0100

chap9 class for getting started with Python

Create and use classes Create Dog class Each instance created according to the Dog class will store the name and age, and give each Dog the ability to squat (hit ()) and roll_over(): class dog: def __init__(self,name,age): """Initialize properties name and age""" self.name = name self.age = age def sit(se ...

Posted by drums on Sun, 28 Nov 2021 17:21:10 +0100

Summary of knowledge points of hands-on learning PyTorch

2.2.5 conversion between tensor and numpy We can easily use numpy () and from_numpy() converts arrays in Tensor and numpy to each other. However, it should be noted that the arrays in Tensor and numpy generated by these two functions share the same memory (so the conversion between them is fast). When changing one of them, the other will also ...

Posted by devangel on Wed, 24 Nov 2021 04:30:41 +0100

Matplotlib data visualization

Task03 This study refers to Datawhale open source learning: https://github.com/datawhalechina/fantastic-matplotlib The content is generally derived from the original text and adjusted in combination with their own learning ideas. Personal summary: 1. Use plt.subplots and GridSpec to draw uniform and non-uniform subgraphs respectively. Both meth ...

Posted by cheekydump on Tue, 23 Nov 2021 16:02:31 +0100

DeepLearning:Train and Test Records on ResNet-18 Model

ResNet-18:Train and Test Records **Invariant: * * 200 rounds, ResNet18, input image size 32 (pad=4, randomCrop=32), batchsize=256 **Variables: * * learning rate, optimizer, policy Note: because the experiment is at 32 × 32, so maxpooling (thank to teacher shi.) should not be used before the second layer, but I didn't know at the be ...

Posted by Tubby on Sun, 21 Nov 2021 12:26:55 +0100

[actual combat] it's time to thoroughly understand the BERT model (don't collect)

introduction This article is [theory] it's time to thoroughly understand the BERT model Sister articles. In this paper, we pass 🤗 The transformers library is used to practice using the pre trained BERT model. We will mainly focus on the emotion recognition task in practical text classification and the question and answer task in natural lang ...

Posted by Syphon on Sat, 20 Nov 2021 15:11:16 +0100

C language I blog assignment 06

Which course does this assignment belong tohttps://bbs.csdn.net/forums/csuft_swxy_C?typeId=17321What are the requirements for this assignmenthttps://bbs.csdn.net/topics/603427602The goal of this assignmentWrite code with a for loopStudent number20218534 1, Homework this week (40 points in total) 1.1 complete PTA homework and give a screenshot ...

Posted by grandeclectus on Sat, 20 Nov 2021 13:56:05 +0100

[PyTorch] 2. Preliminary application of PyTorch

2.1 build a neural network using pytoch Learning objectives: Master the basic process of constructing neural network with PytorchMaster the implementation process of constructing neural network with Pytorch About torch.nn: Use Pytorch to build neural networks. The main tools are in torch.nn packagenn relies on autograd to define the model a ...

Posted by jmajeremy on Fri, 19 Nov 2021 08:26:06 +0100

Deep learning PyTorch notes (12): linear neural network -- softmax regression

This is the study note of "hands-on deep learning" (PyTorch version) (dive into DL PyTorch). There are some codes that I expanded myself. Other notes are in the column Deep learning Yes. This is not simply copying the original content, but adding their own understanding. Almost all the codes in it have detailed comments!!! 6 li ...

Posted by footbagger on Fri, 19 Nov 2021 03:21:09 +0100