自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (1)
  • 收藏
  • 关注

原创 NLP基础 拼写纠错Spell Correction与文本表示Word Representation

NLP基础系列 (二)文章目录NLP基础系列 (二)一、拼写纠错Spell CorrectionWords FilteringWords Normalization二、文本表示Word RepresentationTf-idf RepresentationMeasure Similarity Between WordsFrom One-hot Representation to Distributed RepresentationWord Embeddings一、拼写纠错Spell Correcti

2021-02-27 19:29:52 549

原创 Dynamic Programming:最大子序和

算法刷题系列 AlgorithmDifficulty:easyNode Depths

2021-02-27 13:15:46 119

原创 NLP基础 分词Word Segmentation

NLP基础系列 (一)文章目录NLP基础系列 (一)一、NLP Pipeline二、Word Segmentation1.Segmentation Method 1: Max Matching(最⼤匹配)2.Segmentation Method 2: Incorporate Semantic (考虑语义)一、NLP Pipeline一般NLP项目流程如下其中分词 word segmentation 包括对中文,英文,或者其他语言的分词数据清洗 cleaning 中无用的标签(例如<

2021-02-24 11:37:54 807

原创 Tree Algorithm:Branch Sum

算法刷题系列 AlgorithmDifficulty:easyBranch SumWrite a function that takes in a Binary Tree and returns a list of its branch sums ordered from leftmost branch sum to rightmost branch sum.A branch sum is the sum of all values in a Binary Tree branch. A Bina

2021-02-20 18:29:29 132

原创 Lenet 5与 ResNet18

使用pytorch构建神经网络系列第五章目录使用pytorch构建神经网络系列第五章1.1.

2021-02-11 18:07:35 600 1

原创 Tree Algorithm: Find Closest Value In BST

算法刷题系列 AlgorithmDifficulty:easyFind Closest Value In BSTWrite a function that takes in a Binary Search Tree (BST) and a target integer value and returns the closest value to that target value contained in the BST.You can assume that there will only b

2021-02-07 11:19:43 170

原创 Array Algorithm: Validate Subsequence

算法刷题系列 AlgorithmDifficulty:easyValidate SubsequenceGiven two non-empty arrays of integers, write a function that determines whether the second array is a subsequence of the first one.A subsequence of an array is a set of numbers that aren’t necessari

2021-02-06 16:18:53 143

原创 Array Algorithm:Two Number Sum

算法刷题系列 AlgorithmDifficulty:easyTwo Number SumWrite a function that takes in a non-empty array of distinct integers and an integer representing a target sum. If any two numbers in the input array sum up to the target sum, the function should return the

2021-02-06 15:12:08 61

原创 使用pytorch实现CNN

使用pytorch构建神经网络系列第四章 第二节Neural Network目录使用pytorch构建神经网络系列第四章 第二节Neural Network1.Cross Entropy1.Cross Entropy参考:网易云课程

2021-01-29 16:27:13 10202

原创 神经网络与全连接

使用pytorch构建神经网络系列第三章 第二节Neural Network目录使用pytorch构建神经网络系列第三章 第二节Neural Network1.Cross Entropy2.多分类问题实例1.Cross EntropyKL Divergence 反应了p和q两个分布的相似度,在我采用one-hot encoding时,H§就等于0,因此我们求交叉熵就是要求p分布和q分布的KL Divergence ,交叉熵越小说明p分布和q分布越相似,我们pred的值和真实值越相近。例子

2021-01-26 10:33:57 320

原创 CNN 卷积神经网络

Deep Learning 理论知识CNN 卷积神经网络目录Deep Learning 理论知识CNN 卷积神经网络1.为什么使用CNN2.CNN – Convolution2.CNN – Max Pooling3.CNN – Flatten3.CNN – in Keras3.CNN – What does CNN learn?1.为什么使用CNN对于一张图片,一个神经元不用了解整张图,通过一小部分特征就可以分辨图中存在的某些特定pattern。Connecting to small regi

2021-01-25 12:28:55 192

原创 使用torch实现梯度下降

使用pytorch构建神经网络系列第三章 SGD 随机梯度下降目录使用pytorch构建神经网络系列第三章 SGD 随机梯度下降1.激活函数 Activation Function2.损失函数Loss 及其梯度1.激活函数 Activation FunctionSigmoid / Logistic 求导步骤:torch.sigmoidTanhtanh函数求导torch.tanhRectified Linear Unit(ReLU)ReLU函数求

2021-01-24 16:40:47 1350 1

原创 pytorch进阶

使用pytorch构建神经网络系列第二章 第二节 pytorch进阶目录使用pytorch构建神经网络系列第二章 第二节 pytorch进阶1.Broadcasting2.Merge/split3.数学运算4.属性统计5.Tensor advanced operation1.Broadcastingkey idea:-Insert 1 dim ahead-Expand dims with size 1 to same size-Feature maps:[4,32, 14,14]-Bia

2021-01-21 14:46:36 248

原创 pytorch基础

使用pytorch构建神经网络系列第二章 pytorch基础文章目录使用pytorch构建神经网络系列第二章 pytorch基础1.标量,dimension = 02.张量1.标量,dimension = 0torch.tensor(2.5)tensor(2.5000)a = torch.tensor(2.5)a.shapetorch.Size([])len(a.shape)02.张量向量dimension = 1torch.tensor([1.1, 2.2])

2021-01-21 11:16:24 168 2

原创 使用简单神经网络进行手写数字辨识

使用pytorch构建神经网络系列第一章 手写数字辨识初体验本篇文章是记录使用简单神经网络进行对手写数字辨识1.定义一下后续使用的函数代码如下(示例):可视化loss下降曲线import torchfrom matplotlib import pyplot as plt#loss curvedef plot_curve(data): fig = plt.figure() plt.plot(range(len(data)), data, color = 'blue')

2021-01-20 16:36:15 419

原创 Mac os中pycharm配置anaconda环境的方法(帮新手避坑)

Mac os中pycharm配置anaconda环境的方法(帮新手避坑)第一步打开PyCharm,进入System preferences(偏好设置)中找到python Interpreter第二步,点击右上角的齿轮,并选择add…出现如下窗口,我们应该选择System Interpreter 而不是Virtualenv Environment或condas Environment:第三步,点击右上角进入添加,找到如下,anaconda目录下python.app文件夹然后继续往下找到MacOS

2021-01-20 12:27:52 1763 5

原创 使用手写KNN, Naive Bayes and Logistic regression 分类器对Fashion-MNIST 数据进行分类训练

KNN, Naive Bayes and Logistic regressionCatalogueKNN, Naive Bayes and Logistic regressionIntroduction一、二、Step1.import library2.Prepare and load the data¶ConclusionIntroductionFor this work, the purpose is to understand the dimensionality reduction pro

2021-01-17 22:08:38 370 1

原创 python基础(class)

python基础(class)1.类方法与静态方法代码:类方法class Student(): number = "90" def __init__(self,name,age): self.name = name self.age = age @classmethod def printNum(cls): print(cls.number) # print(self.name) (error,类方法和静态方法不

2021-01-17 17:03:37 549 4

douban_starter.ipynb

douban_starter.ipynb

2021-08-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除