自定义博客皮肤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)
  • 收藏
  • 关注

原创 fastdb学习记录#1 table、宏、query、cursor

基本解决了在example里testdb的代码疑问。数据table对应在fastdb里是c++类;表记录对应于该类的实例。下面的c++数据类型可以作为fastdb 记录的原子组件:Type Descriptionbool boolean type (true,false)int1 one byte signed integer (-128..127)int2 two bytes si...

2019-04-09 16:45:47 550

原创 C++ Primer P8-4

#include <iostream>#include <cstring>using namespace std;struct stringy{ char * str; int ct;};stringy & set(stringy & a, char * b);void show(char * a, int num = 1);...

2018-11-20 14:56:30 273

原创 C++ Primer P8-3

#include <iostream>#include <cctype>#include <string>using namespace std;string & Toupper(string & a);int main() { cout << "enter a string (q to quit): " <..

2018-11-20 14:13:49 267

原创 机器学习算法工程师--算法重点

收纳一些看到的很好的一些博客。为了面试和笔试复习用。1. L1\L2正则化及相应理解。https://blog.csdn.net/jinping_shi/article/details/524339752. SVM理解。http://blog.51cto.com/34526667/18945513. 决策树。https://blog.csdn.net/qingqing7/a...

2018-07-31 17:00:54 389

原创 动态规划算法题复习

解题思路:找到最优子问题,尽量利用循环求解。有些问题用递归代码写起来会简单些,但是耗时会多。1. 硬币找零。题目:给出一个硬币零钱数,如change num = 79,那么在硬币种类有[1,2,5,10,15,20]情况下(硬币数无限多),最少的找零硬币数是5,然后零钱数额分别为2,2,5,20,50.python实现:def Count_coins(coins_value, change): ...

2018-07-09 16:18:29 303

原创 强化学习之DQN流程详解

本文的主要流程按照:Q learning的基本流程神经网络的引入deepmind 2015年nature论文的两种改进策略完整的DQN流程(参考上述论文)来进行讲解。1. Q learning 的基本流程几个基础概念:Q(s,a)--存储在状态s下动作a的Q value的矩阵,矩阵规模为num(s)*num(a);s--状态,a--动作,r--回报值;整个Q学习的过程是利用bellman公式的等式...

2018-04-08 22:14:43 6410

原创 96. Unique Binary Search Trees [python]

题目:Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example,Given n = 3, there are a total of 5 unique BST's. 1 3 3 2 1 \ ...

2018-04-01 11:16:53 303

原创 234. Palindrome Linked List [python]

题目:Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?解法:class Solution(object): def isPalindrome(self, head): """ :t...

2018-03-31 16:40:30 274

原创 237. Delete Node in a Linked List [python]

Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with ...

2018-03-30 22:22:34 209

原创 19. Remove Nth Node From End of List [python]

题目:Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the...

2018-03-30 22:07:06 235

原创 70. Climbing Stairs [python]

最一开始自己做的直接解出来了,没有用动态规划的方法求,class Solution: def zuhe(self, xia, shang): beichu = 1 chushu = 1 if xia == xia-shang+1: beichu = xia else: ...

2018-03-29 20:13:08 307

原创 572. Subtree of Another Tree [python]

题目:Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a tree consists of a node in s and all of this n...

2018-03-28 21:36:24 328

原创 581. Shortest Unsorted Continuous Subarray [python]

题目:Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, too.You need to find...

2018-03-28 20:05:59 348

原创 旷视科技2018暑期实习-算法研究员面试记

下午刚刚参加了旷视科技暑期实习的面试,历时1个小时。。(可能因为程序写的太不熟练了)今年旷视在北航宣讲时我并没有参加,因此没有特意准备过什么方向,只是在官网上投了简历。投完第二天hr小姐姐就给我打电话面试了,(可能因为简历上有CV的实习经历,所以很荣幸能获得面试机会)。第一步主要讲了之前的项目经历,其中也穿插着面试官的问题,这个过程很随意,就是讨论的形式,但是面试官会以他的视角来随时提问,并且还准...

2018-03-27 16:39:29 8907 3

原创 66. Plus One [python]

题目:Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.You may assume the integer do not contain any leading zero, except the number 0 itself.The digits ar...

2018-02-28 22:20:41 346

原创 35. Search Insert Position [python]

一开始是用遍历的方法做的:class Solution: def searchInsert(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ if target > nums[l...

2018-02-27 21:51:35 347 1

原创 TensorFlow自己训练的SSD mobilenet模型 安卓移植

在做本项目之前,是一个非常非常小白的半吊子深度学习爱好者,但是一个月来接触了并主导了一个计算机视觉小项目,收获颇多。这篇文章详细介绍一下从0到apk的一个TensorFlow模型移植的demo。不得不说,Google真是非常强大,尤其是TensorFlow和Android出自一家,使两者的迁移降低了很大难度。由于之前从未接触过Android开发,因此下面主要分为以下几部分来实现:1. 模型准备(生

2018-01-18 16:54:17 8310 6

原创 基于SSD_MobileNet的物品检测

本项目是在利用models/tensorflow中SSD_MobileNet网络模型进行的实验。 github链接:https://github.com/tensorflow/models/tree/master/research/object_detection主要分为数据预处理、训练和测试部分(验证部分直接用github上的教程)1. 数据预处理 在github教程上有对p

2017-12-27 18:51:54 4065

空空如也

空空如也

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

TA关注的人

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