自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (2)
  • 收藏
  • 关注

原创 《机器学习实战》读后备忘

最近在看《机器学习实战》第9章,CART算法用于回归,在python2.7版本下跑,发现代码报错,所以勘误了下。下面只是回归树的部分勘误代码:,class treeNode(): def __init__(self, feat, val, right, left): featureToSplitOn = feat#切分的特征 valueOfSplit =

2016-10-28 17:40:08 948

原创 r语言备忘

1.rnorm是正态分布函数,如何验证?答:可以通过直方图来看x=rnorm(1000)hist(x)

2016-09-14 14:03:17 369

原创 python备忘

1.元组不能修改,列表可以修改,因为字典的键不能修改,所以只能用元组2.将一个数扩展成列表>>> [1]*5[1, 1, 1, 1, 1]3.对列表排序,sort原地排序,sorted在副本排序>>> x=[3,4,6,1,9,8,0]>>> x.sort()>>> x[0, 1, 3, 4, 6, 8, 9]>>> sorted(x)[0, 1, 3,

2016-08-19 14:36:17 519

原创 R语言使用备忘

1.下载包时突然发现:> install.packages("Rserve")警告: 无法在貯藏處https://cran.cnr.berkeley.edu/bin/windows/contrib/3.1中读写索引警告信息:package ‘Rserve’ is not available (as a binary package for R version 3.1.3)

2016-08-17 14:44:09 2380

原创 查找源码jar包出现指定文字的小程序

package finder;import java.io.IOException;import java.io.InputStream;import java.util.Enumeration;import java.util.List;import java.util.jar.JarEntry;import java.util.jar.JarFile;import java.u

2016-02-25 15:06:47 387

原创 nginx配置备忘

server{        listen 80;        #server_name  192.168.50.98;        server_name  test.xxx.com.cn;        location = / {#根目录跳转            #proxy_set_header  Host "192.168.50.98";          

2016-02-16 16:22:20 302

原创 《MongoDB in action》2012版 翻译 1.1

A database for the modern webIf you’ve built web applications in recent years, you’ve probably used a relational database as the primary data store, and it probably performed acceptably. Most develo

2016-01-18 15:10:29 367

原创 尝试《Java Network Programming 4ed》Chapter 8 Using Sockets翻译

Data is transmitted across the Internet in packets of finite size called datagrams. Each datagram contains a header and a payload. The header contains the address and port to which the packet is going

2016-01-18 09:35:10 1329

原创 尝试《Java Network Programming 4ed》Chapter 11 Readiness Selection翻译

Readiness SelectionFor network programming, the second part of the new I/O APIs is readiness selection, the ability to choose a socket that will not block when read or written. This is primarily of

2016-01-15 14:37:25 505

原创 尝试《Java Network Programming 4ed》Chapter 11 Channels翻译

ChannelsChannels move blocks of data into and out of buffers to and from various I/O sources such as files, sockets, datagrams, and so forth. The channel class hierarchy is rather convoluted, with m

2016-01-13 10:52:56 850

原创 尝试《Java Network Programming 4ed》的部分翻译

position        The next location in the buffer that will be read from or written to. This starts counting at 0 and has a maximum value equal to the size of the buffer. It can be set or gotten with

2016-01-08 11:51:09 707

原创 solr备忘

删除索引的Collection API(更多参见https://cwiki.apache.org/confluence/display/solr/Collections+API)http://IP:PORT/solr/admin/collections?action=DELETEREPLICA&collection=IndexName&shard=shardX&replica=core_nod

2016-01-04 15:17:53 739 1

原创 工作遇到的问题备忘

搜索系统出现过的一些问题1. 未解决http://192.168.239.128:8985/solr/pconline_cms/select?q.op=AND&useSynonym=true&fq=%2Bfilter%3A1+%2Bis_wap%3A0+AND+NOT+a_type%3Ay+AND+NOT+pathIds%3A000095064&facet=true&facet.fie

2015-12-18 17:08:00 435

原创 linux命令备忘

一个scp不能使用的解决方法(关键文件 /home/username/.ssh/known_hosts):http://blog.sina.com.cn/s/blog_81cfb9860101ccix.html

2015-11-27 17:43:03 282

原创 eclipse设置备忘

前人之述备矣http://yuanzhifei89.iteye.com/blog/974082

2015-11-02 17:20:56 589

原创 Maven配置备忘

项目结构如下图:需要添加项目本地ansj_seg-3.0.jar包,找到pom文件,在节点下添加子节点 fqueue fqueue 1.0 system ${project.basedir}/WebContent/WEB-INF/lib/fqueue-0.

2015-10-29 17:31:30 410

java 2D graphics(英文版)和源码

学习java2d的首选,初学者入门书籍,收益匪浅!附带源码,你值得拥有

2015-08-24

Apache Solr Reference Guide Covering Apache Solr 4.5

solr4.5版本官方使用文档,英文版本,从官网下载,使用solr开发企业搜索的绝佳文档,你,值得拥有。You d

2014-10-05

空空如也

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

TA关注的人

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