摘要:
#优化一个乘法算子 10.4 * 5.0 + 2.88= 54.8814.912 * 5.0 + 3.7824= 78.342417.0778 * 5.0 + 4.21555= 89.604318.1173 * 5.0 + 4.42347= 95.010118.6163 * 5.0 + 4.5232 阅读全文
摘要:
#coding:utf-8 from scipy.stats import binom import matplotlib.pyplot as plt import numpy as np #样本数目 n = 200 #发生的概率 p = 0.01 #发生的次数 k = np.arange(0,15) binomial = binom.pmf(k, n, p) plt... 阅读全文
摘要:
LOAD CSV WITH HEADERS FROM 'file:/test.csv' AS linemerge(p:User {barcode:line.barcode})on match set p.birthday=toInteger(line.birthday) return p.birth 阅读全文
摘要:
#coding:utf-8 import os import numpy as np import pandas as pd from sklearn import datasets from sklearn import preprocessing from sklearn import neighbors from sklearn.discriminant_analysis import L... 阅读全文
摘要:
在socket编程中 AF_INET 对应 IPv4 SOCK_STREAM 对应 TCP SOCK_DGRAM 对应 UDP 阅读全文
摘要:
#coding:utf-8 import matplotlib.pyplot as plt import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.svm import SVC from sklearn.gaussian_process import GaussianProcessCl... 阅读全文
摘要:
Unable to “import matplotlib.pyplot as plt” in virtualenv (PyMVPA) SimilarFacedeMacBook-Pro:PyMVPA similarface$ pip install matplotlib Collecting matp 阅读全文
摘要:
测试数据展示: 阅读全文
摘要:
#coding:utf-8 __author__ = 'similarface' from multiprocessing import Process import happybase import os import re import hashlib import multiprocessing from multiprocessing import Queue basedir="/tmp... 阅读全文