摘要: 样例输出 解题思路 一开始看到这题就觉得要用栈,毕竟是表达式求值问题,但是自己的中缀表达式求值也没练过,而且这次的课程作业又是练习递归,于是就尝试了递归解法。 但是入门太浅,还是搞不懂递归思路,很难从一个表达式中进行结构的分解,逻辑梳理能力太差。 下面是大佬的代码,真心膜拜,希望我的代码能力能越来越 阅读全文
posted @ 2019-05-24 20:55 郭怡柔 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://poj.org/problem?id=1191 解题思路: 关键是方程式的化简,思路清晰,整个题的难度不大。 AC代码(课程PPT) 阅读全文
posted @ 2019-05-24 19:57 郭怡柔 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Description Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box has a color. Here is an example: Gold, Silver, S 阅读全文
posted @ 2019-05-24 17:16 郭怡柔 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Description The king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two 阅读全文
posted @ 2019-05-24 11:09 郭怡柔 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 样例输出 解题思路: 由于第一个按钮是否按下会影响后面所有的按钮,因此枚举第一个按钮对应的两种情况。另外,如果按钮按下后和目标状态不相同,之前的情况已经枚举完毕,只需要按下下一个按钮即可。 代码: 阅读全文
posted @ 2019-05-23 19:41 郭怡柔 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 总时间限制: 5000ms 内存限制: 65536kB 描述 There is a square wall which is made of n*n small square bricks. Some bricks are white while some bricks are yellow. Bo 阅读全文
posted @ 2019-05-23 16:52 郭怡柔 阅读(236) 评论(0) 推荐(0) 编辑
摘要: There are nine clocks in a 3*3 array (figure 1). The goal is to return all the dials to 12 o'clock with as few moves as possible. There are nine diffe 阅读全文
posted @ 2019-05-23 16:46 郭怡柔 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 《C++ Primer》Learning Note 程序实例下载地址:http://www.informit.com/title/0321714113 第一章 开始 本章介绍C++的大部分基础内容:类型、变量、表达式、语句及函数。在这个过程中,我们会简要介绍如何编译及运行程序,以期指导读者具备编写、 阅读全文
posted @ 2019-02-01 00:49 郭怡柔 阅读(2191) 评论(0) 推荐(0) 编辑
摘要: Lecture 9 CNN Architectures 参见:https://blog.csdn.net/qq_29176963/article/details/82882080#GoogleNet_83 一、 LeNet-5: 神经网络的第一个实例,用于识别邮票上的手写数字,使用步长为1,大小为5 阅读全文
posted @ 2019-01-20 00:27 郭怡柔 阅读(333) 评论(0) 推荐(0) 编辑
摘要: assignment 2 assignment2讲解参见: https://blog.csdn.net/BigDataDigest/article/details/79286510 http://www.cnblogs.com/daihengchen/p/5765142.html 最后一个作业Q5基 阅读全文
posted @ 2019-01-19 03:27 郭怡柔 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: Lecture 8 Deep Learning Software 课堂笔记参见:https://blog.csdn.net/u012554092/article/details/78159316 今天我们来介绍深度学习软件,它们的性能、优劣以及应用流程,包括CPU、GPU和一些流行的深度学习框架。 阅读全文
posted @ 2018-12-30 19:30 郭怡柔 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Lecture 7 Training Neural Networks 2 课堂笔记参见:https://zhuanlan.zhihu.com/p/21560667?refer=intelligentunit 本节课主要讲述比较常用的优化算法,正则化方法以及迁移学习。 一、 优化: 随机梯度下降算法是 阅读全文
posted @ 2018-12-30 02:19 郭怡柔 阅读(256) 评论(0) 推荐(0) 编辑
摘要: Lecture 6 Training Neural Networks 课堂笔记参见:https://zhuanlan.zhihu.com/p/22038289?refer=intelligentunit 本节课内容主要包括三部分:训练前准备、训练和评分。具体包括激活函数的选择,预处理,权重初始化,正 阅读全文
posted @ 2018-12-29 03:00 郭怡柔 阅读(440) 评论(0) 推荐(0) 编辑
摘要: Lecture 5 CNN 课堂笔记参见:https://zhuanlan.zhihu.com/p/22038289?refer=intelligentunit 不错的总结笔记:https://blog.csdn.net/sugar_girl/article/details/79108709 1.卷 阅读全文
posted @ 2018-12-26 11:19 郭怡柔 阅读(296) 评论(0) 推荐(0) 编辑
摘要: KNN assignment1 KNN讲解参见: https://blog.csdn.net/u014485485/article/details/79433514?utm_source=blogxgwz5 np. flatnonzero(a) 返回a的展平版本中非零的索引。 a1 = np.ran 阅读全文
posted @ 2018-12-24 09:49 郭怡柔 阅读(571) 评论(0) 推荐(0) 编辑