自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 算法定义及其主要特征

算法的定义:  算法(Algorithm)是指解题方案的准确而完整的描述,是一系列解决问题的清晰指令一个算法应该具有以下五个重要的特征:1、有穷性(Finiteness)  算法的有穷性是指算法必须能在执行有限个步骤之后终止2、确切性(Definiteness)  算法的每一步骤必须有确切的定义;3、输入项(Input)  一个算法有0个或多个输入,以刻画运算对象的初始情况,所谓0

2015-08-12 11:58:17 6220

原创 LeetCode No2--Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, whe

2015-07-05 14:42:09 598

转载 ROC曲线和AUC面积计算 matlab

在网上看到的程序,粘贴在自己的博客中,以备以后用后用到了好查找:function [auc, curve] = ROC(score, target, Lp, Ln)% This function is to calculat the ordinats of points of ROC curve and the area% under ROC curve(AUC).% This

2014-12-03 11:17:08 7504

原创 将一个float型的数组赋予IplImage类型的imagedata

本人是菜鸟, ganggan //IplImage *face = cvCreateImage(cvSize(faceWidth,faceHeight),8,1); //for (int i = 0;iheight;i++) //{ // uchar *p = (uchar *)face->imageData+i*face->widthStep; // for(in

2014-05-07 11:41:26 865

空空如也

空空如也

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

TA关注的人

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