摘要: 本篇博文记录了博主本人leetcode的刷题经历,持续更新中,一方面是方便自己日后复习;另一方面也是给大家的检索提供便利。本帖汇总了博主已经做完的leetcode的所有题目链接,如果大家有什么建议或者是更好的解法,也请大家多多指教 推荐一个大神的博客,这篇博客写链表环写的很好:http://www. 阅读全文
posted @ 2017-12-21 14:20 皇家大鹏鹏 阅读(491) 评论(0) 推荐(0) 编辑
摘要: dlib库是一个非常强大的开源库,有详细的说明文档和c++代码,也提供了一些和python的接口,但是安装和配置的过程略有些麻烦,网上有一些相关教程,但是大都零零星星不全面。笔者亲自把所有的坑都踩了一遍,整理出了比较全面的教程,供大家参考 1、 下载安装包 先在dlib网站上下载最新的库文件http 阅读全文
posted @ 2017-11-09 08:31 皇家大鹏鹏 阅读(13150) 评论(0) 推荐(3) 编辑
摘要: 一、如何选择研究方向? 不应该在去从传统的方向入手,一方面你做不过传统实验室,另一方面你的计算资源也无法和公司相比。可以考虑传统问题的组合或者是工业界一些痛点问题。 二、深度学习的“不能” 深度学习有很多的“不能”,在一定程度上是由“深度学习”本身的特性所决定的,比如数据集在标注过程中带来的偏见最终 阅读全文
posted @ 2019-12-12 23:53 皇家大鹏鹏 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 概述 人工智能很火,各国出台政策 有趣的图灵测试 人工智能包括——计算智能(“深蓝”对战卡斯帕罗夫,国际象棋,暴力搜索,本质是计算)、感知智能(能听会说,能看会认,类似于人的视觉、听觉、触觉等感知能力 )、认知智能(逻辑推理、知识理解、决策思考,概念、意识、观念都是认知智能的表现 ) 相对于知识工程 阅读全文
posted @ 2019-09-27 23:01 皇家大鹏鹏 阅读(607) 评论(0) 推荐(0) 编辑
摘要: matlab是一个非常强大的软件,读取txt文本时,有很多trick需要注意 1、如果文本中是纯数字,直接使用load命令就行,txt中的数字自然会被读成.mat文件 2、如果是数字和文本混合,需要使用textscan,这个函数需要先用fopen将文件打开 注意textscan第二个参数,写‘%s’ 阅读全文
posted @ 2019-04-03 14:36 皇家大鹏鹏 阅读(2513) 评论(0) 推荐(0) 编辑
摘要: Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Example 2: 思路不难,从头到尾,从头到尾数数字,然后看是否连续就行, 这个答案是我在高票回答的评论中找 阅读全文
posted @ 2019-02-25 22:04 皇家大鹏鹏 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the 阅读全文
posted @ 2019-02-21 15:29 皇家大鹏鹏 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 本文主要记录在刷题经历中遇见的一些c++冷知识,初看有些惊人,再看发现很有用,最后想想其实还是自己看的太少 1、==和!=可以直接用来判断连个vector是否相等,https://blog.csdn.net/liuchuo/article/details/52486206 阅读全文
posted @ 2019-02-21 09:06 皇家大鹏鹏 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 项目来自于https://github.com/Honlan/fullstack-data-engineer 本文用到的xyj.txt也可以在本github修改,唯一不同的地方是作者使用是python2来进行统计,改成Python3,有几处细节还是听不一样的,但是结果是一样的,主要是汉字编码以及xr 阅读全文
posted @ 2019-02-15 17:45 皇家大鹏鹏 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 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 symmet 阅读全文
posted @ 2019-02-03 18:21 皇家大鹏鹏 阅读(136) 评论(0) 推荐(0) 编辑
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2019-02-03 18:06 皇家大鹏鹏 阅读(134) 评论(0) 推荐(0) 编辑
摘要: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p 阅读全文
posted @ 2019-02-03 17:43 皇家大鹏鹏 阅读(102) 评论(0) 推荐(0) 编辑