// 学校演讲比赛.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include "pch.h" #include #include "string" #include "vector" #include "algorithm" #include "functio... ...
分类:
其他好文 时间:
2019-03-30 18:36:45
阅读次数:
183
使用CentOS7.x使用习惯了后用top命令,然后按1就可以查看相关的cpu核心数等相关信息 相关概念: 物理CPU:实际Server中插槽上的CPU个数。 物理cpu数量:可以数不重复的 physical id 有几个。 逻辑CPU: Linux用户对 /proc/cpuinfo 这个文件肯定不 ...
分类:
其他好文 时间:
2019-03-18 11:57:39
阅读次数:
246
Thread is for execution Kernel level thread, physical parallelism Cores Divide work amount of physical cores / CPU Load balancing Data Splitting Which ...
分类:
其他好文 时间:
2019-03-10 09:54:23
阅读次数:
186
Basic CPU / Mem / Disk Info 1. CPU Cores 物理 CPU 的核数 cat /proc/cpuinfo| grep "cpu cores"| uniq type:SinglestatUnit: shortmetrics: count(count(node_cpu_ ...
分类:
其他好文 时间:
2019-03-05 21:12:59
阅读次数:
450
In the mid-'90s, the CDC and Kaiser Permanente discovered an exposure that dramatically increased the risk for seven out of 10 of the leading causes o... ...
分类:
其他好文 时间:
2019-02-24 10:24:54
阅读次数:
118
cat /proc/cpuinfo中的信息processor 逻辑处理器的id。physical id 物理封装的处理器的id。core id 每个核心的id。cpu cores 位于相同物理封装的处理器中的内核数量。siblings 位于相同物理封装的处理器中的逻辑处理器的数量。1 查看物理CPU ...
分类:
系统相关 时间:
2019-02-01 11:24:02
阅读次数:
220
数据集拆分 交叉验证 网格搜索 通常情况下,有很多参数是需要手动指定的(如k-近邻算法中的K值), 这种叫超参数。但是手动过程繁杂,所以需要对模型预设几种超参数组 合。每组超参数都采用交叉验证来进行评估。最后选出最优参数组合建 立模型。 精确率(Precision)与召回率(Recall) ...
分类:
其他好文 时间:
2019-01-29 18:31:07
阅读次数:
231
Memcached Memcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提高动态、数据库驱动网站的速度。Memcached基于一个存储键/值对的hashmap。其守护进程(daemon )是用C写的,但 ...
分类:
数据库 时间:
2019-01-23 22:09:51
阅读次数:
218
Redis介绍 Redis是什么 redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string、list、set、zset(sorted set)和hash。这些数据类型都支持push/pop、add/remove、取交集、并集和差集及其 ...
分类:
其他好文 时间:
2019-01-23 21:41:28
阅读次数:
226
1.GridSeach(RandomRegressor(), param_grid, cv=3) GridSearch第一个参数是算法本身, 第二个参数是传入的参数组合, cv表示的是交叉验证的次数 GridSearch 对给定的参数进行两两的组合搜索,比如参数为[1, 2, 3], [1, 2, ...
分类:
其他好文 时间:
2019-01-17 10:53:39
阅读次数:
1914