Different Perspective of Line Regression

1. Line regression 1.1 Ordinary Least Squares (OLS) Perspective 1.1.1 Model Representation: The linear regression model is represented as: \hat{Y} = X

narcissuskid narcissuskid 发布于 2024-03-18

15.7. Word Similarity and Analogy

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Test the fastText results using TokenEmbedding(‘wiki.en’). import os import torch fro

narcissuskid narcissuskid 发布于 2023-11-30

15.5. Word Embedding with Global Vectors (GloVe)

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. If words w_i and w_j co-

narcissuskid narcissuskid 发布于 2023-11-30

15.6. Subword Embedding

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. As an example, there are about 3\times 10^8 possible 6-grams in English. What is the

narcissuskid narcissuskid 发布于 2023-11-30

15.4. Pretraining word2vec

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. Using the trained model, find semantically similar words for other input words. Can y

narcissuskid narcissuskid 发布于 2023-10-19

15.3. The Dataset for Pretraining Word Embeddings

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. How does the running time of code in this section changes if not using subsampling? i

narcissuskid narcissuskid 发布于 2023-09-27

15.2. Approximate Training

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. How can we sample noise words in negative sampling? Negative sampling is a technique

narcissuskid narcissuskid 发布于 2023-09-27

15.1. Word Embedding (word2vec)

github: https://github.com/pandalabme/d2l/tree/main/exercises 1. What is the computational complexity for calculating each gradient? What could be the

narcissuskid narcissuskid 发布于 2023-09-27

解决docker部署的jupyter容器中matplotlib中文乱码

问题描述:使用docker部署的jupyter容器中matplotlib中文乱码 1. 下载字体 wget https://github.com/StellarCN/scp_zh/raw/master/fonts/SimHei.ttf 2. 获取matplotlib相关目录 import matp

narcissuskid narcissuskid 发布于 2023-09-15

pyspider安装报错解决

1. python setup.py egg_info Check the logs for full command output 解决方案: pip3 install --upgrade setuptools 2. Cannot import name ‘soft_unicode’ from

narcissuskid narcissuskid 发布于 2023-09-14