原文地址:http://blog.csdn.net/taigw/article/details/194072972006年的ICDM(the IEEE International Conference on Data Mining) 上,评选出了数据挖掘领域的十大算法,分别是1,C4.5 C4.5是...
分类:
编程语言 时间:
2014-12-10 10:33:12
阅读次数:
236
1.缓冲区不定字节读取 byte[] data = new byte[serialPort1.BytesToRead]; //定义缓冲区,因为串口事件触发时有可能收到不止一个字节 serialPort1.Read(data, 0, data.Length); ...
添加引用using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;using System;using System.Collections.Generic;using System.Data;using System.IO;using System.Tex...
分类:
其他好文 时间:
2014-12-10 09:13:46
阅读次数:
136
Learn how to import data into your MongoDB and then use Express to serve a simple Node.js API.Import data into MongoDB:For exmaple, you have an data.j...
分类:
数据库 时间:
2014-12-10 07:03:17
阅读次数:
227
桥接模式(bridge结构模式)c#简单例子
在前面的玩家中每增加一个行为,就必须在每个玩家中都增加,通过桥接模式将行为提取出来了,减少变化
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using Sys...
主要内容:链表头插法和尾差法
#include
//typedef int data;
typedef struct node
{
char data;
struct node* next;
}linklist;
/* method 1 insert node as first element */
linklist* CreateList1()
{
char ch;
linkl...
分类:
编程语言 时间:
2014-12-10 00:33:45
阅读次数:
224
实际上那么Map也就是模拟的ThreadLocal
每一个线程调用全局的ThreadLocal对象的set方法,就相当于往其内部的map记录新的键值对,键是Thread.current,值是data
线程结束后,可以选择调用ThreadLocal的clear()方法,释放内存,当某一个线程死掉后,可以用remove()移走
相关的变量,但是问题是,如何监听得知某个线程即将死亡?...
分类:
编程语言 时间:
2014-12-10 00:33:27
阅读次数:
196
一、spring-data-mongodb Spring Data是Spring专门用来数据处理的一个子项目,Spring Data除了spring-data-mongodb之外还包括spring-data-jp、spring-data-redis等项目。spring-data-mongodb就是....
分类:
数据库 时间:
2014-12-09 23:02:35
阅读次数:
399
接上文,直接上图INTRODUCTIONMapReduce机制PageRankDijkstra's算法消息机制Data Graph完结
分类:
其他好文 时间:
2014-12-09 21:26:47
阅读次数:
194
本文是对《IPython Interactive Computing and Visualization Cookbook》一书中第七章【Introduction to statistical data analysis in Python – frequentist and Bayesian me...
分类:
其他好文 时间:
2014-12-09 21:08:18
阅读次数:
307