上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: #优化一个乘法算子 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 阅读全文
posted @ 2018-03-16 11:03 similarface 阅读(327) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2018-03-14 18:54 similarface 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-03-12 20:31 similarface 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2017-12-25 11:00 similarface 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 在socket编程中 AF_INET 对应 IPv4 SOCK_STREAM 对应 TCP SOCK_DGRAM 对应 UDP 阅读全文
posted @ 2017-12-03 11:15 similarface 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2017-11-28 18:35 similarface 阅读(661) 评论(0) 推荐(0) 编辑
摘要: Unable to “import matplotlib.pyplot as plt” in virtualenv (PyMVPA) SimilarFacedeMacBook-Pro:PyMVPA similarface$ pip install matplotlib Collecting matp 阅读全文
posted @ 2017-11-23 10:26 similarface 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 聚类后: 阅读全文
posted @ 2017-09-05 19:24 similarface 阅读(2590) 评论(0) 推荐(0) 编辑
摘要: 测试数据展示: 阅读全文
posted @ 2017-09-02 19:22 similarface 阅读(993) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2017-06-20 11:06 similarface 阅读(383) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页