码迷,mamicode.com
首页 >  
搜索关键字:cores    ( 261个结果
redis实战 -- python知识散记
-- time.time() -- row.to_dict() -- json.dumps(row.to_dict()) -- time.time() 需要导入time库 -- import time -- row.to_dict() 啦啦啦 ...
分类:编程语言   时间:2018-07-03 18:19:05    阅读次数:187
决策树
决策树 Decision Tree 一.基础知识 树的基本类型: 结点(内部节点,叶结点)+有向边 决策树也叫判断树,树的结构是满足 if then 条件规则的. 树的特点:可读性性高,分类速度快 二.思想脉络 决策树=从训练数据集中归纳出一组分类规则(模型)+以损失函数为目标函数的最小化(策略)+ ...
分类:其他好文   时间:2018-06-24 16:09:35    阅读次数:198
Java 数组 之 一维数组 修改 元素
http://www.verejava.com/?id=16992660057227 / 修改scores数组索引index位置的值为value / import java.util.Scanner; public class ArrayUpdate { public static void mai ...
分类:编程语言   时间:2018-06-16 11:55:37    阅读次数:126
文件、文件夹操作(I)
遍历一个目录下的所有文件 首先我们获取用户文档目录路径 1 let manager = FileManager.default 2 let urlForDocument = manager.urls(for: .documentDirectory, in:.userDomainMask) 3 let ...
分类:其他好文   时间:2018-05-20 22:49:13    阅读次数:246
Linux查看物理CPU个数、核数、逻辑CPU个数
CPU总核数 = 物理CPU个数 * 每颗物理CPU的核数 总逻辑CPU数 = 物理CPU个数 * 每颗物理CPU的核数 * 超线程数 这些都代表什么,那就请看CPU架构 多个物理CPU,CPU通过总线进行通信,效率比较低,如下: 多核CPU,不同的核通过L2 cache进行通信,存储和外设通过总线 ...
分类:系统相关   时间:2018-05-18 18:12:19    阅读次数:319
CS 61A Project 1: The Game of Hog
Introduction In this project, you will develop a simulator and multiple strategies for the dice game Hog. You will need to use control statements and ...
分类:其他好文   时间:2018-05-04 11:45:45    阅读次数:456
leetcode-506-Relative Ranks
题目描述: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal" ...
分类:其他好文   时间:2018-04-29 22:10:51    阅读次数:200
Redis zset
zset操作1.不重复2.有序3.可以排序 添加127.0.0.1:6379> zadd apple 1 chun 2 xia 3 qiu 4 dong(integer) 4取值127.0.0.1:6379> zrange apple 0 -11) "chun"2) "xia"3) "qiu"4) ...
分类:其他好文   时间:2018-04-28 20:59:21    阅读次数:155
Linux下查看CPU型号,内存大小,硬盘空间的命令
1.1 查看CPU个数 # cat /proc/cpuinfo | grep "physical id" | uniq | wc -l 2 **uniq命令:删除重复行;wc –l命令:统计行数** 1.2 查看CPU核数 # cat /proc/cpuinfo | grep "cpu cores" ...
分类:系统相关   时间:2018-04-27 20:01:41    阅读次数:245
Linux服务器性能查看分析调优
一 linux服务器性能查看 1.1 cpu性能查看 1、查看物理cpu个数: cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l 2、查看每个物理cpu中的core个数: cat /proc/cpuinfo |grep "cpu cores" ...
分类:系统相关   时间:2018-04-26 16:58:11    阅读次数:205
261条   上一页 1 ... 13 14 15 16 17 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!