- 博客(39)
- 收藏
- 关注
转载 ml note
损失函数:http://www.csie.ntu.edu.tw/~cjlin/liblinear/ http://www.ics.uci.edu/~dramanan/teaching/ics273a_winter08/lectures/lecture14.pdf 线性model 是 平方损失,绝对值损失 分类问题有hinge loss (svm),logic loss(logist
2017-01-24 09:18:45
704
转载 svm
1. 拉格朗日乘子法 和KKK法求极值 http://www.cnblogs.com/mo-wang/p/4775548.html2.svm http://www.dataguru.cn/thread-371987-1-1.htmlhttp://blog.youkuaiyun.com/zouxy09/article/details/17291805
2017-01-03 16:23:59
449
转载 最大最小值选择 和随机选择
最大最小值选择: 7 void Sort::findMaxMin(int a[], int &max, int &min, int size) 8 { 9 int i = 0; 10 if (size %2) { 11 max = min = a[0]; 12 i = 1; 13 } else { 14 if (a[0
2015-09-07 15:31:18
500
转载 动态规划 0/1 背包问题, 最短路径问题
http://blog.youkuaiyun.com/wangran51/article/details/7674832http://blog.youkuaiyun.com/xuefeng0707/article/details/7830469
2015-08-31 15:52:48
861
转载 二叉搜索树
用链表来表示, 其中每个节点为一个对象,除了key外,每个节点还包含了属性left, right, p,它们分别指向了结点的左孩子,右孩子和双亲。对任何结点x, 其左子树的所有结点关键字最大不超过x.key, 其右子树的所有结点关键字最小不低于x.key.
2015-08-28 21:57:36
420
转载 gdb manul
http://www.programlife.net/gdb-manual.html程序人生代码疯子的技术博客——记录我的技术成长过程[C++ / Python]首页ACM-ICPCC/C++CTFLinuxWebWindows开发瞎扯谈软件工程友情链接站内搜索关于
2014-07-19 20:37:23
483
转载 vnc 复制粘贴命令
http://blog.sina.com.cn/s/blog_6cef0cb50100rdbo.html在linux中执行vncconfig -nowin&
2014-07-11 23:23:24
1696
转载 swtbot deal with native dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]Re: [swtbot-dev] Workaround for Native DialogsFrom: Jan Petranek janp.dev@xxxxxxxxxxxxxx>
2014-04-01 20:40:44
988
转载 ant 构建junit 测试生成报告
1.http://aofengblog.blog.163.com/blog/static/63170212013127340582962.http://www.oschina.net/question/12_159953.http://blog.youkuaiyun.com/lemonfamily/article/details/15235384.JUnit jar classpath e
2014-03-28 14:40:00
634
转载 swtbot 测试 java project 或者plain swt application
两个实例http://z-plane.blogspot.com/2011/04/testing-swt-application-with-swtbot.htmlhttp://www.lorenzobettini.it/2014/01/testing-a-plain-swt-application-with-swtbot/
2014-03-26 10:33:55
719
转载 set_multicycle_path (转)set_false_path
转贴,关于DC中set_multicycle_path的理解 2011-12-15 13:58:16| 分类:默认分类 | 标签:|字号大中小订阅 版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明作者:pythonlonghttp://bb2hh.blogbus.com/logs/21015786.htmlhttp://bb2
2013-03-14 16:10:21
5661
转载 quartus ii 11.0 timequest 约束设置方法
http://blog.sina.com.cn/s/blog_72c14a3d01016f1m.html http://blog.sina.com.cn/s/blog_65906d030100ni5t.html http://www.eefocus.com/zhangjingbin/blog/2012-03/197035_65e56.html
2012-08-06 19:59:31
883
原创 KMP字符排序
// KMP(模式匹配).cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include using namespace std;int indexsimple(string str1,string str2)//方法一: 简单算法(朴素匹配法),//对一般字符匹配时还可以,但对二进制匹配时时间很大,时间复杂度最
2012-03-28 22:00:35
489
原创 基数排序
// sort.cpp : Defines the entry point for the console application.///*基数排序: 对其每一位数进行箱排序digits*(len+range)*/#include "stdafx.h"#include #include#include#includeusing namespace std
2012-03-25 15:03:28
298
原创 渴婴问题编程
有一个非常渴的、聪明的小婴儿,她可能得到的东西包括一杯水、一桶牛奶、多罐不同种类的果汁、许多不同的装在瓶子或罐子中的苏打水,即婴儿可得到n 种不同的饮料。根据以前关于这n 种饮料的不同体验,此婴儿知道这其中某些饮料更合自己的胃口,因此,婴儿采取如下方法为每一种饮料赋予一个满意度值:饮用1盎司第i 种饮料,对它作出相对评价,将一个数值si 作为满意度赋予第i 种饮料。 通常,这个婴儿都
2012-01-05 21:37:16
2012
原创 图的描述
图表述:G=(V,E),是一个V和E的有限集合,元素V称为顶点(vertice),元素E称为边(edge).用(i,j)来描述一条边,其中i和j是E所连接的两个顶点。 1.有向图----抽象数据类型Graph2.无向图---抽象数据类型Digraph3.加权无向图----抽象数据类型WeightedGraph4.加权有向图----抽象数据类型WeightedDigraph图的描
2011-12-29 09:40:42
642
转载 regular dll 模块切换
AFX_MANAGE_STATE(AfxGetStaticModuleState()); TestDlg dlg(CWnd::FromHandle(hMainWnd)); dlg.DoModal(); 保存下,不知道是否有用
2011-11-24 08:58:53
254
转载 VC++错误
Pro*C "error LNK2001: unresolved external symbol "void __cdecl sqlcxt" 解决方法2011-01-01 14:03 589人阅读 评论(1) 收藏 举报 在做数据库的大作业,VC+Pro*C的小程序,写出来的.pc文件使用Pro*C预编译为.cpp文件后,进行链接时出错:....obj: err
2011-11-22 22:16:48
489
原创 折半归并排序
#include "stdafx.h"#includeusing namespace std;void merge(int array1[], int array2[], int i,int mid, int end){ int k,l,j; for( k=i,l=i,j=mid+1;l { if(array1[l] { arr
2011-11-22 20:39:26
386
转载 VC++ 错误解决
http://www.cnblogs.com/samyangvs05/archive/2010/03/08/1681126.html轉載》有时候当文件包含互相重叠时,可能会出现下面两个错误,而且成双成对出现(IDD_ISO_TREE_VIEW是我的对话框ID):error C2065: 'IDD_ISO_TREE_VIEW' : undeclared identifier erro
2011-11-19 15:14:07
289
原创 std 中的快速排序
1. qsort 头文件需 #include stdlib.h> #include ,示例来自MSDNvoid qsort( void *base, size_t num, size_t width, int (__cdecl *compare )(const void *, const void *) );// crt_qsort.c/
2011-11-16 18:45:07
546
原创 快速排序
// 快速排序.cpp : Defines the entry point for the console application.//以最后一个为基准及以第一个为基准#include "stdafx.h"#include using namespace std;int* partition(int *begin,int *end)//以最后一个参数为基准(pivot){
2011-11-16 18:03:17
217
原创 STL 中堆、优先队列的使用
1.优先队列 在库#includequeue>中有模板类priority_queue<>2.堆有函数在库中,有make_heap(begin,end)、push_heap(begin,end)、pop_heap(begin,end)、sort_heap(begin,end)函数如int x[11]={87,35,56,48,59,84,42,11,26,66};make_heap(
2011-11-16 14:47:11
406
原创 堆排序
特点: 是一颗完全树(每层满的,且最底层的节点在左边);父节点数据均大于(小于)子女节点数据,为最大堆(最小堆)。STL中堆的算法:在库中。算法有:1.make_heap(begin,end)//把从begin至end—1的序列换成堆;2.push_heap(begin,end)//堆插入操作3.pop_heap(begin,end);//堆删除操作,删除第一个元素,保持堆性质
2011-11-15 11:13:01
258
转载 在visual stdio 2010 中创建DLL 方法
http://msdn.microsoft.com/zh-cn/library/ms235636.aspx
2011-11-13 11:11:45
265
转载 dumpbin 用法
http://hexen.blog.51cto.com/1110171/247547http://blog.youkuaiyun.com/leebiao/article/details/5740191
2011-11-13 10:57:24
300
转载 deque 、向量 、list 比较(zz)
http://hi.baidu.com/shirley_wheat/blog/item/84a3b5f59389eb61dcc47441.html
2011-11-08 10:39:00
260
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人