自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (12)
  • 收藏
  • 关注

原创 剑指offer编程题——10 二进制中1的个数

#include <iostream>using namespace std;/* 输入一个数N,求它的二进制中的1的个数 ①:每次左移N,做N & 1运算; ②:每次右移1,做N & new1运算; ③:每次做 N= N & (N-1)运算,会把最右边的1变成0*/int NumberOf1_1(int n){ //不可取 int cnt ...

2018-03-16 14:48:33 169

原创 剑指offer编程题——09 斐波那契数列以及相关问题

#include <iostream>using namespace std;/* 高效的斐波那契的循环式解法 递归式缺点:层数太多会溢出,计算重复,效率低*/long long FibonacciInCycle(unsigned n){ int result[2] = { 0, 1 }; if (n < 2) return result[n]; long...

2018-03-16 14:46:23 252

原创 剑指offer编程题——08_2 堆排序的头文件

/*最大堆定义*/#include <iostream>using namespace std;class MaxHeap{private: int size; //最大堆的元素数目 int * array;  //最大堆数组的首地址指针public: MaxHeap(int array[], int n); //用已有数组初始化一个最大堆 void buildHeap();   //...

2018-03-16 14:43:19 247

原创 剑指offer编程题——08_1 几种典型的排序算法实现

/* 几种典型的排序算法*/#include <iostream>#include "MaxHeap.h" //包含进堆的头文件using namespace std;//快速排序void quicksort(int a[], int low, int high){ if (low >= high){ return; } int first = low;...

2018-03-16 14:41:21 262

原创 剑指offer编程题——08 旋转数组中的最小数字

//寻找旋转数组中的最小值#include <iostream>#include <exception>using namespace std;/** MyCoding 比较麻烦int minNumber(int *arr, int len){ if (len <= 0 || arr == NULL) throw exception("Array is...

2018-03-16 14:31:37 150

原创 剑指offer编程题——07 两个栈实现队列

#include <iostream>#include <exception>#include <stack>using namespace std;template<typename T> class CQueue{private: stack<T> stack1; stack<T> stack2;publi...

2018-03-16 14:29:56 164

原创 剑指offer编程题——06 重建二叉树

#include<iostream>using namespace std;struct BinaryTreeNode{ int m_value; BinaryTreeNode* m_left; BinaryTreeNode* m_right;};BinaryTreeNode* ConstructCore(int* startPre, int* endPre,  ...

2018-03-16 14:28:32 147

原创 剑指offer编程题——05 从头到尾打印链表

//输入一个链表的头结点,反向打印节点值/*  * 尾插法新建链表注意:** 由于新插入节点时会改变头指针,所以传入的参数* 应该是指针的指针,否则出了函数,pHead仍然是空指针;在指针做参数传递给函数的时候:只能保留指针指向的对象(*P)改变的值不能保留指针本身(P)所做得修改在需要修改指针本身的时候,需使用指向指针的指针作为参数,也便是传值与传址的差别所在。*//*...

2018-03-16 14:27:06 133

原创 剑指offer编程题——04 替换空格

//写函数,将字符串中的每个空格替换成20%// 首先找出所有的空格数,然后整体后移,最后填充三个字符/* 特殊字符可能会无法显示,需要ASCII码转换,%32空格*/#include <iostream>#include <cstring>using namespace std;char* replacestr(char str[]){ //没必要定义新的数...

2018-03-16 14:25:14 181

原创 剑指offer编程题——03 二维数组中的查找

// 二维数组中的查找/* 1 2  8  9 2 4  9 12 4 7 10 13 6 8 11 15*/#include <iostream>#define LEN 4using namespace std;bool SearchKey(int a[][LEN], int key){ bool flag = false; if (a == NULL)...

2018-03-16 14:21:36 157

2017百度美团滴滴等机器学习岗面试笔试经验

美团重基础,和搜狗两个风格。不过项目归根到底还是基础,只是搜狗更注重问题的解决方案。任何岗位都要手写一两个代码,不过都不难,一面字符串转浮点数。二面排序二叉树建树,如果是后台开发,手写2+个代码。讲一点项目,开始问基础,一面差点手推SVM,后来讲基本原理,延伸。二面问LR为何是sigmod,理论推导出sigmod,弱分类器组合成强分类器的理论证明,这个真心没看过,感觉美团不仅需要熟悉单个模型,还要融会贯通,多问为什么。我答得不太好,各位面机器学习的加油!

2018-03-17

C++和matlab混合编程实例(源码打包)

matlab打包生成的封装文件只传了三个用到的。实例demo.cpp运行正确,可供参考。

2018-01-10

香港大学深度学习ppt

香港大学深度学习ppt。tensorflow讲解的,适合学习和练习。

2017-12-27

斯坦福深度视觉识别ppt_2017-11

机器学习的动机与应用、Logistic类、机器学习的定义、监督学习概观、学习理论概述、非监督学习概述、强化学习概述。

2017-12-27

SVM+SFS+KNN+SBS+LASSO+SRC算法(matlab版)

机器学习中的多种分类方法的matlab代码,程序正确可用,传上来一起分享交流。 每个代码文件里面注释齐全,适合自学。

2017-09-11

EasyEnsemble算法(matlab版)

解决类别不平衡问题的easyEnsemble算法,可以再matlab直接应用于数据集上。 内含BalanceCascade和easyEnsemble两套算法。

2017-09-11

哈工大_生物计算_计算机视觉类_张大鹏论文2

哈工大_生物计算_计算机视觉 张大鹏导师论文 1、A Parallel Algorithm for Image Information Restoration 2、A Performance Evaluation of Filter Design and Coding Schemes for 3、A PIPELINED VLSI ARITHMETIC ARCHITECTURE 等等。

2017-09-11

哈工大生物计算实验室张大鹏论文1

哈工大生物计算实验室,张大鹏论文: 1、“_Non-locality_ Preserving Projection and Its Application to 2、A comparative study on quality assessment of high resolution 3、A Derivative Augmented Lagrangian Method for Fast Total 4、A Direct Evolutionary Feature Extraction Algorithm for 等,只列出了一部分。

2017-09-11

编译原理_名校本科课件

课件从基础讲起,详略得当,适合初学者。

2017-08-25

自然图像统计:一种早期计算机视觉的概率方法(英文原版)

英文原版,从基础深入到整个计算机视觉领域,自己感觉很好,拿出来分享下,同时为了下载更多资料,适当赚点积分 [尴尬]。 截取部分前言如下: This book is both an introductory textbook and a research monograph on modeling the statistical structure of natural images. In very simple terms, “natural images” are photographs of the typical environment where we live. In this book, their statistical structure is described using a number of statistical models whose parameters are estimated from image samples. Our main motivation for exploring natural image statistics is computational modeling of biological visual systems. A theoretical framework which is gaining more and more support considers the properties of the visual system to be reflections of the statistical structure of natural images because of evolutionary adaptation processes. Another motivation for natural image statistics research is in computer science and engineering, where it helps in development of better image processing and computer vision methods.

2017-08-25

学术界经典的图像处理论文合集

学术界经典的图像处理论文: A Variational Multiphase Level Set Approach to Simultaneous Segmentation and Bias Correction; An adaptive L1-L2 hybrid error model to super_resolution; Fisher Discrimination Dictionary Learning for Sparse Representation ; 等。

2017-08-17

深入体验VC++项目开发源代码

深入体验VC++项目开发源代码,对照着原版书很适合自学。 项目的相关信息 第1章 飞机飞行游戏 第2章 学校图书馆管理系统 第3章 企业人事管理系统 第4章 内部网络系统 第5章 视频播放器 第6章 专业理财系统 第7章 俄罗斯方块游戏 第8章 成绩管理系统 等等。

2017-08-17

空空如也

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

TA关注的人

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