上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 273 下一页
摘要: install_dir=/usr/local/anaconda3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # script dir bash $DIR/Anaconda3-5.0.1-Linux-x86_64.sh -b -p $install_dir $install_dir/bin/conda install -... 阅读全文
posted @ 2018-03-22 15:00 bonelee 阅读(932) 评论(0) 推荐(0)
摘要: localhost:~ # easy_install uncompyle6-3.0.1-py3.6.eggProcessing uncompyle6-3.0.1-py3.6.eggCopying uncompyle6-3.0.1-py3.6.egg to /root/anaconda3/lib/py 阅读全文
posted @ 2018-03-22 09:55 bonelee 阅读(487) 评论(0) 推荐(0)
摘要: Python工程的编译、合并、打包、发布 from:https://my.oschina.net/bfbd/blog/864310 from:https://my.oschina.net/bfbd/blog/864310 from:https://my.oschina.net/bfbd/blog/8 阅读全文
posted @ 2018-03-21 20:25 bonelee 阅读(12089) 评论(2) 推荐(2)
摘要: 代码如下: 结果: ('Terminating training at the end of epoch', 175)Training Step: 309936 | total loss: 0.00695 | time: 4.371s| Adam | epoch: 176 | loss: 0.006 阅读全文
posted @ 2018-03-21 16:14 bonelee 阅读(1223) 评论(0) 推荐(0)
摘要: pandas 绘图 结果: Index(['label', 'flow_cnt', 'len(srcip_arr)', 'len(dstip_arr)', 'subdomain_num', 'uniq_subdomain_ratio', 'np.average(dns_request_len_arr 阅读全文
posted @ 2018-03-21 16:07 bonelee 阅读(1966) 评论(0) 推荐(0)
摘要: We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, 阅读全文
posted @ 2018-03-20 23:19 bonelee 阅读(408) 评论(0) 推荐(0)
摘要: We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). N 阅读全文
posted @ 2018-03-20 22:25 bonelee 阅读(202) 评论(0) 推荐(0)
摘要: You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep 阅读全文
posted @ 2018-03-20 22:07 bonelee 阅读(145) 评论(0) 推荐(0)
摘要: from:http://blog.csdn.net/m0_38061927/article/details/77198990 官方文档中给出的用法是 sklearn.metrics.confusion_matrix(y_true, y_pred, labels=None, sample_weight 阅读全文
posted @ 2018-03-20 16:37 bonelee 阅读(8256) 评论(0) 推荐(0)
摘要: >>> rdd = sc.parallelize([("bone", 231), ("bone", 21213), ("jack",1)]) >>> rdd.groupByKey().map(lambda x: sum(x[1])).collect()[1, 21444]>>> rdd.groupB 阅读全文
posted @ 2018-03-20 16:34 bonelee 阅读(895) 评论(0) 推荐(0)
上一页 1 ··· 166 167 168 169 170 171 172 173 174 ··· 273 下一页