03 2014 档案
摘要:1. for root, dirs, filenames in os.walk('.'): ......os.walk: search the entire tree of directories
阅读全文
摘要:proc rank data=mydata groups=10 out=newdata;var x z;ranks decile_x decile_z;run;Equal Frequency Discretization (EFD)
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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)}]_...
阅读全文
摘要:sdfds\[x^2\]sdddsdf\[x=\frac{{-b}\pm\sqrt{b^2-4ac}}{2a}\]
阅读全文
摘要:
阅读全文
摘要:#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...
阅读全文
浙公网安备 33010602011771号