Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t ...
学习曲线函数: from sklearn.learning_curve import learning_curve 调用格式: learning_curve(estimator, X, y, train_sizes=array([0.1, 0.325, 0.55, 0.775, 1. ]), cv= ...
分类:
其他好文 时间:
2018-01-12 14:19:37
阅读次数:
361
左联查询 select * from a left join b on a.id=b.id; 右联查询 select * from a right join b on a.id=b.id; 内联查询 select a.name,b.class from a, b where c.id=b.id; o ...
分类:
数据库 时间:
2018-01-09 20:30:14
阅读次数:
630
其实完全版的管理,在web页面上就有。 同时,在官网文档上,也有:https://lucene.apache.org/solr/guide/6_6/coreadmin-api.html#CoreAdminAPI-Input.3 记录一下自己常用到的,不定期更新吧。 admin/cores?actio ...
分类:
其他好文 时间:
2017-12-29 10:16:23
阅读次数:
155
CPU总核数 = 物理CPU个数 * 每颗物理CPU的核数 总逻辑CPU数 = 物理CPU个数 * 每颗物理CPU的核数 * 超线程数 这些都代表什么,那就请看CPU架构 多个物理CPU,CPU通过总线进行通信,效率比较低,如下: 多核CPU,不同的核通过L2 cache进行通信,存储和外设通过总线 ...
分类:
系统相关 时间:
2017-12-25 19:29:50
阅读次数:
447
一 Redis介绍 Redis和Memcached类似,也属于key-value nosql 数据库 Redis官网redis.io, 当前最新稳定版4.0.1 和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(so ...
分类:
数据库 时间:
2017-11-12 23:00:44
阅读次数:
304
Suzhou Adventure Suzhou Adventure 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Little Hi is taking an adventure in Suzhou now. There are N beautiful village ...
分类:
其他好文 时间:
2017-11-12 12:26:11
阅读次数:
161
~/.bashrc export SPARK_HOME=/usr/local/spark export PATH=$PATH:$SPARK_HOME/bin /usr/local/spark/conf/log4j.properties /usr/local/spark/conf/spark-env. ...
分类:
其他好文 时间:
2017-10-31 15:26:21
阅读次数:
167
Reference: http://www.cnblogs.com/emanlee/p/3587571.html # 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数 # 查看物理CPU个数cat /proc/cpu ...
分类:
系统相关 时间:
2017-10-09 22:31:47
阅读次数:
166
礼悟: 好好学习多思考,尊师重道存感恩。叶见寻根三返一,活水清源藏于零。 虚怀若谷良心主,皓月当空自在王。愿给最苦行无悔,诚劝且行且珍惜。 被解析类的代码: 演示类: 结果: Java优秀,值得学习。学习资源:itcast和itheima视频库。如果您有公开的资源,可以分享给我的话,用您的资源学习也 ...
分类:
编程语言 时间:
2017-10-08 16:10:06
阅读次数:
235