上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
摘要: #include <iostream> #include <vector> #include <cstddef> #include <string> #include <sstream> #include <fstream> #include <algorithm> #include <cmath> 阅读全文
posted @ 2019-04-25 10:39 东宫得臣 阅读(139) 评论(0) 推荐(0) 编辑
摘要: template <class T> double VectorMedian(std::vector<T> &In) { std::sort(In.begin(), In.end()); if(In.size() % 2 == 0) { return 0.5*(In.at(In.size()/2)+ 阅读全文
posted @ 2019-04-10 20:08 东宫得臣 阅读(143) 评论(0) 推荐(0) 编辑
摘要: { if(NF==1 && $0~/192.168/) host_name = $0 for(i=1;i<NF;++i) { if($i~/192.168/) { split($i, a, "=") printf("%s, %s\n", host_name, a[2]) } } } 原始数据: 19 阅读全文
posted @ 2019-04-10 15:57 东宫得臣 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-01 09:30 东宫得臣 阅读(219) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/ksh touch hostinfo$(date +%Y%m%d).csv filename=hostinfo$(date +%Y%m%d).csv >${filename} for ip in $(cat iplist); do SYSTEM=`ssh -q ${ip} un 阅读全文
posted @ 2019-03-31 19:30 东宫得臣 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Many linear parametric models can be re-cast into an equivalent 'dual representstion' in which the predictions are also based on linear combinations o 阅读全文
posted @ 2019-03-31 17:17 东宫得臣 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Newton's method is primarily a method for finding the zeros of a function, say f(w), that is, a method for finding solutions to the equation f(w)=0. T 阅读全文
posted @ 2019-03-31 16:23 东宫得臣 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-28 06:56 东宫得臣 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-28 01:05 东宫得臣 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- import pandas as pd import os if __name__ == '__main__': Folder_Path = 'c:\data1' os.chdir(Folder_Path) file 阅读全文
posted @ 2019-03-21 11:36 东宫得臣 阅读(1062) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页