随笔分类 -  NLP

摘要:845. 数组中的最长山脉 把符合下列属性的数组 arr 称为 山脉数组 : arr.length >= 3 存在下标 i(0 < i < arr.length - 1),满足 arr[0] < arr[1] < ... < arr[i - 1] < arr[i] arr[i] > arr[i + 阅读全文
posted @ 2022-04-05 21:48 付玬熙 阅读(75) 评论(0) 推荐(0) 编辑
摘要:283. 移动零 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 请注意 ,必须在不复制数组的情况下原地对数组进行操作。 示例 1: 输入: nums = [0,1,0,3,12] 输出: [1,3,12,0,0] 示例 2: 输入: nums = [ 阅读全文
posted @ 2022-04-05 18:06 付玬熙 阅读(25) 评论(0) 推荐(0) 编辑
摘要:80. 删除有序数组中的重复项 II 给你一个有序数组 nums ,请你 原地 删除重复出现的元素,使每个元素 最多出现两次 ,返回删除后数组的新长度。 不要使用额外的数组空间,你必须在 原地 修改输入数组 并在使用 O(1) 额外空间的条件下完成。 示例 1: 输入:nums = [1,1,1,2 阅读全文
posted @ 2022-04-02 20:56 付玬熙 阅读(28) 评论(0) 推荐(0) 编辑
摘要:611. 有效三角形的个数 给定一个包含非负整数的数组 nums ,返回其中可以组成三角形三条边的三元组个数。 示例 1: 输入: nums = [2,2,3,4] 输出: 3 解释:有效的组合是: 2,3,4 (使用第一个 2) 2,3,4 (使用第二个 2) 2,2,3 示例 2: 输入: nu 阅读全文
posted @ 2022-04-02 17:51 付玬熙 阅读(40) 评论(0) 推荐(0) 编辑
摘要:【吴恩达团队自然语言处理第四课】NLP中的注意力模型 神经网络机器翻译 Outline Introduction to Neural Machine Translation Seq2Seq model and its shortcomings Solution for the information 阅读全文
posted @ 2022-03-23 23:12 付玬熙 阅读(225) 评论(0) 推荐(0) 编辑
摘要:[吴恩达团队自然语言处理第3课_2]LSTM NER SiameseNetwork LSTM Outline RNNs and vanishing/exploding gradients Solutions RNNs Advantages Captures dependencies within a 阅读全文
posted @ 2022-02-26 00:13 付玬熙 阅读(97) 评论(0) 推荐(0) 编辑
摘要:[吴恩达团队自然语言处理第3课_1]神经网络与情感分析 RNN Neural networks Initial Representation 空的补0 Summary Structure for sentiment analysis Classify complex tweets Initial r 阅读全文
posted @ 2022-02-25 15:33 付玬熙 阅读(77) 评论(0) 推荐(0) 编辑
摘要:[吴恩达团队自然语言处理第二课_3]词嵌入与神经网络 Overview 主要应用 Semantic analogies and similarity Sentiment analysis Classification of customer feedback 高级应用 Machine transla 阅读全文
posted @ 2022-02-23 22:23 付玬熙 阅读(81) 评论(0) 推荐(0) 编辑
摘要:自动补全与语言模型 overview 你将会: create language model(LM) from text corpus to Estimate probability of word sequences Estimate probability of a word following 阅读全文
posted @ 2022-02-21 00:30 付玬熙 阅读(223) 评论(0) 推荐(0) 编辑
摘要:Autocorrect自动更正 what is autocorrect 将拼写错误的单词更改为正确的单词 Eg: Happy birthday deah frend 更改为 Happy birthday dear frend 但是如果错误的是deer Happy birthday deer fren 阅读全文
posted @ 2022-02-13 13:06 付玬熙 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Vector Space Models why learn vector space models? Eg1: Where are you heading? where are you from? 但是where are you含有不同的含义 Eg2: what is your age?与how o 阅读全文
posted @ 2022-02-09 21:59 付玬熙 阅读(155) 评论(0) 推荐(0) 编辑
摘要:监督学习与情感分析 Supervised ML(training) V维特征 出现为1,否则为0,得出V维向量 计数器 包含四个推文的Corpus(语料库) I am happy because I am learning NLP I am happy I am sad,I am not learn 阅读全文
posted @ 2022-02-07 21:44 付玬熙 阅读(83) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩