文章列表
 
2011-12-21 19:05

 
2010-08-05 11:47
Gradient Boosted Decision Trees are an additive classification or regression model consisting of an ensemble of trees, fitted to current residuals, gradients of the loss function, in a forward step-wise manner. In the traditional boosting framework, the weak learners are generally shallow decision trees consisting of a few leaf nodes. GBDT ensembles are found to work well when there are hundreds of such decision trees. Gradient Boosted Decision Trees was introduced by Jerome Friedman in 1999.
 
2010-08-05 11:42
http://www.doughellmann.com/PyMOTW/itertools/
 
2010-02-25 13:24

Motivating example

We introduce the concept of maximum entropy through a simple example. Suppose we wish to model an expert translator's decisions concerning the proper French rendering of the English word in. Our model tex2html_wrap_inline1484 of the expert's decisions assigns to each French word or ph

 
2010-02-23 20:37
import itertools, sys key_func=lambda x: x.split()[:1]; for k, g in itertools.groupby(sys.stdin, key_func): print k for i in g: print "["+i.strip()+"]";
 
2010-02-23 17:09
http://www.zenspider.com/Languages/Ruby/QuickRef.html
 
2010-02-23 11:43
使用set命令能设置各种shell选项或列出shell变量.单个选项设置常用的特性.

在某些选项之后-o参数将特别特性打开.在某些选项之后使用+o参数将关闭某些特性,

不带所有参数的set命令将显示shell的全部变量.除非遇见非法的选项,否则set总是返回ture.

当BASH shell被调用时,能列出全部的选项.当前的选项集列在$-中.
在option参数被处理后,其他的参数被赋值到位置参数中($1,$2,...,$n)

set [--abefhkmnptuvxldCHP] [-o option name] [arguments ...]
选项 说明
 
2010-02-20 15:07

1. capitalize

 
2010-02-20 15:01
说明:
each——连续访问集合的所有元素
collect—-从集合中获得各个元素传递给block,block返回的结果生成新的集合。
map——-同collect。
inject——遍历集合中的各个元素,将各个元素累积成返回一个值。

例子:
  1. def debug
 
2010-02-15 20:52
Python 主函数传参数 import sys print len(sys.argv) print type(sys.argv) print str(sys.argv) for a in range(1, len(sys.argv)): print sys.argv[a] 参数为 : sys.argv 和c++的差不多。注意文件名是第一个参数 xx.py
 
2010-02-15 18:05
set hlsearch
 
2010-02-09 21:43
http://www.ibm.com/developerworks/aix/library/au-gnuplot/
 
2010-02-09 14:07

cygwin粘贴复制操作 收藏

       为方便大家学习cygwin,整理一下网上乱起八糟的东东,提高一下大家用cygwin的热情。

默认安装cygwin,通过cygwin.bat脚本启动是不支持直接粘贴复制的,这样会带来很多不便。下面是本人实战:

      基本设置

 
2010-02-09 9:45
http://www.aldenta.com/2006/09/15/plugin-bookmark-a-page-in-your-pdf/

With the long, yet wonderful, books in PDF format these days (Agile Web Development with Rails by Dave Thomas and David Heinemeier Hansson with Leon Breedt, Mike Clark,

 
2010-02-08 16:29
This is an example of how to construct and search a kd-tree in Python with NumPy. kd-trees are e.g. used to search for neighbouring data points in multidimensional space. Searching the kd-tree for the nearest neighbour of all n points has O(n log n) complexity with respect to sample size.

http://www.scipy.org/Coo
 
   
 
 
文章分类
 
   
 
文章存档
 
     
 
最新文章评论
  

有点小可惜,你是翻译了一篇文章,但是还没翻到我想看的就结束了。
 

[表情]
 

good!!!
 

不错哈 貌似很有用
 

写的很好
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu