$.fn.tap = function(fn){ var collection = this, isTouch = "ontouchend" in document.createElement("div"), tstart = isTouch ? "touchsta...
分类:
Web程序 时间:
2015-06-15 23:27:53
阅读次数:
674
${boundItem} 如果 否则 ${fn:substring(string, start, end)}${fn:contains(singlenews.keyword,'ifcontain')}
分类:
Web程序 时间:
2015-06-15 21:57:42
阅读次数:
175
上一页 下一页 $.fn.jqueryPageFun = function(options) { var defConfig = { total: 0, //总条数 onePageCount: 0, //每页条数 currentPage: 0, //当...
分类:
Web程序 时间:
2015-06-15 14:26:23
阅读次数:
132
fn键+左方向键是HOME,fn键+右方向键是END,fn+上方向键是page up,fn+下方向键是page downctrl+a是home/page up,ctrl+e是end/page endcmd+w关闭窗口;cmd+q退出程序;cmd+shift+3捕获整改屏幕;cmd+shift+4捕获...
分类:
系统相关 时间:
2015-06-14 18:06:02
阅读次数:
152
var delayFn={ flag:+new Date().getTime(), mt:null, set:function(fn,delaytime){ var self=this, now=+new Date().getTime(), ...
分类:
其他好文 时间:
2015-06-13 16:51:08
阅读次数:
107
--生成拼音首码 CREATE function [dbo].[fn_GetPy](@str nvarchar(1000)) returns nvarchar(1000) --WITH ENCRYPTION as begin declare @intLen int declare @strRet n...
分类:
数据库 时间:
2015-06-13 14:03:36
阅读次数:
165
【混淆矩阵与Precision/Recall和ROC曲线的关系】首先我们引入混淆矩阵:
当我们对样本进行分类时,会分成正例样本(记为1)和负例样本(记为0),根据分类结果与原始分类,可以计算出相应的混淆矩阵。那么则有:Precision(pre)=true positive rate=tp/(tp+fp)Recall(sen)=tp/(tp+fn)false positive rate=fp/...
分类:
其他好文 时间:
2015-06-13 09:57:59
阅读次数:
722
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.c...
分类:
其他好文 时间:
2015-06-12 10:18:14
阅读次数:
427
4阶斐波那契序列如下:f0=f1=f2=0, f3=1,…,fi=fi-1+fi-2+fi-3+fi-4,利用容量为k=4的循环队列,构造序列的前n+1项(f0, f1 , f2 ,… fn ),要求满足fn ≤200而fn+1 >200。#include #include #define MAXS...
分类:
其他好文 时间:
2015-06-10 10:17:20
阅读次数:
153
题目描述知道斐波那契数吗?下面是它的一个定义:
F1 = 1
F2 = 2
Fn+1 = Fn+Fn-1 ,这里n>1每个正整数x 可写为不同斐波那契数的总和,因而意味着存在数k 和数 b1, b2, …, bk,使得x=b1*F1+ …+ bi*Fi+ … +bk*Fk, 其中bk = 1,bi (1≤i < k)为0或1。简言之,我们可写为: b(x) = (bk, bk-1, …, b1...
分类:
其他好文 时间:
2015-06-10 08:56:21
阅读次数:
106