学习理论——VC维的定义以及一些例子
本文主要介绍一些学习理论上的东西。首先,我们得明确,从训练集上学习出来的分类器的最终目标是用于预测未知的样本,那么我们在训练的时候该用多少的样本才能使产生的分类器的效果尽可能的好呢?这些就是VC-理论要解决的问题。在介绍这个理论之前,我们得先介绍一个比较抽象的概...
分类:
其他好文 时间:
2014-05-06 00:41:46
阅读次数:
536
1、系统预定义异常no_data_foundcase_not_foundcursor_already_openinvalid_number--no_data_found异常set
serveroutput on;--&NO表示从控制台输入参数DECLARE v_ename varchar2(30)....
分类:
数据库 时间:
2014-05-05 23:45:21
阅读次数:
427
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.IO;using System.Linq;usi...
分类:
其他好文 时间:
2014-05-05 23:22:07
阅读次数:
290
文件存储的用途:
A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:
移动开发 时间:
2014-05-05 13:01:21
阅读次数:
339
// BTree.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include"stdlib.h"
#include"malloc.h"
#define BT BTreeNode
#define MS 10
typedef struct BT{
char data;
struct BT *left;
struct BT *right;
}BT;
...
分类:
其他好文 时间:
2014-05-04 12:45:34
阅读次数:
365
实测机为联想A820T安卓4.1.2
一·准备工作
1·R.E管理器 (安卓)
2·获取root权限
3·十六进制编辑器(UltraEdit_SC17_PC版或者直接安卓版的编辑器也行)
二·步骤
1·用R.E管理器按路径data/nvram/APCFG/APRDEB/WIFI找到WiFi这个文件(路径可能各种手机不相同)
2·复制WiFi文件到/sdcard/下面的任意地方,...
分类:
其他好文 时间:
2014-05-04 12:44:05
阅读次数:
396
先从中国天气网得到数据('http://www.weather.com.cn/data/cityinfo/'+城市编码),每个城市都有各自的编码,如何得到用户所在地的城市编码呢?用一个网页就是专门干这个的!http://61.4.185.48:81/g/...
分类:
编程语言 时间:
2014-05-04 00:27:18
阅读次数:
494
有时候我们需要使用ajax提交去提交form的值,这样就需要使用serialize()去获取form的值,但这样获取的值如果有中文,会乱码,原因和解决方法如下:
原因:.serialize()自动调用了encodeURIComponent方法将数据编码了
解决方法:调用decodeURIComponent(XXX,true);将数据解码
如:
var data=$('#addf...
分类:
Web程序 时间:
2014-05-04 00:12:51
阅读次数:
274
之前的表单数据都是文本数据,现记录:利用MultipartResolver进行文件上传。①首先,需引入commons-fileUpload和commons-io
jar包,pom.xml文件的坐标:3.2.1.RELEASEorg.springframeworkspring-webmvc${spr....
分类:
编程语言 时间:
2014-05-03 22:39:20
阅读次数:
441
DDL :Data Definition Language (DDL) statements
are used to define the database structure or schema. Some examples:CREATE - to
create objects in the da...
分类:
数据库 时间:
2014-05-03 22:21:22
阅读次数:
410