摘要:
#include <stdio.h>#include <stdlib.h>#include <arpa/inet.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/time.h>#include <netinet/in.h>#i 阅读全文
摘要:
我们在一个短整数变量中存放2字节的值0x0102,然后查看它的 两个连续字节c[0]和c[1],以此确定字节序。 #include <unistd.h>#include <stdio.h> int main() { union { short s; char c[sizeof(short)]; } 阅读全文
摘要:
#include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/wait.h> #include <s 阅读全文
摘要:
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import paramiko import os, stat import sys import operator as op from string import Template def ssh_co 阅读全文
摘要:
#include <iostream>#include <vector>#include <cmath>#include <numeric> template <class T>double VectorCosine(const std::vector<T> &In1, const std::vec 阅读全文
摘要:
We can estimate the weight values for our training data using stochastic gradient descent. Stochastic gradient descent requires two parameters: Learni 阅读全文
摘要:
#include <iostream>#include <string>#include <fstream>#include <sstream>#include <vector>#include <cmath>template <typename DataType>double sigmoid(Da 阅读全文
摘要:
At each step the weight vector is moved in the direction of the greatest rate of decrease of the error function, and so this approach is known as grad 阅读全文
摘要:
We turn next to the task of finding a weight vector w which minimizes the chosen function E(w). Because there is clearly no hope of finding an anlytic 阅读全文
摘要:
##########mianmi.sh############ #!/usr/bin/expect set ip [lindex $argv 0] set password [lindex $argv 1] spawn ssh -o ConnectTimeout=5 -l root ${ip} ex 阅读全文