03 2019 档案
摘要:#!/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
阅读全文
摘要:Many linear parametric models can be re-cast into an equivalent 'dual representstion' in which the predictions are also based on linear combinations o
阅读全文
摘要: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
阅读全文
摘要:#!/usr/bin/python # -*- coding: UTF-8 -*- import pandas as pd import os if __name__ == '__main__': Folder_Path = 'c:\data1' os.chdir(Folder_Path) file
阅读全文
摘要:#include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> #include <fstream> #include <sstream> void ReadDataFromFil
阅读全文
摘要:#!/usr/bin/python import pandas as pd import collections df_dict = pd.read_excel('c:\data\machines.xlsx', sheet_name=None, index_col=None, na_values=[
阅读全文
摘要:template <class T1, class T2> double Minkowski(const std::vector<T1> &inst1, const std::vector<T2> &inst2, const double &k) { if(inst1.size() != inst2
阅读全文