03 2014 档案

摘要:1. for root, dirs, filenames in os.walk('.'): ......os.walk: search the entire tree of directories 阅读全文
posted @ 2014-03-29 19:06 yjjsdu 阅读(150) 评论(0) 推荐(0)
摘要:proc rank data=mydata groups=10 out=newdata;var x z;ranks decile_x decile_z;run;Equal Frequency Discretization (EFD) 阅读全文
posted @ 2014-03-26 15:52 yjjsdu 阅读(248) 评论(0) 推荐(0)
摘要:import os, glob,sysdirname= r'C:\Python33\Lib' if len(sys.argv)==1 else sys.argv[1]allsize=[]allpy=glob.glob(dirname +os.sep+'*.py')for filename in al... 阅读全文
posted @ 2014-03-23 23:48 yjjsdu 阅读(139) 评论(0) 推荐(0)
摘要:Forking isbased on the notion of copying programs: when a program calls the fork routine, theoperating system makes a new copy of that program and its... 阅读全文
posted @ 2014-03-23 23:34 yjjsdu 阅读(146) 评论(0) 推荐(0)
摘要:Class 2 Gradient DescentFor \[n\times n\] matrix A, B, tr(AB)=trr(BA) tr(ABC)=tr(CAB)=tr(BCA) tr(A)=tr($A^T$)tr():representing the trace of matrix, equal to the sum of diagonal elements of matrixfor \[A\in R^{m*n}, f(A) \in R^1:\]$(\bigtriangledown)_A f(x)=[\frac{\partial f(A)}{\partial A_(ij)}]_... 阅读全文
posted @ 2014-03-09 08:44 yjjsdu 阅读(540) 评论(0) 推荐(0)
摘要:sdfds\[x^2\]sdddsdf\[x=\frac{{-b}\pm\sqrt{b^2-4ac}}{2a}\] 阅读全文
posted @ 2014-03-08 23:08 yjjsdu 阅读(136) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-03-02 14:56 yjjsdu 阅读(135) 评论(0) 推荐(0)
摘要:#whereami.pyimport os, sysprint('my os.getcwd =>', os.getcwd())print('my sys.path =>', sys.path) # show the first 6 import paths, no brace after sys.p... 阅读全文
posted @ 2014-03-02 13:08 yjjsdu 阅读(198) 评论(0) 推荐(0)