自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(31)
  • 资源 (2)
  • 收藏
  • 关注

转载 卷积神经网络Lenet-5实现

原文地址:http://blog.csdn.net/hjimce/article/details/47323463作者:hjimce卷积神经网络算法是n年前就有的算法,只是近年来因为深度学习相关算法为多层网络的训练提供了新方法,然后现在电脑的计算能力已非当年的那种计算水平,同时现在的训练数据很多,于是神经网络的相关算法又重新火了起来,因此卷积神经网络就又活了起来,再开始前,我们需要

2016-01-29 10:16:15 37859 6

转载 深度学习——机器学习的新浪潮

注明:转载自博客http://blog.csdn.net/datoubo/article/details/8577366

2016-01-27 16:41:00 2052 2

原创 LeetCode 90:Subsets II

Given a collection of integers that might contain duplicates, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not contain du

2016-01-25 17:09:43 2457

原创 LeetCode 78:Subsets

Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.For

2016-01-24 17:04:38 1809 1

原创 基于深度学习的图像去噪(论文总结)

2015深度学习、自编码器、低照度图像增强Lore, Kin Gwn, Adedotun Akintayo, and Soumik Sarkar. "LLNet: A Deep Autoencoder Approach to Natural Low-light Image Enhancement." arXiv preprint arXiv:1511.03995 (2015).利用深度

2016-01-24 00:24:47 29400 1

原创 机器学习实战笔记——微软小冰的读心术与决策树

最近微信朋友圈很多人在转发的一个游戏叫做“微软小冰读心术”,游戏的规则很简单:参与游戏的一方在脑海里想好一个人的名字,然后微软小冰会问你15个问题,问题的答案只能用“是”、“不是”或者“不知道”回答。微软小冰通过你的回答进行推断分解,逐步缩小待猜测人名的范围,决策树的工作原理与这些问题类似,用户输入一系列数据,然后会给出游戏的答案。一、决策树

2016-01-23 22:39:00 11891

转载 机器学习——深度学习(Deep Learning)

Deep Learning是机器学习中一个非常接近AI的领域,其动机在于建立、模拟人脑进行分析学习的神经网络,最近研究了机器学习中一些深度学习的相关知识,本文给出一些很有用的资料和心得。Key Words:有监督学习与无监督学习,分类、回归,密度估计、聚类,深度学习,Sparse DBN,1. 有监督学习和无监督学习给定一组数据(inpu

2016-01-22 15:04:46 3399 1

原创 LeetCode240:Search a 2D Matrix II

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending from left to right.Integers in

2016-01-21 17:33:55 1418

原创 LeetCode 74:Search a 2D Matrix

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each

2016-01-20 21:49:29 2164

原创 LeetCode 35:Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.

2016-01-20 17:33:31 652

原创 机器学习实战笔记——基于KNN算法的手写识别系统

利用k-近邻分类器实现手写识别系统,训练数据集大约2000个样本,每个数字大约有200个样本,每个样本保存在一个txt文件中,手写体图像本身是32X32的二值图像,如下图所示:首先,我们需要将图像格式化处理为一个向量,把一个32X32的二进制图像矩阵通过img2vector()函数转换为1X1024的向量:def img2vector(filename): retu

2016-01-17 14:16:50 4653 2

原创 机器学习实战笔记——利用KNN算法改进约会网站的配对效果

一、案例背景我的朋友海伦一直使用在线约会网站寻找合适自己的约会对象。尽管约会网站会推荐不同的人选,但她并不是喜欢每一个人。经过一番总结,她发现曾交往过三种类型的人:(1)不喜欢的人;(2)魅力一般的人;(3)极具魅力的人;尽管发现了上述规律,但海伦依然无法将约会网站推荐的匹配对象归入恰当的分类,她觉得可以在周一到周五约会那些魅力一般的人,而周末则更喜欢与那些极具魅力的人为伴

2016-01-17 12:57:55 6591 4

原创 机器学习实战笔记——KNN算法

一、KNN算法描述KNN(K-nearest neighbor algorithm),也就是K近邻算法,顾名思义,可以形象的理解为求K个最近的邻居。当K=1时,KNN算法就成了最近邻算法,即寻找最近的那个邻居。所谓K近邻算法,就是给定一个训练数据集,对新的输入实例,在训练数据集中找到与该实例最邻近的K个实例(就是上面提到的K个邻居),如果这K个实例的多数属于某个类,就将该输入实例分类到这个

2016-01-15 10:01:20 3409

原创 Python“Non-ASCII character 'xe5' in file”报错问题

今天在编译一个Python程序的时候,一直出现“Non-ASCII character 'xe5' in file”报错问题SyntaxError: Non-ASCII character '\xe5' in file kNN.py on line 24, but no encoding declared; see http://python.org/dev/peps/pep-0263/ fo

2016-01-14 09:41:51 113496 9

原创 LeetCode34: Search for a Range

Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the order of O(log n).If the target is not found in

2016-01-13 15:57:11 1710

原创 机器学习实战笔记——基于SVD的图像压缩

原始图像大小为32 X 32=1024像素,利用SVD来对数据降维,实现图像的压缩新建一个svdRec.py文件,加入如下代码:#printMat()函数用于打印矩阵 def printMat(inMat, thresh=0.8): for i in range(32): for k in range(32): if fl

2016-01-11 17:32:07 5679 3

原创 Python缩进快捷键

1.Python增加缩进快捷键:Ctrl+Alt+] 或tab键或shift+tab键2.Python减少缩进快捷键:Ctrl+Alt+[

2016-01-11 15:11:41 42616

原创 Python的基本语法——语句块

1.语句块是在条件为真(条件语句)时执行或者执行多次(循环语句)的一组语句;2在代码前放置空格来缩进语句即可创建语句块,语句块中的每行必须是同样的缩进量;3.缩进:Python开发者有意让违反了缩进规则的程序不能通过编译,以此来强制程序员养成良好的编程习惯;4.Python语言利用缩进表示语句块的开始和退出(Off-side规则),而非使用花括号或者某种关键字;5.增加缩进表示语句

2016-01-11 14:51:31 17599

原创 机器学习实战笔记——利用SVD简化数据

SVD(Singular Value Decomposition)奇异值分解,可以用来简化数据,去除噪声,提高算法的结果。一、SVD与推荐系统下图由餐馆的菜和品菜师对这些菜的意见组成,品菜师可以采用1到5之间的任意一个整数来对菜评级,如果品菜师没有尝过某道菜,则评级为0建立一个新文件svdRec.py并加入如下代码:def loadExData(): return[

2016-01-11 11:07:53 5328 8

原创 LeetCode 75:Sort Colors

Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will use the integers

2016-01-08 00:23:39 910

转载 机器学习相关职位走向

一、机器学习相关的公司分析1、大的有师傅的公司这类公司主要是百度,阿里和腾讯。共同的特点是数据很大,机器学习的团队比较庞大,一般进去的同学都可以有师傅带着学习,进步会比较快。但是三个公司的特点也有所不同。(1)百度百度是我认为在业务和技术之间匹配的最好,并且从基础到应用搭配的最好的公司。机器学习方面的能力对于百度的广告,搜索,移动搜索

2016-01-06 15:00:58 1719

转载 常用图像数据集大全(分类,跟踪,分割,检测等)

常用图像数据集大全(分类,跟踪,分割,检测等)1.搜狗实验室数据集:http://www.sogou.com/labs/dl/p.html互联网图片库来自sogou图片搜索所索引的部分数据。其中收集了包括人物、动物、建筑、机械、风景、运动等类别,总数高达2,836,535张图片。对于每张图片,数据集中给出了图片的原图、缩略图、所在网页以及所在网页中的相关文本。200多G

2016-01-06 14:46:14 6369

原创 稀疏表示字典的显示(MATLAB实现代码)

本文主要是实现论文--基于稀疏表示的图像超分辨率《Image Super-Resolution Via Sparse Representation》中的Figure2,通过对100000个高分辨率和低分辨率图像块训练得到的高分辨率图像块字典,字典原子总数为512,原子大小为9X9方法一:clc;clear all;% load dictionaryload('Diction

2016-01-05 19:34:14 30882 36

转载 GBDT(MART) 迭代决策树入门教程 | 简介

在网上看到一篇对从代码层面理解gbdt比较好的文章,转载记录一下:              GBDT(Gradient Boosting Decision Tree) 又叫 MART(Multiple Additive Regression Tree),是一种迭代的决策树算法,该算法由多棵决策树组成,所有树的结论累加起来做最终答案。它在被提出之初就和SVM一起被认为是泛化能力(g

2016-01-05 11:45:44 775

原创 OpenCV的imshow无法正常显示图片

问题:OpenCV的imshow无法正常显示图片解决方法:在imshow()语句下一句添加waitKey(30) int main(){ inputImg = imread("input.bmp"); imshow("input image", inputImg);//显示原图 //waitKey(30); imgSplit(inputImg);//求取M(x) imgBlur

2016-01-04 14:18:53 21046 2

原创 LeetCode 219:Contains Duplicate II

Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and jis at most k.

2016-01-04 11:15:51 1374

原创 LeetCode 41:First Missing Positive

Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses constant

2016-01-04 10:52:04 2276

原创 LeetCode 148:Sort List

Sort a linked list in O(n log n) time using constant space complexity.//题目要求:对链表进行排序//解题思路:归并排序,再Merge//归并排序的基本思想是:找到链表的中间节点,然后递归对前半部分和后半部分分别进行归并排序,最后对两个排好序的链表进行Merge class Solution { public:

2016-01-03 16:13:52 31957 3

原创 LeetCode 147:Insertion Sort List

Sort a linked list using insertion sort.//链表插入排序//对于当前遍历的cur点,判断前面是否可以插入,若可以插入,则当前遍历点cur指向插入点的后一点,插入点的前一点指向cur//然后再将前面已经排好序的链表的最后一个节点,指向cur的下一个节点。//利用临时变量tmp记录当前遍历节点的下一个节点,以便继续遍历下个节点class Solut

2016-01-02 23:16:33 1875

原创 LeetCode 88:Merge Sorted Array

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold add

2016-01-02 20:10:40 1027

原创 LeetCode 95:Unique Binary Search Trees II

Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example,Given n = 3, your program should return all 5 unique BST's shown below. 1 3

2016-01-02 16:39:21 1911

图像超分辨率技术

总结了当前图像超分辨率技术的主要实现方法,并对其中的算法优缺点进行了对比。

2015-03-26

空空如也

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

TA关注的人

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