- 博客(10)
- 资源 (3)
- 收藏
- 关注
原创 并行化实现基于BP神经网络的手写体数字识别
这里写自定义目录标题并行化实现基于BP神经网络的手写体数字识别环境搭建MPIOpenMPBP神经网络算法基础1. 算法框架2.样本训练正向传播反向训练3. 数据处理1. 训练数据集简介读取数据2. 算法相关参数声明4. 并行机制MPI--数据并行OpenMP--计算并行5. 可扩展性设计6.结果分析并行参数调整分析1. 不同输入样本量2.不同粒度3.不同进程/线程数算法参数调整分析1.不同训练周期...
2019-01-25 11:15:55
2367
4
原创 字节跳动面试--三面算法题复盘
题目描述: 查找字符串中给定的连续不重复序列 给定如下不重复序列和一个字符串,请返回不重复序列连续出现在字符串中第一个字母的位置。 例如 给定不重复序列[a,b,c,d] 字符串adcebadcb 则返回4 解题思路: 个人以为,此题的解题关键在于如何去判断一个字符在不在给定序列中?如果在的话,重复出现了又该如何处理? 备战面试刷题的经验告诉我,这里可用到一个特殊的哈希表来处理上述两个问题...
2020-02-04 12:01:40
5184
原创 字节跳动面试--二面算法题复盘
题目描述: 股票最大收益问题 给定一段时间的某支股票价格集合,允许买卖各一次,求最大收益是多少? 例如 给定收入序列:[4,5,9,2,5,4,8] 为了满足要求,我们在第四天买入,第七天卖出,收益最大为6 结题思路: 暴力求解法的话,这里就不过多赘述了。博主当时脑子瓦特了,直接写了一波暴力解,复杂度当然就是O(n^2)了。面试官理所当然的很不满意,问我能不能优化。 沉思之后,...
2020-02-04 11:31:20
6526
2
原创 备战春招/考研复试--剑指offer--数组中出现次数超过一半的数字
题目描述如下: 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字。例如输入一个长度为9的数组{1,2,3,2,2,2,5,4,2}。由于数字2在数组中出现了5次,超过数组长度的一半,因此输出2。如果不存在则输出0。 个人思路: 此题目曾经是考研计算机统考命题408中出现过的题目,解析中给出了如下方案: 如果一个数字能够在一个数组中出现的...
2019-12-27 09:42:05
350
原创 LeetCode题目之101-Symmetric Tree
题目描述如下: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ ...
2019-11-04 15:21:26
329
原创 LeetCode题目之100-Same Tree
题目描述如下: Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical and the nodes have the same value. ...
2019-10-31 16:47:38
226
原创 LeetCode题目之83-Remove Duplicates from Sorted List
题目描述如下: Given a sorted linked list, delete all duplicates such that each element appear only once. Example 1: Input: 1->1->2 Output: 1->2 Example 2: Input: 1->1->2->3->3 Outpu...
2019-10-20 18:37:20
253
原创 LeetCode题目之67
题目描述如下: Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or0. Example 1: Input: a = "11", b = "1" Output: "10...
2019-10-19 19:10:17
204
原创 LeetCode题目之66
题目描述如下: Given a non-empty array of digitsrepresenting a non-negative integer, plus one to the integer. The digits are stored such that the most significant digit is at the head of the list, and eac...
2019-10-19 10:24:48
274
转载 神经网络与深度学习入门
参考如下教程,很详细,适合初学者。 教程用最经典的手写体数字识别作为例子来做引导,手写体数字的识别堪称是机器学习的Hello World,上手也比较容易。 该教程分为三个部分,每个部分大概都有上万字,图文结合,不会显得枯燥,值得细细斟酌。 下面是链接: https://www.cnblogs.com/pathrough/p/5297031.html https://www.cnblogs...
2018-12-26 17:04:29
353
简易FTP客户端/服务端系统
2018-07-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅